Class EipAssociationState
Inherited Members
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class EipAssociationState : ResourceArgs
Constructors
View SourceEipAssociationState()
Declaration
public EipAssociationState()
Properties
View SourceAllocationId
The allocation ID. This is required for EC2-VPC.
Declaration
public Input<string> AllocationId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
AllowReassociation
Whether to allow an Elastic IP to
be re-associated. Defaults to true in VPC.
Declaration
public Input<bool> AllowReassociation { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
InstanceId
The ID of the instance. This is required for EC2-Classic. For EC2-VPC, you can specify either the instance ID or the network interface ID, but not both. The operation fails if you specify an instance ID unless exactly one network interface is attached.
Declaration
public Input<string> InstanceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NetworkInterfaceId
The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.
Declaration
public Input<string> NetworkInterfaceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PrivateIpAddress
The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
Declaration
public Input<string> PrivateIpAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PublicIp
The Elastic IP address. This is required for EC2-Classic.
Declaration
public Input<string> PublicIp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |