Skip to content
v2.274.0

EIPReference Struct ​

A reference to a EIP resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const eIPReference: interfaces_ec2.EIPReference = {
  allocationId: 'allocationId',
  publicIp: 'publicIp',
};

Properties ​

allocationIdstringallocation_idstrallocationIdStringAllocationIdstringAllocationId*stringrequired#
The AllocationId of the EIP resource.
publicIpstringpublic_ipstrpublicIpStringPublicIpstringPublicIp*stringrequired#
The PublicIp of the EIP resource.