Interface ICfnEIPAssociationProps
Properties for defining a CfnEIPAssociation
.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnEIPAssociationProps
Syntax (vb)
Public Interface ICfnEIPAssociationProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eipassociation.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnEIPAssociationProps = new CfnEIPAssociationProps {
AllocationId = "allocationId",
Eip = "eip",
InstanceId = "instanceId",
NetworkInterfaceId = "networkInterfaceId",
PrivateIpAddress = "privateIpAddress"
};
Synopsis
Properties
AllocationId | The allocation ID. |
Eip | |
InstanceId | The ID of the instance. |
NetworkInterfaceId | The ID of the network interface. |
PrivateIpAddress | The primary or secondary private IP address to associate with the Elastic IP address. |
Properties
AllocationId
The allocation ID.
virtual string AllocationId { get; }
Property Value
System.String
Remarks
Eip
virtual string Eip { get; }
Property Value
System.String
Remarks
InstanceId
The ID of the instance.
virtual string InstanceId { get; }
Property Value
System.String
Remarks
The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.
NetworkInterfaceId
The ID of the network interface.
virtual string NetworkInterfaceId { get; }
Property Value
System.String
Remarks
If the instance has more than one network interface, you must specify a network interface ID.
You can specify either the instance ID or the network interface ID, but not both.
PrivateIpAddress
The primary or secondary private IP address to associate with the Elastic IP address.
virtual string PrivateIpAddress { get; }
Property Value
System.String
Remarks
If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.