vpc_addresses
¶A collection of VpcAddress resources.A VpcAddress Collection will include all resources by default, and extreme caution should be taken when performing actions on all resources.
all
()¶Creates an iterable of all VpcAddress resources in the collection.
See also: AWS API Documentation
Request Syntax
vpc_address_iterator = instance.vpc_addresses.all()
ec2.VpcAddress
)filter
(**kwargs)¶Creates an iterable of all VpcAddress resources in the collection filtered by kwargs passed to method. A VpcAddress collection will include all resources by default if no filters are provided, and extreme caution should be taken when performing actions on all resources.
See also: AWS API Documentation
Request Syntax
vpc_address_iterator = instance.vpc_addresses.filter(
PublicIps=[
'string',
],
AllocationIds=[
'string',
],
DryRun=True|False
)
One or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
[EC2-VPC] Information about the allocation IDs.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.list(ec2.VpcAddress
)
A list of VpcAddress resources
limit
(**kwargs)¶Creates an iterable up to a specified amount of VpcAddress resources in the collection.
See also: AWS API Documentation
Request Syntax
vpc_address_iterator = instance.vpc_addresses.limit(
count=123
)
ec2.VpcAddress
)page_size
(**kwargs)¶Creates an iterable of all VpcAddress resources in the collection, but limits the number of items returned by each service call by the specified amount.
See also: AWS API Documentation
Request Syntax
vpc_address_iterator = instance.vpc_addresses.page_size(
count=123
)
ec2.VpcAddress
)