salebion.blogg.se

Ec2 copyimage
Ec2 copyimage










ec2 copyimage

allow_reassignment ( bool) – Specifies whether to allow an IP address.This parameter when also specifying private_ip_addresses. secondary_private_ip_address_count ( int) – The number of secondary IPĪddresses to assign to the network interface.Secondary IP addresses to the network interface. private_ip_addresses ( list) – Assigns the specified IP addresses as.network_interface_id ( string) – The network interface to which the IP.dry_run ( bool) – Set to True if the operation should not actually run.Īssign_private_ip_addresses ( network_interface_id=None, private_ip_addresses=None, secondary_private_ip_address_count=None, allow_reassignment=False, dry_run=False ) ¶Īssigns one or more secondary private IP addresses to a network.APIVersion = '' ¶ DefaultRegionEndpoint = '' ¶ DefaultRegionName = 'us-east-1' ¶ ResponseError ¶Īlias of 2ResponseError allocate_address ( domain=None, dry_run=False ) ¶Īllocate a new Elastic IP address and associate it with your account. Init method to create a new connection to EC2. EC2Connection ( aws_access_key_id=None, aws_secret_access_key=None, is_secure=True, host=None, port=None, proxy=None, proxy_port=None, proxy_user=None, proxy_pass=None, debug=0, https_connection_factory=None, region=None, path='/', api_version=None, security_token=None, validate_certs=True, profile_name=None ) ¶ Represents a connection to the EC2 service. endElement ( name, value, connection ) ¶ startElement ( name, attrs, connection ) ¶. Represents parameters for a block device. BlockDeviceType ( connection=None, ephemeral_name=None, no_device=False, volume_id=None, snapshot_id=None, status=None, attach_time=None, delete_on_termination=False, size=None, volume_type=None, iops=None, encrypted=None ) ¶ Reservation = n(…, block_device_map=bdm, …) Parameters:Ĭonnection ( 2Connection) – Optional connection.Īutoscale_build_list_params ( params, prefix='' ) ¶ ec2_build_list_params ( params, prefix='' ) ¶ endElement ( name, value, connection ) ¶ startElement ( name, attrs, connection ) ¶ class. Represents a collection of BlockDeviceTypes when creating ec2 instances.ĭev_sda1.size = 100 # change root volume to 100GB instead of default :see: 2Connection.release_address()ī ¶ class. :see: 2Connection.disassociate_address() endElement ( name, value, connection ) ¶ release ( dry_run=False ) ¶ :see: 2Connection.release_address() disassociate ( dry_run=False ) ¶ĭisassociate this Elastic IP address from a currently running instance. :see: 2Connection.associate_address() delete ( dry_run=False ) ¶ private_ip_address – The private IP address associated with the Elastic IP address (VPC addresses only).Īssociate ( instance_id=None, network_interface_id=None, private_ip_address=None, allow_reassociation=False, dry_run=False ) ¶Īssociate this Elastic IP address with a currently running instance.network_interface_owner_id – The owner IID (VPC addresses only).network_interface_id – The network interface (if any) that the address is associated with (VPC addresses only).association_id – The association ID for the address (VPC addresses only).allocation_id – The allocation ID for the address (VPC addresses only).domain – Indicates whether the address is a EC2 address or a VPC address (standard|vpc).instance_id – The instance the address is associated with (if any).Represents an EC2 Elastic IP Address Variables: Address ( connection=None, public_ip=None, instance_id=None ) ¶ Passed along to the EC2Connection object. Object’s constructor as keyword arguments and they will be You may pass any of the arguments accepted by the EC2Connection Get all available regions for the EC2 service. The RegionInfo object for the given region or None if

ec2 copyimage

get_region ( region_name, **kw_params ) ¶įind and return a object Region_name – The name of the region to connect to.ī2Connection or NoneĪ connection to the given region, or None if an invalid regionīoto.ec2. connect_to_region ( region_name, **kw_params ) ¶Īny additional parameters after the region_name are passed on to This module provides an interface to the Elastic Compute Cloud (EC2)












Ec2 copyimage