interface EIPReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.EC2.EIPReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsec2#EIPReference |
Java | software.amazon.awscdk.interfaces.ec2.EIPReference |
Python | aws_cdk.interfaces.aws_ec2.EIPReference |
TypeScript | aws-cdk-lib » interfaces » aws_ec2 » EIPReference |
A reference to a EIP resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_aws_ec2 } from 'aws-cdk-lib/interfaces';
const eIPReference: interfaces_aws_ec2.EIPReference = {
allocationId: 'allocationId',
publicIp: 'publicIp',
};
Properties
| Name | Type | Description |
|---|---|---|
| allocation | string | The AllocationId of the EIP resource. |
| public | string | The PublicIp of the EIP resource. |
allocationId
Type:
string
The AllocationId of the EIP resource.
publicIp
Type:
string
The PublicIp of the EIP resource.

.NET
Go
Java
Python
TypeScript