AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.ec2.EipAssociation
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
Resource schema for EC2 EIP association.
Create EipAssociation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EipAssociation(name: string, args?: EipAssociationArgs, opts?: CustomResourceOptions);
@overload
def EipAssociation(resource_name: str,
args: Optional[EipAssociationArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def EipAssociation(resource_name: str,
opts: Optional[ResourceOptions] = None,
allocation_id: Optional[str] = None,
eip: Optional[str] = None,
instance_id: Optional[str] = None,
network_interface_id: Optional[str] = None,
private_ip_address: Optional[str] = None)
func NewEipAssociation(ctx *Context, name string, args *EipAssociationArgs, opts ...ResourceOption) (*EipAssociation, error)
public EipAssociation(string name, EipAssociationArgs? args = null, CustomResourceOptions? opts = null)
public EipAssociation(String name, EipAssociationArgs args)
public EipAssociation(String name, EipAssociationArgs args, CustomResourceOptions options)
type: aws-native:ec2:EipAssociation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EipAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EipAssociationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EipAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EipAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EipAssociationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EipAssociation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The EipAssociation resource accepts the following input properties:
- Allocation
Id string - The allocation ID. This is required for EC2-VPC.
- Eip string
- The Elastic IP address to associate with the instance.
- Instance
Id string - The ID of the instance.
- Network
Interface stringId - The ID of the network interface.
- Private
Ip stringAddress - The primary or secondary private IP address to associate with the Elastic IP address.
- Allocation
Id string - The allocation ID. This is required for EC2-VPC.
- Eip string
- The Elastic IP address to associate with the instance.
- Instance
Id string - The ID of the instance.
- Network
Interface stringId - The ID of the network interface.
- Private
Ip stringAddress - The primary or secondary private IP address to associate with the Elastic IP address.
- allocation
Id String - The allocation ID. This is required for EC2-VPC.
- eip String
- The Elastic IP address to associate with the instance.
- instance
Id String - The ID of the instance.
- network
Interface StringId - The ID of the network interface.
- private
Ip StringAddress - The primary or secondary private IP address to associate with the Elastic IP address.
- allocation
Id string - The allocation ID. This is required for EC2-VPC.
- eip string
- The Elastic IP address to associate with the instance.
- instance
Id string - The ID of the instance.
- network
Interface stringId - The ID of the network interface.
- private
Ip stringAddress - The primary or secondary private IP address to associate with the Elastic IP address.
- allocation_
id str - The allocation ID. This is required for EC2-VPC.
- eip str
- The Elastic IP address to associate with the instance.
- instance_
id str - The ID of the instance.
- network_
interface_ strid - The ID of the network interface.
- private_
ip_ straddress - The primary or secondary private IP address to associate with the Elastic IP address.
- allocation
Id String - The allocation ID. This is required for EC2-VPC.
- eip String
- The Elastic IP address to associate with the instance.
- instance
Id String - The ID of the instance.
- network
Interface StringId - The ID of the network interface.
- private
Ip StringAddress - The primary or secondary private IP address to associate with the Elastic IP address.
Outputs
All input properties are implicitly available as output properties. Additionally, the EipAssociation resource produces the following output properties:
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi