ServiceResource / Sub-Resource / ClassicAddress

ClassicAddress#

EC2.ServiceResource.ClassicAddress(public_ip)#

Creates a ClassicAddress resource.:

classic_address = ec2.ClassicAddress('public_ip')
Parameters:

public_ip (string) – The ClassicAddress’s public_ip identifier. This must be set.

Return type:

EC2.ClassicAddress

Returns:

A ClassicAddress resource