EIPReference
- class aws_cdk.aws_ec2.EIPReference(*, allocation_id, public_ip)
Bases:
object
A reference to a EIP resource.
- Parameters:
allocation_id (
str
) – The AllocationId of the EIP resource.public_ip (
str
) – The PublicIp of the EIP resource.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ec2 as ec2 e_iPReference = ec2.EIPReference( allocation_id="allocationId", public_ip="publicIp" )
Attributes
- allocation_id
The AllocationId of the EIP resource.
- public_ip
The PublicIp of the EIP resource.