2026/11/29 - Amazon Elastic Compute Cloud - 31 new 52 updated api methods
Changes This release adds APIs to support Virtual Edge Network and Transit Gateway SSE connect attachment integration
Creates an allowed advertisement for a virtual edge network gateway.
An allowed advertisement specifies a CIDR block that the virtual edge network gateway is allowed to advertise, and where the CIDR block can be advertised.
Specify one of the following combinations:
IpamPoolId and exactly one of Ipv4CidrBlock or Ipv6CidrBlock, to allow a CIDR block from an IPAM pool.
Exactly one of Ipv4NetmaskLength or Ipv6NetmaskLength, without IpamPoolId or a CIDR block, to have Amazon allocate a CIDR block of that size for you.
See also: AWS API Documentation
Request Syntax
client.create_virtual_edge_network_gateway_allowed_advertisement(
VirtualEdgeNetworkGatewayId='string',
DryRun=True|False,
IpamPoolId='string',
Ipv4CidrBlock='string',
Ipv4NetmaskLength=123,
Ipv6CidrBlock='string',
Ipv6NetmaskLength=123,
Types=[
'internet'|'aws-global-network',
]
)
string
[REQUIRED]
The ID of the virtual edge network gateway.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
The ID of the IPAM pool that manages the CIDR block to advertise. If you specify IpamPoolId, you must also specify Ipv4CidrBlock or Ipv6CidrBlock.
string
The IPv4 CIDR block that the virtual edge network gateway is allowed to advertise. The CIDR block must be within a CIDR provisioned to the IPAM pool that you specify in IpamPoolId, and its prefix length must be /24 or shorter. The CIDR block must not overlap with an existing allowed advertisement from the same IPAM pool in the same Availability Zone.
integer
The netmask length of the IPv4 CIDR block for Amazon to allocate. Valid values are from 28 to 30. You can't specify Ipv4NetmaskLength with IpamPoolId or a CIDR block. When you specify a netmask length, the only supported type is internet.
string
The IPv6 CIDR block that the virtual edge network gateway is allowed to advertise. The CIDR block must be within a CIDR provisioned to the IPAM pool that you specify in IpamPoolId, and its prefix length must be /48 or shorter. The CIDR block must not overlap with an existing allowed advertisement from the same IPAM pool in the same Availability Zone.
integer
The netmask length of the IPv6 CIDR block for Amazon to allocate. Valid values are from 52 to 64. You can't specify Ipv6NetmaskLength with IpamPoolId or a CIDR block. When you specify a netmask length, the only supported type is internet.
list
The locations where the CIDR block can be advertised. internet also includes aws-global-network, so you can't specify both.
If you specify a netmask length instead of an IPAM pool and CIDR block, the only supported type is internet. The type defaults to internet if you omit this parameter. Otherwise, you must specify at least one type.
(string) --
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayAllowedAdvertisement': {
'VirtualEdgeNetworkGatewayId': 'string',
'IpamPoolId': 'string',
'Ipv4CidrBlock': 'string',
'Ipv6CidrBlock': 'string',
'OwnerId': 'string',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Types': [
'internet'|'aws-global-network',
]
}
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayAllowedAdvertisement (dict) --
Information about the allowed advertisement.
VirtualEdgeNetworkGatewayId (string) --
The ID of the virtual edge network gateway.
IpamPoolId (string) --
The ID of the IPAM pool that manages the CIDR block.
Ipv4CidrBlock (string) --
The IPv4 CIDR block that the virtual edge network gateway is allowed to advertise.
Ipv6CidrBlock (string) --
The IPv6 CIDR block that the virtual edge network gateway is allowed to advertise.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the allowed advertisement.
State (string) --
The state of the allowed advertisement.
StateReason (string) --
The reason for the current state of the allowed advertisement.
Types (list) --
The locations where the CIDR block can be advertised.
(string) --
Describes the static routes in your virtual edge network gateway route tables.
This operation returns only static routes. For more information about viewing all routes in a route table, including routes learned from route server peers, see DescribeVirtualEdgeNetworkGatewayRouteTableRib.
See also: AWS API Documentation
Request Syntax
client.describe_virtual_edge_network_gateway_routes(
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string'
)
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
ipv4-destination-cidr-block – The IPv4 destination CIDR block of the route.
ipv6-destination-cidr-block – The IPv6 destination CIDR block of the route.
mtu – The maximum transmission unit (MTU) of the route ( 1500 | 8500).
owner-id – The ID of the Amazon Web Services account that owns the route.
reachability-scope – A reachability scope of the route ( internet | aws-global-network).
route-preference – The preference used to choose between routes to the same destination, where a lower value wins.
target-type – The target type of the route ( blackhole | internet | subnet).
target.ipv4-address – The IPv4 address of a route target.
target.ipv6-address – The IPv6 address of a route target.
target.secondary-interface-id – The ID of the secondary interface of a route target.
target.secondary-subnet-id – The ID of the secondary subnet of a route target.
target.weight – The weight of a route target.
virtual-edge-network-gateway-route-table-id – The ID of the virtual edge network gateway route table.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayRoutes': [
{
'VirtualEdgeNetworkGatewayRouteTableId': 'string',
'Ipv4DestinationCidrBlock': 'string',
'Ipv6DestinationCidrBlock': 'string',
'TargetType': 'blackhole'|'internet'|'subnet',
'Targets': [
{
'SecondarySubnetId': 'string',
'SecondaryInterfaceId': 'string',
'Ipv4Address': 'string',
'Ipv6Address': 'string',
'Weight': 123
},
],
'ReachabilityScopes': [
'internet'|'aws-global-network',
],
'RoutePreference': 123,
'Mtu': 123,
'OwnerId': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayRoutes (list) --
Information about the routes.
(dict) --
Describes a static route in a virtual edge network gateway route table.
VirtualEdgeNetworkGatewayRouteTableId (string) --
The ID of the virtual edge network gateway route table.
Ipv4DestinationCidrBlock (string) --
The IPv4 CIDR block used for the destination match.
Ipv6DestinationCidrBlock (string) --
The IPv6 CIDR block used for the destination match.
TargetType (string) --
The type of target for the route, which determines where the gateway forwards matching traffic. Valid values:
blackhole – Drops matching traffic.
internet – Forwards matching traffic to the internet.
subnet – Forwards matching traffic to a secondary subnet.
Targets (list) --
The targets that the route forwards traffic to. A target is one of the following:
A blackhole, which drops the traffic.
An IP address.
A secondary subnet.
The internet.
(dict) --
Describes a target of a virtual edge network gateway route.
SecondarySubnetId (string) --
The ID of the secondary subnet.
SecondaryInterfaceId (string) --
The ID of the secondary interface.
Ipv4Address (string) --
The IPv4 address of the target.
Ipv6Address (string) --
The IPv6 address of the target.
Weight (integer) --
The weight of the target.
ReachabilityScopes (list) --
The reachability scopes of the route, which determine where the route is advertised.
(string) --
RoutePreference (integer) --
The route preference. The gateway uses the most specific route that matches a destination. When routes for the same destination conflict, the route with the lowest route preference takes precedence. The default is 1 for static routes and 100 for routes learned from route server peers.
Mtu (integer) --
The maximum transmission unit (MTU), in bytes, for the route. The MTU is 1500 for routes with the target type internet, and 8500 for other routes.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the route.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Creates one or more entries in a secondary network ACL.
Each secondary network ACL has a set of numbered ingress entries and a separate set of numbered egress entries. When determining whether a packet is allowed in or out of a secondary subnet that is associated with the secondary network ACL, we process the entries in ascending order by rule number. Each entry must have a unique combination of direction and rule number in the secondary network ACL.
See also: AWS API Documentation
Request Syntax
client.create_secondary_network_acl_entries(
DryRun=True|False,
Entries=[
{
'Action': 'allow'|'deny',
'Direction': 'ingress'|'egress',
'IcmpTypeCode': {
'Code': 123,
'Type': 123
},
'Ipv4CidrBlock': 'string',
'Ipv6CidrBlock': 'string',
'PortRange': {
'From': 123,
'To': 123
},
'Protocol': 123,
'RuleNumber': 123
},
],
SecondaryNetworkAclId='string'
)
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
[REQUIRED]
The entries to create.
(dict) --
Describes an entry to add to a secondary network ACL.
Action (string) --
The action to take on traffic that matches the entry.
Direction (string) --
The direction of traffic that the entry applies to.
IcmpTypeCode (dict) --
The ICMP type and code that the entry applies to. An ICMP type and code is required for ICMP (protocol 1) and ICMPv6 (protocol 58), and isn't accepted for any other protocol.
Code (integer) --
The ICMP code. Specify -1 for all codes for the ICMP type, or a code from 0 to 255. Code is required when you specify IcmpTypeCode.
Type (integer) --
The ICMP type. Specify -1 for all types, or a type from 0 to 255. Type is required when you specify IcmpTypeCode.
Ipv4CidrBlock (string) --
The IPv4 CIDR block that the entry matches. You must specify either Ipv4CidrBlock or Ipv6CidrBlock, but not both, and it must match the address family of the secondary network ACL.
Ipv6CidrBlock (string) --
The IPv6 CIDR block that the entry matches. You must specify either Ipv4CidrBlock or Ipv6CidrBlock, but not both, and it must match the address family of the secondary network ACL.
PortRange (dict) --
The range of ports that the entry applies to. A port range is required for TCP (protocol 6) and UDP (protocol 17), and isn't accepted for any other protocol.
From (integer) --
The first port in the range. Valid values are from 0 to 65535. The value must be less than or equal to To.
To (integer) --
The last port in the range. Valid values are from 0 to 65535.
Protocol (integer) --
The protocol number that the entry applies to. Specify -1 for all protocols, or a protocol number from 0 to 255.
RuleNumber (integer) --
The rule number of the entry. Entries are evaluated in order, starting with the lowest rule number.
Constraints: Positive integer from 1 to 32766.
string
[REQUIRED]
The ID of the secondary network ACL.
dict
Response Syntax
{
'SecondaryNetworkAclEntries': [
{
'SecondaryNetworkAclId': 'string',
'RuleNumber': 123,
'Protocol': 123,
'PortRange': {
'From': 123,
'To': 123
},
'IcmpTypeCode': {
'Code': 123,
'Type': 123
},
'Ipv4CidrBlock': 'string',
'Ipv6CidrBlock': 'string',
'Direction': 'ingress'|'egress',
'Action': 'allow'|'deny',
'OwnerId': 'string'
},
]
}
Response Structure
(dict) --
SecondaryNetworkAclEntries (list) --
Information about the entries that were created.
(dict) --
Describes an entry in a secondary network ACL.
SecondaryNetworkAclId (string) --
The ID of the secondary network ACL.
RuleNumber (integer) --
The rule number of the entry. Entries are evaluated in order, starting with the lowest rule number.
Protocol (integer) --
The protocol number that the entry applies to.
PortRange (dict) --
The range of ports that the entry applies to. For a protocol other than TCP (protocol 6) or UDP (protocol 17), from and to are both -1.
From (integer) --
The first port in the range, or -1 (all ports) for a protocol other than TCP (protocol 6) or UDP (protocol 17).
To (integer) --
The last port in the range, or -1 (all ports) for a protocol other than TCP (protocol 6) or UDP (protocol 17).
IcmpTypeCode (dict) --
The ICMP type and code that the entry applies to. Returned only for entries that specify the ICMP (protocol 1) or ICMPv6 (protocol 58) protocol.
Code (integer) --
The ICMP code. -1 indicates all codes for the ICMP type.
Type (integer) --
The ICMP type. -1 indicates all types.
Ipv4CidrBlock (string) --
The IPv4 CIDR block that the entry matches.
Ipv6CidrBlock (string) --
The IPv6 CIDR block that the entry matches.
Direction (string) --
The direction of traffic that the entry applies to.
Action (string) --
The action to take on traffic that matches the entry.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the secondary network ACL.
Describes the routing information base (RIB) of a virtual edge network gateway route table.
The RIB contains all candidate routes for the route table, including static routes and routes learned from route server peers. For each route, filtered indicates whether the route is filtered out of the forwarding information base (FIB), and filteredReason indicates why. To view only the routes that are applied to traffic, use DescribeVirtualEdgeNetworkGatewayRouteTableFib.
See also: AWS API Documentation
Request Syntax
client.describe_virtual_edge_network_gateway_route_table_rib(
VirtualEdgeNetworkGatewayRouteTableId='string',
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string'
)
string
[REQUIRED]
The ID of the virtual edge network gateway route table.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
announcement-target – The highest target to which the route is announced ( local | aws-global-network | internet).
border-scope – The border scope of the route ( region | continental | global).
filtered – Indicates whether the route is filtered out of the FIB ( true | false).
filtered-reason – The reason that the route is filtered out of the FIB ( another-route-preferred | bogon-or-martian | dampened | internal-error | invalid-prepend-value | invalid-scope-community-value | prefix-length-exceeded | prefix-limit-exceeded | prefix-not-allowed | private-prefix-requires-community | route-propagation-disabled | transit-violation).
internet-scope – The internet scope of the route ( city).
ipv4-destination-cidr-block – The IPv4 destination CIDR block of the route.
ipv6-destination-cidr-block – The IPv6 destination CIDR block of the route.
mtu – The maximum transmission unit (MTU) of the route.
origin – The origin of the route ( create-virtual-edge-network-gateway-route | route-server-peer-endpoint-1 | route-server-peer-endpoint-2).
prepend-count – The number of AS path prepends for the route.
route-preference – The preference used to choose between routes to the same destination, where a lower value wins.
status – The status of the route ( active | mismatch).
target-type – The target type of the route ( blackhole | internet | subnet).
target.ipv4-address – The IPv4 address of a route target.
target.ipv6-address – The IPv6 address of a route target.
target.secondary-interface-id – The ID of the secondary interface of a route target.
target.secondary-subnet-id – The ID of the secondary subnet of a route target.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayRoutes': [
{
'Ipv4DestinationCidrBlock': 'string',
'Ipv6DestinationCidrBlock': 'string',
'TargetType': 'blackhole'|'internet'|'subnet',
'Targets': [
{
'SecondarySubnetId': 'string',
'SecondaryInterfaceId': 'string',
'Ipv4Address': 'string',
'Ipv6Address': 'string',
'Weight': 123
},
],
'AnnouncementTarget': 'local'|'aws-global-network'|'internet',
'BorderScope': 'region'|'continental'|'global',
'InternetScope': 'city',
'PrependCount': 123,
'RoutePreference': 123,
'Origin': 'create-virtual-edge-network-gateway-route'|'route-server-peer-endpoint-1'|'route-server-peer-endpoint-2',
'Status': 'active'|'mismatch',
'AsPathLength': 123,
'Med': 123,
'LocalPref': 123,
'Mtu': 123,
'Filtered': True|False,
'FilteredReason': 'route-propagation-disabled'|'prefix-not-allowed'|'bogon-or-martian'|'prefix-length-exceeded'|'prefix-limit-exceeded'|'transit-violation'|'dampened'|'another-route-preferred'|'private-prefix-requires-community'|'invalid-prepend-value'|'invalid-scope-community-value'|'internal-error'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayRoutes (list) --
Information about the routes in the RIB.
(dict) --
Describes a route in the routing information base (RIB) of a virtual edge network gateway route table.
Ipv4DestinationCidrBlock (string) --
The IPv4 CIDR block used for the destination match.
Ipv6DestinationCidrBlock (string) --
The IPv6 CIDR block used for the destination match.
TargetType (string) --
The type of target for the route, which determines where the gateway forwards matching traffic. Valid values:
blackhole – Drops matching traffic.
internet – Forwards matching traffic to the internet.
subnet – Forwards matching traffic to a secondary subnet.
Targets (list) --
The targets that the route forwards traffic to. A target is one of the following:
A blackhole, which drops the traffic.
An IP address.
A secondary subnet.
The internet.
(dict) --
Describes a target of a virtual edge network gateway route.
SecondarySubnetId (string) --
The ID of the secondary subnet.
SecondaryInterfaceId (string) --
The ID of the secondary interface.
Ipv4Address (string) --
The IPv4 address of the target.
Ipv6Address (string) --
The IPv6 address of the target.
Weight (integer) --
The weight of the target.
AnnouncementTarget (string) --
The highest target to which the route is announced. local announces the route within the virtual edge network only. aws-global-network also announces it to the Amazon Web Services global network. internet also announces it to the internet.
BorderScope (string) --
The scope of the route announcement on the Amazon Web Services network. region announces it within the edge location's Amazon Web Services Region. continental announces it within the edge location's continent. global announces it worldwide.
InternetScope (string) --
The scope of the route announcement on the internet. city announces it to the internet from the edge location's metro only.
PrependCount (integer) --
The number of times the AS path is prepended for the route, from 1 to 3. The value is 0 for blackhole routes.
RoutePreference (integer) --
The route preference of the route.
Origin (string) --
The origin of the route. Valid values:
create-virtual-edge-network-gateway-route – A static route.
route-server-peer-endpoint-1 – A route learned from a route server peer on route server endpoint 1.
route-server-peer-endpoint-2 – A route learned from a route server peer on route server endpoint 2.
Status (string) --
The status of a route learned from a route server peer. Valid values:
active – Both route server endpoints report the same route.
mismatch – Only one route server endpoint reports the route, or the endpoints report different versions of it.
Static routes don't have a status.
AsPathLength (integer) --
The length of the BGP AS path of the route.
Med (integer) --
The BGP multi-exit discriminator (MED) of the route.
LocalPref (integer) --
The BGP local preference of the route.
Mtu (integer) --
The maximum transmission unit (MTU), in bytes, for the route.
Filtered (boolean) --
Indicates whether the route is filtered out of the forwarding information base (FIB).
FilteredReason (string) --
The reason that the route is filtered out of the FIB.
another-route-preferred – BGP best-path selection prefers another route for the same prefix (higher local preference, shorter AS path, or lower MED).
bogon-or-martian – The route is for a bogon or martian prefix (an address range that shouldn't appear on the public internet) and is announced beyond the virtual edge network. Bogon prefixes include 0.0.0.0/0, 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.2.0/24, 192.168.0.0/16, 198.51.100.0/24, 203.0.113.0/24, 240.0.0.0/4, ::/0, 2001:db8::/32, and fc00::/7.
dampened – The route is suppressed because it was repeatedly announced and withdrawn.
internal-error – The route is filtered because of an internal error.
invalid-prepend-value – The AS path prepend value is invalid. The prepend value must be between 1 and 3.
invalid-scope-community-value – The route carries a community with ASN 16509 and an unsupported function or value, or a public prefix doesn't carry an announcement community. The supported announcement communities are 16509:1:1000000, 16509:1:2100000, 16509:1:2200000, 16509:1:2300000, 16509:1:3110000, 16509:1:3210000, and 16509:1:3310000.
prefix-length-exceeded – The route is more specific than the maximum prefix length of the route filter or the maximum prefix length for its announcement target. The maximum prefix length for IPv4 is /32 for local, /28 for aws-global-network, and /24 for internet. For IPv6, the maximum prefix length is /128 for local, /64 for aws-global-network, and /48 for internet.
prefix-limit-exceeded – The secondary network has reached the maximum number of routes learned from route server peers for the announcement target.
prefix-not-allowed – The route is for a public prefix that isn't covered by an allowed advertisement of the virtual edge network gateway.
private-prefix-requires-community – The route is for a private prefix and isn't limited to the virtual edge network. Private prefixes are 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, and 100.64.0.0/10 for IPv4, and unique local address prefixes in fd00::/8 outside fd00::/16 for IPv6. A private prefix must carry the NO_EXPORT community, the blackhole community 65535:666, or the community 16509:1:1000000.
route-propagation-disabled – Route propagation is disabled for the route table association.
transit-violation – A prefix learned from Direct Connect is re-advertised beyond the virtual edge network.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Deletes a secondary network ACL. You must delete all associations for the secondary network ACL before you can delete it. You don't need to delete its entries first.
See also: AWS API Documentation
Request Syntax
client.delete_secondary_network_acl(
ClientToken='string',
DryRun=True|False,
SecondaryNetworkAclId='string'
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the secondary network ACL.
dict
Response Syntax
{
'SecondaryNetworkAcl': {
'SecondaryNetworkAclId': 'string',
'SecondaryNetworkAclArn': 'string',
'SecondaryNetworkId': 'string',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'AddressType': 'ipv4'|'ipv6',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
'ClientToken': 'string'
}
Response Structure
(dict) --
SecondaryNetworkAcl (dict) --
Information about the secondary network ACL.
SecondaryNetworkAclId (string) --
The ID of the secondary network ACL.
SecondaryNetworkAclArn (string) --
The Amazon Resource Name (ARN) of the secondary network ACL.
SecondaryNetworkId (string) --
The ID of the secondary network that contains the secondary network ACL.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the secondary network ACL.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the secondary network ACL.
AvailabilityZone (string) --
The Availability Zone of the secondary network ACL.
AddressType (string) --
The address family of the secondary network ACL.
State (string) --
The state of the secondary network ACL.
StateReason (string) --
The reason for the current state of the secondary network ACL.
Tags (list) --
The tags assigned to the secondary network ACL.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
Describes the allowed advertisements for your virtual edge network gateways.
See also: AWS API Documentation
Request Syntax
client.describe_virtual_edge_network_gateway_allowed_advertisements(
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string'
)
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
ipam-pool-id – The ID of the IPAM pool.
ipv4-cidr-block – The IPv4 CIDR block of the allowed advertisement.
ipv6-cidr-block – The IPv6 CIDR block of the allowed advertisement.
owner-id – The ID of the Amazon Web Services account that owns the allowed advertisement.
state – The state of the allowed advertisement ( create-in-progress | create-complete | create-failed | delete-in-progress | delete-complete | delete-failed).
types – A location where the CIDR block can be advertised ( internet | aws-global-network).
virtual-edge-network-gateway-id – The ID of the virtual edge network gateway.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayAllowedAdvertisements': [
{
'VirtualEdgeNetworkGatewayId': 'string',
'IpamPoolId': 'string',
'Ipv4CidrBlock': 'string',
'Ipv6CidrBlock': 'string',
'OwnerId': 'string',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Types': [
'internet'|'aws-global-network',
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayAllowedAdvertisements (list) --
Information about the allowed advertisements.
(dict) --
Describes an allowed advertisement for a virtual edge network gateway.
VirtualEdgeNetworkGatewayId (string) --
The ID of the virtual edge network gateway.
IpamPoolId (string) --
The ID of the IPAM pool that manages the CIDR block.
Ipv4CidrBlock (string) --
The IPv4 CIDR block that the virtual edge network gateway is allowed to advertise.
Ipv6CidrBlock (string) --
The IPv6 CIDR block that the virtual edge network gateway is allowed to advertise.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the allowed advertisement.
State (string) --
The state of the allowed advertisement.
StateReason (string) --
The reason for the current state of the allowed advertisement.
Types (list) --
The locations where the CIDR block can be advertised.
(string) --
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Describes one or more virtual edge network gateways.
See also: AWS API Documentation
Request Syntax
client.describe_virtual_edge_network_gateways(
VirtualEdgeNetworkGatewayIds=[
'string',
],
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string'
)
list
The IDs of the virtual edge network gateways.
(string) --
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
owner-id – The ID of the Amazon Web Services account that owns the virtual edge network gateway.
secondary-network-id – The ID of the secondary network.
state – The state of the virtual edge network gateway ( create-in-progress | create-complete | create-failed | update-in-progress | update-complete | update-failed | delete-in-progress | delete-complete | delete-failed).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
tag-key – The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
virtual-edge-network-gateway-arn – The ARN of the virtual edge network gateway.
virtual-edge-network-gateway-id – The ID of the virtual edge network gateway.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
dict
Response Syntax
{
'VirtualEdgeNetworkGateways': [
{
'VirtualEdgeNetworkGatewayId': 'string',
'VirtualEdgeNetworkGatewayArn': 'string',
'OwnerId': 'string',
'SecondaryNetworkId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkGateways (list) --
Information about the virtual edge network gateways.
(dict) --
Describes a virtual edge network gateway.
VirtualEdgeNetworkGatewayId (string) --
The ID of the virtual edge network gateway.
VirtualEdgeNetworkGatewayArn (string) --
The Amazon Resource Name (ARN) of the virtual edge network gateway.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the virtual edge network gateway.
SecondaryNetworkId (string) --
The ID of the secondary network that contains the virtual edge network gateway.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the virtual edge network gateway.
AvailabilityZone (string) --
The Availability Zone of the virtual edge network gateway.
State (string) --
The state of the virtual edge network gateway.
StateReason (string) --
The reason for the current state of the virtual edge network gateway.
Tags (list) --
The tags assigned to the virtual edge network gateway.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Describes one or more secondary network ACL associations.
See also: AWS API Documentation
Request Syntax
client.describe_secondary_network_acl_associations(
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
SecondaryNetworkAclAssociationIds=[
'string',
]
)
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
owner-id – The ID of the Amazon Web Services account that owns the association.
secondary-network-acl-association-arn – The ARN of the association.
secondary-network-acl-association-id – The ID of the association.
secondary-network-acl-id – The ID of the secondary network ACL.
secondary-subnet-id – The ID of the secondary subnet.
state – The state of the association ( create-in-progress | create-complete | create-failed | update-in-progress | update-complete | update-failed | delete-in-progress | delete-complete | delete-failed).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
tag-key – The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
list
The IDs of the secondary network ACL associations.
(string) --
dict
Response Syntax
{
'SecondaryNetworkAclAssociations': [
{
'SecondaryNetworkAclAssociationId': 'string',
'SecondaryNetworkAclAssociationArn': 'string',
'SecondaryNetworkAclId': 'string',
'SecondarySubnetId': 'string',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
SecondaryNetworkAclAssociations (list) --
Information about the secondary network ACL associations.
(dict) --
Describes an association between a secondary network ACL and a secondary subnet.
SecondaryNetworkAclAssociationId (string) --
The ID of the association.
SecondaryNetworkAclAssociationArn (string) --
The Amazon Resource Name (ARN) of the association.
SecondaryNetworkAclId (string) --
The ID of the secondary network ACL.
SecondarySubnetId (string) --
The ID of the secondary subnet.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the association.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the association.
AvailabilityZone (string) --
The Availability Zone of the association.
State (string) --
The state of the association.
StateReason (string) --
The reason for the current state of the association.
Tags (list) --
The tags assigned to the association.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Creates a virtual edge network route server peer in a secondary subnet.
A route server peer authorizes Border Gateway Protocol (BGP) sessions between a route server endpoint and your instances that run a BGP daemon in the secondary subnet.
Each secondary subnet has two route server endpoints, endpoint-1 and endpoint-2. Each route server peer connects to one endpoint, so for redundancy, create a route server peer for each endpoint with the same settings.
See also: AWS API Documentation
Request Syntax
client.create_virtual_edge_network_route_server_peer(
ClientToken='string',
AmazonSideAsn=123,
BgpOptions={
'PeerAsn': 123,
'PeerLivenessDetection': 'bgp-keepalive'|'bfd',
'BfdConfiguration': {
'Duration': 123,
'Multiplier': 123
}
},
DryRun=True|False,
Ipv4PeerAddressRange='string',
Ipv6PeerAddressRange='string',
SecondarySubnetId='string',
TagSpecifications=[
{
'ResourceType': 'capacity-reservation'|'client-vpn-endpoint'|'customer-gateway'|'carrier-gateway'|'coip-pool'|'declarative-policies-report'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fca-policy'|'fleet'|'fpga-image'|'host-reservation'|'image'|'image-usage-report'|'import-image-task'|'import-snapshot-task'|'instance'|'instance-event-window'|'internet-gateway'|'ipam'|'ipam-pool'|'ipam-scope'|'ipv4pool-ec2'|'ipv6pool-ec2'|'key-pair'|'launch-template'|'local-gateway'|'local-gateway-route-table'|'local-gateway-virtual-interface'|'local-gateway-virtual-interface-group'|'local-gateway-route-table-vpc-association'|'local-gateway-route-table-virtual-interface-group-association'|'natgateway'|'network-acl'|'network-interface'|'network-insights-analysis'|'network-insights-path'|'network-insights-access-scope'|'network-insights-access-scope-analysis'|'outpost-lag'|'placement-group'|'prefix-list'|'replace-root-volume-task'|'reserved-instances'|'route-table'|'security-group'|'security-group-rule'|'service-link-virtual-interface'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'subnet-cidr-reservation'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-connect-peer'|'transit-gateway-multicast-domain'|'transit-gateway-policy-table'|'transit-gateway-metering-policy'|'transit-gateway-route-table'|'transit-gateway-route-table-announcement'|'volume'|'vpc'|'vpc-endpoint'|'vpc-endpoint-connection'|'vpc-endpoint-service'|'vpc-endpoint-service-permission'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log'|'capacity-reservation-fleet'|'traffic-mirror-filter-rule'|'vpc-endpoint-connection-device-type'|'verified-access-instance'|'verified-access-group'|'verified-access-endpoint'|'verified-access-policy'|'verified-access-trust-provider'|'vpn-connection-device-type'|'vpc-block-public-access-exclusion'|'vpc-encryption-control'|'route-server'|'route-server-endpoint'|'route-server-peer'|'ipam-resource-discovery'|'ipam-resource-discovery-association'|'instance-connect-endpoint'|'verified-access-endpoint-target'|'ipam-external-resource-verification-token'|'capacity-block'|'mac-modification-task'|'ipam-prefix-list-resolver'|'ipam-policy'|'ipam-prefix-list-resolver-target'|'ipam-internet-registry-association'|'secondary-interface'|'secondary-network'|'secondary-subnet'|'capacity-manager-data-export'|'vpn-concentrator'|'ipam-pool-allocation'|'capacity-reservation-cancellation-quote'|'application-status-check'|'capacity-reservation-modification-quote'|'secondary-network-acl'|'secondary-network-acl-association'|'metric-category'|'virtual-edge-network-gateway'|'virtual-edge-network-gateway-route-table'|'virtual-edge-network-gateway-route-table-association'|'virtual-edge-network-route-server-peer',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
RouteServerEndpoint='endpoint-1'|'endpoint-2'
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
integer
[REQUIRED]
The autonomous system number (ASN) for the Amazon side of the BGP session. The ASN must be a private ASN in the range 64512-65534 or 4200000000-4294967294.
dict
[REQUIRED]
The BGP options for the route server peer.
PeerAsn (integer) -- [REQUIRED]
The autonomous system number (ASN) of the peer. The ASN must be a private ASN in the range 64512-65534 or 4200000000-4294967294.
PeerLivenessDetection (string) --
The method used to detect whether the peer is available. The default is bgp-keepalive.
BfdConfiguration (dict) --
The BFD configuration for the peer. You can specify this only when PeerLivenessDetection is bfd.
Duration (integer) --
The minimum interval, in milliseconds, between BFD control packets. Valid values are from 100 to 30000. The default is 100.
Multiplier (integer) --
The number of consecutive BFD control packets that can be missed before the peer is considered unavailable. Valid values are from 3 to 10. The default is 3.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
The IPv4 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint. Specify Ipv4PeerAddressRange for an IPv4 secondary subnet or Ipv6PeerAddressRange for an IPv6 secondary subnet, but not both. The range must be within the CIDR block of the secondary subnet and must not include the subnet's reserved IP addresses. It must not overlap the peer address range of another route server peer on the same route server endpoint. Route server peers on different endpoints can use the same range, which is the expected configuration for a redundant pair.
string
The IPv6 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint. Specify Ipv4PeerAddressRange for an IPv4 secondary subnet or Ipv6PeerAddressRange for an IPv6 secondary subnet, but not both. The range must be within the CIDR block of the secondary subnet and must not include the subnet's reserved IP addresses. It must not overlap the peer address range of another route server peer on the same route server endpoint. Route server peers on different endpoints can use the same range, which is the expected configuration for a redundant pair.
string
[REQUIRED]
The ID of the secondary subnet in which to create the route server peer.
list
The tags to assign to the route server peer.
(dict) --
The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.
ResourceType (string) --
The type of resource to tag on creation.
Tags (list) --
The tags to apply to the resource.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
string
The route server endpoint in the secondary subnet to peer with. Each route server peer connects to one endpoint, and each endpoint is an independent BGP speaker.
For redundancy, create a route server peer for each endpoint, with the same peer address range, ASNs, and BGP options. If you create a peer for only one endpoint, BGP sessions to the other endpoint don't come up and you have no route server redundancy.
dict
Response Syntax
{
'VirtualEdgeNetworkRouteServerPeer': {
'VirtualEdgeNetworkRouteServerPeerId': 'string',
'VirtualEdgeNetworkRouteServerPeerArn': 'string',
'SecondarySubnetId': 'string',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'AmazonSideAsn': 123,
'Ipv4PeerAddressRange': 'string',
'Ipv6PeerAddressRange': 'string',
'BgpOptions': {
'PeerAsn': 123,
'PeerLivenessDetection': 'bgp-keepalive'|'bfd',
'BfdConfiguration': {
'Duration': 123,
'Multiplier': 123
}
},
'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'RouteServerEndpoint': 'endpoint-1'|'endpoint-2'
},
'ClientToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkRouteServerPeer (dict) --
Information about the route server peer.
VirtualEdgeNetworkRouteServerPeerId (string) --
The ID of the route server peer.
VirtualEdgeNetworkRouteServerPeerArn (string) --
The Amazon Resource Name (ARN) of the route server peer.
SecondarySubnetId (string) --
The ID of the secondary subnet.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the route server peer.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the route server peer.
AvailabilityZone (string) --
The Availability Zone of the route server peer.
AmazonSideAsn (integer) --
The autonomous system number (ASN) for the Amazon side of the BGP session.
Ipv4PeerAddressRange (string) --
The IPv4 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.
Ipv6PeerAddressRange (string) --
The IPv6 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.
BgpOptions (dict) --
The BGP options for the route server peer.
PeerAsn (integer) --
The autonomous system number (ASN) of the peer.
PeerLivenessDetection (string) --
The method used to detect whether the peer is available.
BfdConfiguration (dict) --
The BFD configuration for the peer.
Duration (integer) --
The minimum interval, in milliseconds, between BFD control packets.
Multiplier (integer) --
The number of consecutive BFD control packets that can be missed before the peer is considered unavailable.
State (string) --
The state of the route server peer.
StateReason (string) --
The reason for the current state of the route server peer.
Tags (list) --
The tags assigned to the route server peer.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
RouteServerEndpoint (string) --
The route server endpoint that the route server peer connects to.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
Deletes an allowed advertisement from a virtual edge network gateway.
An allowed advertisement is identified by the ID of the virtual edge network gateway and its CIDR block.
An allowed advertisement must not be used by a secondary subnet, and must not cover an advertised route, prior to deletion.
See also: AWS API Documentation
Request Syntax
client.delete_virtual_edge_network_gateway_allowed_advertisement(
VirtualEdgeNetworkGatewayId='string',
DryRun=True|False,
Ipv4CidrBlock='string',
Ipv6CidrBlock='string'
)
string
[REQUIRED]
The ID of the virtual edge network gateway.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
The IPv4 CIDR block of the allowed advertisement. You must specify either Ipv4CidrBlock or Ipv6CidrBlock, but not both.
string
The IPv6 CIDR block of the allowed advertisement. You must specify either Ipv4CidrBlock or Ipv6CidrBlock, but not both.
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayAllowedAdvertisement': {
'VirtualEdgeNetworkGatewayId': 'string',
'IpamPoolId': 'string',
'Ipv4CidrBlock': 'string',
'Ipv6CidrBlock': 'string',
'OwnerId': 'string',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Types': [
'internet'|'aws-global-network',
]
}
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayAllowedAdvertisement (dict) --
Information about the allowed advertisement.
VirtualEdgeNetworkGatewayId (string) --
The ID of the virtual edge network gateway.
IpamPoolId (string) --
The ID of the IPAM pool that manages the CIDR block.
Ipv4CidrBlock (string) --
The IPv4 CIDR block that the virtual edge network gateway is allowed to advertise.
Ipv6CidrBlock (string) --
The IPv6 CIDR block that the virtual edge network gateway is allowed to advertise.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the allowed advertisement.
State (string) --
The state of the allowed advertisement.
StateReason (string) --
The reason for the current state of the allowed advertisement.
Types (list) --
The locations where the CIDR block can be advertised.
(string) --
Describes the entries in your secondary network ACLs.
See also: AWS API Documentation
Request Syntax
client.describe_secondary_network_acl_entries(
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string'
)
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
action – The action for the entry ( allow | deny).
direction – The direction of traffic for the entry ( ingress | egress).
ipv4-cidr-block – The IPv4 CIDR block of the entry.
ipv6-cidr-block – The IPv6 CIDR block of the entry.
owner-id – The ID of the Amazon Web Services account that owns the secondary network ACL.
port-range.from – The first port in the port range of the entry.
port-range.to – The last port in the port range of the entry.
protocol – The protocol number of the entry.
rule-number – The rule number of the entry.
secondary-network-acl-id – The ID of the secondary network ACL.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
dict
Response Syntax
{
'SecondaryNetworkAclEntries': [
{
'SecondaryNetworkAclId': 'string',
'RuleNumber': 123,
'Protocol': 123,
'PortRange': {
'From': 123,
'To': 123
},
'IcmpTypeCode': {
'Code': 123,
'Type': 123
},
'Ipv4CidrBlock': 'string',
'Ipv6CidrBlock': 'string',
'Direction': 'ingress'|'egress',
'Action': 'allow'|'deny',
'OwnerId': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
SecondaryNetworkAclEntries (list) --
Information about the secondary network ACL entries.
(dict) --
Describes an entry in a secondary network ACL.
SecondaryNetworkAclId (string) --
The ID of the secondary network ACL.
RuleNumber (integer) --
The rule number of the entry. Entries are evaluated in order, starting with the lowest rule number.
Protocol (integer) --
The protocol number that the entry applies to.
PortRange (dict) --
The range of ports that the entry applies to. For a protocol other than TCP (protocol 6) or UDP (protocol 17), from and to are both -1.
From (integer) --
The first port in the range, or -1 (all ports) for a protocol other than TCP (protocol 6) or UDP (protocol 17).
To (integer) --
The last port in the range, or -1 (all ports) for a protocol other than TCP (protocol 6) or UDP (protocol 17).
IcmpTypeCode (dict) --
The ICMP type and code that the entry applies to. Returned only for entries that specify the ICMP (protocol 1) or ICMPv6 (protocol 58) protocol.
Code (integer) --
The ICMP code. -1 indicates all codes for the ICMP type.
Type (integer) --
The ICMP type. -1 indicates all types.
Ipv4CidrBlock (string) --
The IPv4 CIDR block that the entry matches.
Ipv6CidrBlock (string) --
The IPv6 CIDR block that the entry matches.
Direction (string) --
The direction of traffic that the entry applies to.
Action (string) --
The action to take on traffic that matches the entry.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the secondary network ACL.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Deletes a virtual edge network gateway route table. A route table must not have any route table associations prior to deletion. You don't need to delete the routes in the route table first.
See also: AWS API Documentation
Request Syntax
client.delete_virtual_edge_network_gateway_route_table(
ClientToken='string',
VirtualEdgeNetworkGatewayRouteTableId='string',
DryRun=True|False
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
string
[REQUIRED]
The ID of the virtual edge network gateway route table.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayRouteTable': {
'VirtualEdgeNetworkGatewayRouteTableId': 'string',
'VirtualEdgeNetworkGatewayRouteTableArn': 'string',
'VirtualEdgeNetworkGatewayId': 'string',
'OwnerId': 'string',
'AddressType': 'ipv4'|'ipv6',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
'ClientToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayRouteTable (dict) --
Information about the virtual edge network gateway route table.
VirtualEdgeNetworkGatewayRouteTableId (string) --
The ID of the route table.
VirtualEdgeNetworkGatewayRouteTableArn (string) --
The Amazon Resource Name (ARN) of the route table.
VirtualEdgeNetworkGatewayId (string) --
The ID of the virtual edge network gateway that contains the route table.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the route table.
AddressType (string) --
The address family of the route table.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the route table.
AvailabilityZone (string) --
The Availability Zone of the route table.
State (string) --
The state of the route table.
StateReason (string) --
The reason for the current state of the route table.
Tags (list) --
The tags assigned to the route table.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
Rejects an SSE Connect attachment to a transit gateway. To use this operation, you must have ownership of the transit gateway and must have shared it with the SSE Connect owner using Amazon Web Services Resource Access Manager (Amazon Web Services RAM).
The attachment must be in the pendingAcceptance state. To accept the attachment, use AcceptTransitGatewaySseConnectAttachment.
See also: AWS API Documentation
Request Syntax
client.reject_transit_gateway_sse_connect_attachment(
TransitGatewayAttachmentId='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the SSE Connect attachment to reject.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'TransitGatewayAttachment': {
'TransitGatewayAttachmentId': 'string',
'TransitGatewayId': 'string',
'TransitGatewayOwnerId': 'string',
'ResourceOwnerId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'ResourceId': 'string',
'State': 'initiating'|'initiatingRequest'|'pendingAcceptance'|'rollingBack'|'pending'|'available'|'modifying'|'deleting'|'deleted'|'failed'|'rejected'|'rejecting'|'failing',
'Association': {
'TransitGatewayRouteTableId': 'string',
'TransitGatewayPolicyTableId': 'string',
'State': 'associating'|'associated'|'disassociating'|'disassociated'
},
'CreationTime': datetime(2015, 1, 1),
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'NatGatewaySupport': 'enabled'|'disabled'|'enabling'|'disabling'
}
}
Response Structure
(dict) --
TransitGatewayAttachment (dict) --
The SSE Connect attachment that you rejected, including its state.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
TransitGatewayId (string) --
The ID of the transit gateway.
TransitGatewayOwnerId (string) --
The ID of the Amazon Web Services account that owns the transit gateway.
ResourceOwnerId (string) --
The ID of the Amazon Web Services account that owns the resource.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
ResourceId (string) --
The ID of the resource.
State (string) --
The attachment state. Note that the initiating state has been deprecated.
Association (dict) --
The association.
TransitGatewayRouteTableId (string) --
The ID of the route table for the transit gateway.
TransitGatewayPolicyTableId (string) --
The ID of the transit gateway policy table associated with the attachment.
State (string) --
The state of the association.
CreationTime (datetime) --
The creation time.
Tags (list) --
The tags for the attachment.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
NatGatewaySupport (string) --
The state of NAT gateway support for the attachment. Only the owner of the transit gateway receives this parameter.
Associates a secondary network ACL with a secondary subnet. The secondary network ACL and the secondary subnet must belong to the same secondary network. The address family of the secondary network ACL must match the address family of the secondary subnet's CIDR block. This operation is supported only for secondary subnets in virtual-edge secondary networks.
See also: AWS API Documentation
Request Syntax
client.create_secondary_network_acl_association(
ClientToken='string',
DryRun=True|False,
SecondaryNetworkAclId='string',
SecondarySubnetId='string',
TagSpecifications=[
{
'ResourceType': 'capacity-reservation'|'client-vpn-endpoint'|'customer-gateway'|'carrier-gateway'|'coip-pool'|'declarative-policies-report'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fca-policy'|'fleet'|'fpga-image'|'host-reservation'|'image'|'image-usage-report'|'import-image-task'|'import-snapshot-task'|'instance'|'instance-event-window'|'internet-gateway'|'ipam'|'ipam-pool'|'ipam-scope'|'ipv4pool-ec2'|'ipv6pool-ec2'|'key-pair'|'launch-template'|'local-gateway'|'local-gateway-route-table'|'local-gateway-virtual-interface'|'local-gateway-virtual-interface-group'|'local-gateway-route-table-vpc-association'|'local-gateway-route-table-virtual-interface-group-association'|'natgateway'|'network-acl'|'network-interface'|'network-insights-analysis'|'network-insights-path'|'network-insights-access-scope'|'network-insights-access-scope-analysis'|'outpost-lag'|'placement-group'|'prefix-list'|'replace-root-volume-task'|'reserved-instances'|'route-table'|'security-group'|'security-group-rule'|'service-link-virtual-interface'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'subnet-cidr-reservation'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-connect-peer'|'transit-gateway-multicast-domain'|'transit-gateway-policy-table'|'transit-gateway-metering-policy'|'transit-gateway-route-table'|'transit-gateway-route-table-announcement'|'volume'|'vpc'|'vpc-endpoint'|'vpc-endpoint-connection'|'vpc-endpoint-service'|'vpc-endpoint-service-permission'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log'|'capacity-reservation-fleet'|'traffic-mirror-filter-rule'|'vpc-endpoint-connection-device-type'|'verified-access-instance'|'verified-access-group'|'verified-access-endpoint'|'verified-access-policy'|'verified-access-trust-provider'|'vpn-connection-device-type'|'vpc-block-public-access-exclusion'|'vpc-encryption-control'|'route-server'|'route-server-endpoint'|'route-server-peer'|'ipam-resource-discovery'|'ipam-resource-discovery-association'|'instance-connect-endpoint'|'verified-access-endpoint-target'|'ipam-external-resource-verification-token'|'capacity-block'|'mac-modification-task'|'ipam-prefix-list-resolver'|'ipam-policy'|'ipam-prefix-list-resolver-target'|'ipam-internet-registry-association'|'secondary-interface'|'secondary-network'|'secondary-subnet'|'capacity-manager-data-export'|'vpn-concentrator'|'ipam-pool-allocation'|'capacity-reservation-cancellation-quote'|'application-status-check'|'capacity-reservation-modification-quote'|'secondary-network-acl'|'secondary-network-acl-association'|'metric-category'|'virtual-edge-network-gateway'|'virtual-edge-network-gateway-route-table'|'virtual-edge-network-gateway-route-table-association'|'virtual-edge-network-route-server-peer',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
]
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the secondary network ACL.
string
[REQUIRED]
The ID of the secondary subnet.
list
The tags to assign to the secondary network ACL association.
(dict) --
The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.
ResourceType (string) --
The type of resource to tag on creation.
Tags (list) --
The tags to apply to the resource.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
dict
Response Syntax
{
'SecondaryNetworkAclAssociation': {
'SecondaryNetworkAclAssociationId': 'string',
'SecondaryNetworkAclAssociationArn': 'string',
'SecondaryNetworkAclId': 'string',
'SecondarySubnetId': 'string',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
'ClientToken': 'string'
}
Response Structure
(dict) --
SecondaryNetworkAclAssociation (dict) --
Information about the secondary network ACL association.
SecondaryNetworkAclAssociationId (string) --
The ID of the association.
SecondaryNetworkAclAssociationArn (string) --
The Amazon Resource Name (ARN) of the association.
SecondaryNetworkAclId (string) --
The ID of the secondary network ACL.
SecondarySubnetId (string) --
The ID of the secondary subnet.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the association.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the association.
AvailabilityZone (string) --
The Availability Zone of the association.
State (string) --
The state of the association.
StateReason (string) --
The reason for the current state of the association.
Tags (list) --
The tags assigned to the association.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
Deletes an association between a secondary network ACL and a secondary subnet.
A secondary subnet that isn't associated with a secondary network ACL denies all inbound and outbound traffic.
See also: AWS API Documentation
Request Syntax
client.delete_secondary_network_acl_association(
ClientToken='string',
DryRun=True|False,
SecondaryNetworkAclAssociationId='string'
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the secondary network ACL association.
dict
Response Syntax
{
'SecondaryNetworkAclAssociation': {
'SecondaryNetworkAclAssociationId': 'string',
'SecondaryNetworkAclAssociationArn': 'string',
'SecondaryNetworkAclId': 'string',
'SecondarySubnetId': 'string',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
'ClientToken': 'string'
}
Response Structure
(dict) --
SecondaryNetworkAclAssociation (dict) --
Information about the secondary network ACL association.
SecondaryNetworkAclAssociationId (string) --
The ID of the association.
SecondaryNetworkAclAssociationArn (string) --
The Amazon Resource Name (ARN) of the association.
SecondaryNetworkAclId (string) --
The ID of the secondary network ACL.
SecondarySubnetId (string) --
The ID of the secondary subnet.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the association.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the association.
AvailabilityZone (string) --
The Availability Zone of the association.
State (string) --
The state of the association.
StateReason (string) --
The reason for the current state of the association.
Tags (list) --
The tags assigned to the association.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
Deletes one or more static routes from a virtual edge network gateway route table.
You identify each route by its destination CIDR block. Route deletions are atomic: either all of the specified routes are deleted or none of them are.
See also: AWS API Documentation
Request Syntax
client.delete_virtual_edge_network_gateway_routes(
VirtualEdgeNetworkGatewayRouteTableId='string',
DryRun=True|False,
Ipv4DestinationCidrBlocks=[
'string',
],
Ipv6DestinationCidrBlocks=[
'string',
]
)
string
[REQUIRED]
The ID of the virtual edge network gateway route table.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The IPv4 destination CIDR blocks of the routes to delete. You must specify either Ipv4DestinationCidrBlocks or Ipv6DestinationCidrBlocks, but not both.
(string) --
list
The IPv6 destination CIDR blocks of the routes to delete. You must specify either Ipv4DestinationCidrBlocks or Ipv6DestinationCidrBlocks, but not both.
(string) --
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayRoutes': [
{
'VirtualEdgeNetworkGatewayRouteTableId': 'string',
'Ipv4DestinationCidrBlock': 'string',
'Ipv6DestinationCidrBlock': 'string',
'TargetType': 'blackhole'|'internet'|'subnet',
'Targets': [
{
'SecondarySubnetId': 'string',
'SecondaryInterfaceId': 'string',
'Ipv4Address': 'string',
'Ipv6Address': 'string',
'Weight': 123
},
],
'ReachabilityScopes': [
'internet'|'aws-global-network',
],
'RoutePreference': 123,
'Mtu': 123,
'OwnerId': 'string'
},
]
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayRoutes (list) --
Information about the routes that were deleted.
(dict) --
Describes a static route in a virtual edge network gateway route table.
VirtualEdgeNetworkGatewayRouteTableId (string) --
The ID of the virtual edge network gateway route table.
Ipv4DestinationCidrBlock (string) --
The IPv4 CIDR block used for the destination match.
Ipv6DestinationCidrBlock (string) --
The IPv6 CIDR block used for the destination match.
TargetType (string) --
The type of target for the route, which determines where the gateway forwards matching traffic. Valid values:
blackhole – Drops matching traffic.
internet – Forwards matching traffic to the internet.
subnet – Forwards matching traffic to a secondary subnet.
Targets (list) --
The targets that the route forwards traffic to. A target is one of the following:
A blackhole, which drops the traffic.
An IP address.
A secondary subnet.
The internet.
(dict) --
Describes a target of a virtual edge network gateway route.
SecondarySubnetId (string) --
The ID of the secondary subnet.
SecondaryInterfaceId (string) --
The ID of the secondary interface.
Ipv4Address (string) --
The IPv4 address of the target.
Ipv6Address (string) --
The IPv6 address of the target.
Weight (integer) --
The weight of the target.
ReachabilityScopes (list) --
The reachability scopes of the route, which determine where the route is advertised.
(string) --
RoutePreference (integer) --
The route preference. The gateway uses the most specific route that matches a destination. When routes for the same destination conflict, the route with the lowest route preference takes precedence. The default is 1 for static routes and 100 for routes learned from route server peers.
Mtu (integer) --
The maximum transmission unit (MTU), in bytes, for the route. The MTU is 1500 for routes with the target type internet, and 8500 for other routes.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the route.
Describes one or more virtual edge network route server peers.
See also: AWS API Documentation
Request Syntax
client.describe_virtual_edge_network_route_server_peers(
VirtualEdgeNetworkRouteServerPeerIds=[
'string',
],
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string'
)
list
The IDs of the route server peers.
(string) --
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
amazon-side-asn – The ASN for the Amazon side of the BGP session.
bgp-options.bfd-configuration.duration – The BFD duration, in milliseconds.
bgp-options.bfd-configuration.multiplier – The BFD multiplier.
bgp-options.peer-asn – The ASN of the peer.
bgp-options.peer-liveness-detection – The liveness detection method for the peer ( bgp-keepalive | bfd).
owner-id – The ID of the Amazon Web Services account that owns the route server peer.
secondary-subnet-id – The ID of the secondary subnet.
state – The state of the route server peer ( create-in-progress | create-complete | create-failed | delete-in-progress | delete-complete | delete-failed).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
tag-key – The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
virtual-edge-network-route-server-peer-arn – The ARN of the route server peer.
virtual-edge-network-route-server-peer-id – The ID of the route server peer.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
dict
Response Syntax
{
'VirtualEdgeNetworkRouteServerPeers': [
{
'VirtualEdgeNetworkRouteServerPeerId': 'string',
'VirtualEdgeNetworkRouteServerPeerArn': 'string',
'SecondarySubnetId': 'string',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'AmazonSideAsn': 123,
'Ipv4PeerAddressRange': 'string',
'Ipv6PeerAddressRange': 'string',
'BgpOptions': {
'PeerAsn': 123,
'PeerLivenessDetection': 'bgp-keepalive'|'bfd',
'BfdConfiguration': {
'Duration': 123,
'Multiplier': 123
}
},
'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'RouteServerEndpoint': 'endpoint-1'|'endpoint-2'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkRouteServerPeers (list) --
Information about the route server peers.
(dict) --
Describes a virtual edge network route server peer. Routes that your instances advertise over its BGP sessions are added to the routing information base (RIB) of the associated gateway route table.
VirtualEdgeNetworkRouteServerPeerId (string) --
The ID of the route server peer.
VirtualEdgeNetworkRouteServerPeerArn (string) --
The Amazon Resource Name (ARN) of the route server peer.
SecondarySubnetId (string) --
The ID of the secondary subnet.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the route server peer.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the route server peer.
AvailabilityZone (string) --
The Availability Zone of the route server peer.
AmazonSideAsn (integer) --
The autonomous system number (ASN) for the Amazon side of the BGP session.
Ipv4PeerAddressRange (string) --
The IPv4 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.
Ipv6PeerAddressRange (string) --
The IPv6 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.
BgpOptions (dict) --
The BGP options for the route server peer.
PeerAsn (integer) --
The autonomous system number (ASN) of the peer.
PeerLivenessDetection (string) --
The method used to detect whether the peer is available.
BfdConfiguration (dict) --
The BFD configuration for the peer.
Duration (integer) --
The minimum interval, in milliseconds, between BFD control packets.
Multiplier (integer) --
The number of consecutive BFD control packets that can be missed before the peer is considered unavailable.
State (string) --
The state of the route server peer.
StateReason (string) --
The reason for the current state of the route server peer.
Tags (list) --
The tags assigned to the route server peer.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
RouteServerEndpoint (string) --
The route server endpoint that the route server peer connects to.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Creates one or more static routes in a virtual edge network gateway route table.
The request creates all of the specified routes or none of them. Each destination CIDR block must be unique in the request and must not already exist in the route table.
See also: AWS API Documentation
Request Syntax
client.create_virtual_edge_network_gateway_routes(
VirtualEdgeNetworkGatewayRouteTableId='string',
DryRun=True|False,
Routes=[
{
'Ipv4DestinationCidrBlock': 'string',
'Ipv6DestinationCidrBlock': 'string',
'TargetType': 'blackhole'|'internet'|'subnet',
'Targets': [
{
'SecondarySubnetId': 'string',
'SecondaryInterfaceId': 'string',
'Ipv4Address': 'string',
'Ipv6Address': 'string',
'Weight': 123
},
],
'ReachabilityScopes': [
'internet'|'aws-global-network',
],
'RoutePreference': 123
},
]
)
string
[REQUIRED]
The ID of the virtual edge network gateway route table.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
[REQUIRED]
The routes to create.
(dict) --
Describes a static route to create in a virtual edge network gateway route table.
Ipv4DestinationCidrBlock (string) --
The IPv4 CIDR block used for the destination match. You must specify either Ipv4DestinationCidrBlock or Ipv6DestinationCidrBlock, but not both, and it must match the address family of the route table.
Ipv6DestinationCidrBlock (string) --
The IPv6 CIDR block used for the destination match. You must specify either Ipv4DestinationCidrBlock or Ipv6DestinationCidrBlock, but not both, and it must match the address family of the route table.
TargetType (string) --
The type of target for the route, which determines where the gateway forwards matching traffic. Valid values:
blackhole – Drops matching traffic.
internet – Forwards matching traffic to the internet.
subnet – Forwards matching traffic to a secondary subnet.
Targets (list) --
The targets of the route. For the target type subnet, you must specify at least one target. For the target types blackhole and internet, you can't specify targets.
(dict) --
Describes a target of a virtual edge network gateway route.
SecondarySubnetId (string) --
The ID of the secondary subnet.
SecondaryInterfaceId (string) --
The ID of the secondary interface.
Ipv4Address (string) --
The IPv4 address of the target.
Ipv6Address (string) --
The IPv6 address of the target.
Weight (integer) --
The weight of the target. A weight of 1 sends traffic to the target. A weight of 0 stops sending traffic to the target. The default is 1.
ReachabilityScopes (list) --
The reachability scopes of the route, which determine where the route is advertised. You can specify reachability scopes only for routes with the target type subnet. If you don't specify a reachability scope, the route isn't advertised.
(string) --
RoutePreference (integer) --
The route preference. The gateway uses the most specific route that matches a destination. When routes for the same destination conflict, the route with the lowest route preference takes precedence. Valid values are from 0 to 255. The default is 1.
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayRoutes': [
{
'VirtualEdgeNetworkGatewayRouteTableId': 'string',
'Ipv4DestinationCidrBlock': 'string',
'Ipv6DestinationCidrBlock': 'string',
'TargetType': 'blackhole'|'internet'|'subnet',
'Targets': [
{
'SecondarySubnetId': 'string',
'SecondaryInterfaceId': 'string',
'Ipv4Address': 'string',
'Ipv6Address': 'string',
'Weight': 123
},
],
'ReachabilityScopes': [
'internet'|'aws-global-network',
],
'RoutePreference': 123,
'Mtu': 123,
'OwnerId': 'string'
},
]
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayRoutes (list) --
Information about the routes that were created.
(dict) --
Describes a static route in a virtual edge network gateway route table.
VirtualEdgeNetworkGatewayRouteTableId (string) --
The ID of the virtual edge network gateway route table.
Ipv4DestinationCidrBlock (string) --
The IPv4 CIDR block used for the destination match.
Ipv6DestinationCidrBlock (string) --
The IPv6 CIDR block used for the destination match.
TargetType (string) --
The type of target for the route, which determines where the gateway forwards matching traffic. Valid values:
blackhole – Drops matching traffic.
internet – Forwards matching traffic to the internet.
subnet – Forwards matching traffic to a secondary subnet.
Targets (list) --
The targets that the route forwards traffic to. A target is one of the following:
A blackhole, which drops the traffic.
An IP address.
A secondary subnet.
The internet.
(dict) --
Describes a target of a virtual edge network gateway route.
SecondarySubnetId (string) --
The ID of the secondary subnet.
SecondaryInterfaceId (string) --
The ID of the secondary interface.
Ipv4Address (string) --
The IPv4 address of the target.
Ipv6Address (string) --
The IPv6 address of the target.
Weight (integer) --
The weight of the target.
ReachabilityScopes (list) --
The reachability scopes of the route, which determine where the route is advertised.
(string) --
RoutePreference (integer) --
The route preference. The gateway uses the most specific route that matches a destination. When routes for the same destination conflict, the route with the lowest route preference takes precedence. The default is 1 for static routes and 100 for routes learned from route server peers.
Mtu (integer) --
The maximum transmission unit (MTU), in bytes, for the route. The MTU is 1500 for routes with the target type internet, and 8500 for other routes.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the route.
Deletes a virtual edge network gateway. A virtual edge network gateway must not have any route tables or allowed advertisements prior to deletion.
See also: AWS API Documentation
Request Syntax
client.delete_virtual_edge_network_gateway(
ClientToken='string',
VirtualEdgeNetworkGatewayId='string',
DryRun=True|False
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
string
[REQUIRED]
The ID of the virtual edge network gateway.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'VirtualEdgeNetworkGateway': {
'VirtualEdgeNetworkGatewayId': 'string',
'VirtualEdgeNetworkGatewayArn': 'string',
'OwnerId': 'string',
'SecondaryNetworkId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
'ClientToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkGateway (dict) --
Information about the virtual edge network gateway.
VirtualEdgeNetworkGatewayId (string) --
The ID of the virtual edge network gateway.
VirtualEdgeNetworkGatewayArn (string) --
The Amazon Resource Name (ARN) of the virtual edge network gateway.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the virtual edge network gateway.
SecondaryNetworkId (string) --
The ID of the secondary network that contains the virtual edge network gateway.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the virtual edge network gateway.
AvailabilityZone (string) --
The Availability Zone of the virtual edge network gateway.
State (string) --
The state of the virtual edge network gateway.
StateReason (string) --
The reason for the current state of the virtual edge network gateway.
Tags (list) --
The tags assigned to the virtual edge network gateway.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
Describes one or more virtual edge network gateway route tables.
To view the routes in a route table, use DescribeVirtualEdgeNetworkGatewayRoutes, DescribeVirtualEdgeNetworkGatewayRouteTableRib, or DescribeVirtualEdgeNetworkGatewayRouteTableFib.
See also: AWS API Documentation
Request Syntax
client.describe_virtual_edge_network_gateway_route_tables(
VirtualEdgeNetworkGatewayRouteTableIds=[
'string',
],
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string'
)
list
The IDs of the virtual edge network gateway route tables.
(string) --
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
owner-id – The ID of the Amazon Web Services account that owns the route table.
state – The state of the route table ( create-in-progress | create-complete | create-failed | update-in-progress | update-complete | update-failed | delete-in-progress | delete-complete | delete-failed).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
tag-key – The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
virtual-edge-network-gateway-id – The ID of the virtual edge network gateway.
virtual-edge-network-gateway-route-table-arn – The ARN of the route table.
virtual-edge-network-gateway-route-table-id – The ID of the route table.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayRouteTables': [
{
'VirtualEdgeNetworkGatewayRouteTableId': 'string',
'VirtualEdgeNetworkGatewayRouteTableArn': 'string',
'VirtualEdgeNetworkGatewayId': 'string',
'OwnerId': 'string',
'AddressType': 'ipv4'|'ipv6',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayRouteTables (list) --
Information about the virtual edge network gateway route tables.
(dict) --
Describes a virtual edge network gateway route table.
VirtualEdgeNetworkGatewayRouteTableId (string) --
The ID of the route table.
VirtualEdgeNetworkGatewayRouteTableArn (string) --
The Amazon Resource Name (ARN) of the route table.
VirtualEdgeNetworkGatewayId (string) --
The ID of the virtual edge network gateway that contains the route table.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the route table.
AddressType (string) --
The address family of the route table.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the route table.
AvailabilityZone (string) --
The Availability Zone of the route table.
State (string) --
The state of the route table.
StateReason (string) --
The reason for the current state of the route table.
Tags (list) --
The tags assigned to the route table.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Deletes one or more entries from a secondary network ACL.
You identify each entry by its direction and rule number.
See also: AWS API Documentation
Request Syntax
client.delete_secondary_network_acl_entries(
DryRun=True|False,
Entries=[
{
'Direction': 'ingress'|'egress',
'RuleNumber': 123
},
],
SecondaryNetworkAclId='string'
)
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The entries to delete. Each entry must exist in the secondary network ACL.
(dict) --
Describes the direction and rule number that identify an entry in a secondary network ACL.
Direction (string) --
The direction of traffic that the entry applies to.
RuleNumber (integer) --
The rule number of the entry.
Constraints: Positive integer from 1 to 32766.
string
[REQUIRED]
The ID of the secondary network ACL.
dict
Response Syntax
{
'SecondaryNetworkAclEntries': [
{
'SecondaryNetworkAclId': 'string',
'RuleNumber': 123,
'Protocol': 123,
'PortRange': {
'From': 123,
'To': 123
},
'IcmpTypeCode': {
'Code': 123,
'Type': 123
},
'Ipv4CidrBlock': 'string',
'Ipv6CidrBlock': 'string',
'Direction': 'ingress'|'egress',
'Action': 'allow'|'deny',
'OwnerId': 'string'
},
]
}
Response Structure
(dict) --
SecondaryNetworkAclEntries (list) --
Information about the entries that were deleted.
(dict) --
Describes an entry in a secondary network ACL.
SecondaryNetworkAclId (string) --
The ID of the secondary network ACL.
RuleNumber (integer) --
The rule number of the entry. Entries are evaluated in order, starting with the lowest rule number.
Protocol (integer) --
The protocol number that the entry applies to.
PortRange (dict) --
The range of ports that the entry applies to. For a protocol other than TCP (protocol 6) or UDP (protocol 17), from and to are both -1.
From (integer) --
The first port in the range, or -1 (all ports) for a protocol other than TCP (protocol 6) or UDP (protocol 17).
To (integer) --
The last port in the range, or -1 (all ports) for a protocol other than TCP (protocol 6) or UDP (protocol 17).
IcmpTypeCode (dict) --
The ICMP type and code that the entry applies to. Returned only for entries that specify the ICMP (protocol 1) or ICMPv6 (protocol 58) protocol.
Code (integer) --
The ICMP code. -1 indicates all codes for the ICMP type.
Type (integer) --
The ICMP type. -1 indicates all types.
Ipv4CidrBlock (string) --
The IPv4 CIDR block that the entry matches.
Ipv6CidrBlock (string) --
The IPv6 CIDR block that the entry matches.
Direction (string) --
The direction of traffic that the entry applies to.
Action (string) --
The action to take on traffic that matches the entry.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the secondary network ACL.
Describes one or more virtual edge network gateway route table associations.
See also: AWS API Documentation
Request Syntax
client.describe_virtual_edge_network_gateway_route_table_associations(
VirtualEdgeNetworkGatewayRouteTableAssociationIds=[
'string',
],
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string'
)
list
The IDs of the virtual edge network gateway route table associations.
(string) --
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
bgp-options.route-filter.max-prefix-length – The maximum prefix length in the route filter of the association.
bgp-options.route-propagation-enabled – Indicates whether route propagation is enabled for the association ( true | false).
owner-id – The ID of the Amazon Web Services account that owns the association.
secondary-subnet-id – The ID of the secondary subnet.
state – The state of the association ( create-in-progress | create-complete | create-failed | update-in-progress | update-complete | update-failed | delete-in-progress | delete-complete | delete-failed).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
tag-key – The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
virtual-edge-network-gateway-route-table-association-arn – The ARN of the association.
virtual-edge-network-gateway-route-table-association-id – The ID of the association.
virtual-edge-network-gateway-route-table-id – The ID of the virtual edge network gateway route table.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayRouteTableAssociations': [
{
'VirtualEdgeNetworkGatewayRouteTableAssociationId': 'string',
'VirtualEdgeNetworkGatewayRouteTableAssociationArn': 'string',
'VirtualEdgeNetworkGatewayRouteTableId': 'string',
'SecondarySubnetId': 'string',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'BgpOptions': {
'RoutePropagationEnabled': True|False,
'RouteFilter': {
'MaxPrefixLength': 123
}
},
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayRouteTableAssociations (list) --
Information about the virtual edge network gateway route table associations.
(dict) --
Describes an association between a virtual edge network gateway route table and a secondary subnet.
VirtualEdgeNetworkGatewayRouteTableAssociationId (string) --
The ID of the association.
VirtualEdgeNetworkGatewayRouteTableAssociationArn (string) --
The Amazon Resource Name (ARN) of the association.
VirtualEdgeNetworkGatewayRouteTableId (string) --
The ID of the virtual edge network gateway route table.
SecondarySubnetId (string) --
The ID of the secondary subnet.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the association.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the association.
AvailabilityZone (string) --
The Availability Zone of the association.
BgpOptions (dict) --
The BGP options for routes advertised by route server peers in the secondary subnet.
RoutePropagationEnabled (boolean) --
Indicates whether routes that route server peers advertise are propagated to the forwarding information base (FIB).
RouteFilter (dict) --
The route filter for routes that route server peers advertise.
MaxPrefixLength (integer) --
The maximum prefix length of routes that route server peers can advertise. Routes that are more specific are filtered out of the forwarding information base (FIB).
State (string) --
The state of the association.
StateReason (string) --
The reason for the current state of the association.
Tags (list) --
The tags assigned to the association.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Associates a virtual edge network gateway route table with a secondary subnet.
The secondary subnet must be in the same secondary network as the route table. The address family of the route table must match the address family of the secondary subnet CIDR block.
See also: AWS API Documentation
Request Syntax
client.create_virtual_edge_network_gateway_route_table_association(
BgpOptions={
'RoutePropagationEnabled': True|False,
'RouteFilter': {
'MaxPrefixLength': 123
}
},
ClientToken='string',
VirtualEdgeNetworkGatewayRouteTableId='string',
DryRun=True|False,
SecondarySubnetId='string',
TagSpecifications=[
{
'ResourceType': 'capacity-reservation'|'client-vpn-endpoint'|'customer-gateway'|'carrier-gateway'|'coip-pool'|'declarative-policies-report'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fca-policy'|'fleet'|'fpga-image'|'host-reservation'|'image'|'image-usage-report'|'import-image-task'|'import-snapshot-task'|'instance'|'instance-event-window'|'internet-gateway'|'ipam'|'ipam-pool'|'ipam-scope'|'ipv4pool-ec2'|'ipv6pool-ec2'|'key-pair'|'launch-template'|'local-gateway'|'local-gateway-route-table'|'local-gateway-virtual-interface'|'local-gateway-virtual-interface-group'|'local-gateway-route-table-vpc-association'|'local-gateway-route-table-virtual-interface-group-association'|'natgateway'|'network-acl'|'network-interface'|'network-insights-analysis'|'network-insights-path'|'network-insights-access-scope'|'network-insights-access-scope-analysis'|'outpost-lag'|'placement-group'|'prefix-list'|'replace-root-volume-task'|'reserved-instances'|'route-table'|'security-group'|'security-group-rule'|'service-link-virtual-interface'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'subnet-cidr-reservation'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-connect-peer'|'transit-gateway-multicast-domain'|'transit-gateway-policy-table'|'transit-gateway-metering-policy'|'transit-gateway-route-table'|'transit-gateway-route-table-announcement'|'volume'|'vpc'|'vpc-endpoint'|'vpc-endpoint-connection'|'vpc-endpoint-service'|'vpc-endpoint-service-permission'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log'|'capacity-reservation-fleet'|'traffic-mirror-filter-rule'|'vpc-endpoint-connection-device-type'|'verified-access-instance'|'verified-access-group'|'verified-access-endpoint'|'verified-access-policy'|'verified-access-trust-provider'|'vpn-connection-device-type'|'vpc-block-public-access-exclusion'|'vpc-encryption-control'|'route-server'|'route-server-endpoint'|'route-server-peer'|'ipam-resource-discovery'|'ipam-resource-discovery-association'|'instance-connect-endpoint'|'verified-access-endpoint-target'|'ipam-external-resource-verification-token'|'capacity-block'|'mac-modification-task'|'ipam-prefix-list-resolver'|'ipam-policy'|'ipam-prefix-list-resolver-target'|'ipam-internet-registry-association'|'secondary-interface'|'secondary-network'|'secondary-subnet'|'capacity-manager-data-export'|'vpn-concentrator'|'ipam-pool-allocation'|'capacity-reservation-cancellation-quote'|'application-status-check'|'capacity-reservation-modification-quote'|'secondary-network-acl'|'secondary-network-acl-association'|'metric-category'|'virtual-edge-network-gateway'|'virtual-edge-network-gateway-route-table'|'virtual-edge-network-gateway-route-table-association'|'virtual-edge-network-route-server-peer',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
]
)
dict
The BGP options for routes advertised by route server peers in the secondary subnet.
RoutePropagationEnabled (boolean) --
Indicates whether to propagate routes that route server peers advertise to the forwarding information base (FIB). If false, route server peers can establish BGP sessions and their routes are added to the routing information base (RIB), but the routes are filtered out of the FIB. The default is true.
RouteFilter (dict) --
The route filter for routes that route server peers advertise.
MaxPrefixLength (integer) --
The maximum prefix length of routes that route server peers can advertise. Routes that are more specific are filtered out of the forwarding information base (FIB). For IPv4 route tables, the value must be between 12 and 28. For IPv6 route tables, the value must be between 44 and 64. If you don't specify a value, no maximum prefix length applies.
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
string
[REQUIRED]
The ID of the virtual edge network gateway route table.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the secondary subnet.
list
The tags to assign to the virtual edge network gateway route table association.
(dict) --
The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.
ResourceType (string) --
The type of resource to tag on creation.
Tags (list) --
The tags to apply to the resource.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayRouteTableAssociation': {
'VirtualEdgeNetworkGatewayRouteTableAssociationId': 'string',
'VirtualEdgeNetworkGatewayRouteTableAssociationArn': 'string',
'VirtualEdgeNetworkGatewayRouteTableId': 'string',
'SecondarySubnetId': 'string',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'BgpOptions': {
'RoutePropagationEnabled': True|False,
'RouteFilter': {
'MaxPrefixLength': 123
}
},
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
'ClientToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayRouteTableAssociation (dict) --
Information about the virtual edge network gateway route table association.
VirtualEdgeNetworkGatewayRouteTableAssociationId (string) --
The ID of the association.
VirtualEdgeNetworkGatewayRouteTableAssociationArn (string) --
The Amazon Resource Name (ARN) of the association.
VirtualEdgeNetworkGatewayRouteTableId (string) --
The ID of the virtual edge network gateway route table.
SecondarySubnetId (string) --
The ID of the secondary subnet.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the association.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the association.
AvailabilityZone (string) --
The Availability Zone of the association.
BgpOptions (dict) --
The BGP options for routes advertised by route server peers in the secondary subnet.
RoutePropagationEnabled (boolean) --
Indicates whether routes that route server peers advertise are propagated to the forwarding information base (FIB).
RouteFilter (dict) --
The route filter for routes that route server peers advertise.
MaxPrefixLength (integer) --
The maximum prefix length of routes that route server peers can advertise. Routes that are more specific are filtered out of the forwarding information base (FIB).
State (string) --
The state of the association.
StateReason (string) --
The reason for the current state of the association.
Tags (list) --
The tags assigned to the association.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
Creates a secondary network ACL in a secondary network.
A secondary network ACL provides stateless filtering of inbound and outbound traffic for the secondary subnets that it is associated with.
A secondary network ACL doesn't filter traffic between instances in the same secondary subnet. Traffic that matches no entry is denied. This operation is supported only for virtual-edge secondary networks.
See also: AWS API Documentation
Request Syntax
client.create_secondary_network_acl(
AddressType='ipv4'|'ipv6',
ClientToken='string',
DryRun=True|False,
SecondaryNetworkId='string',
TagSpecifications=[
{
'ResourceType': 'capacity-reservation'|'client-vpn-endpoint'|'customer-gateway'|'carrier-gateway'|'coip-pool'|'declarative-policies-report'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fca-policy'|'fleet'|'fpga-image'|'host-reservation'|'image'|'image-usage-report'|'import-image-task'|'import-snapshot-task'|'instance'|'instance-event-window'|'internet-gateway'|'ipam'|'ipam-pool'|'ipam-scope'|'ipv4pool-ec2'|'ipv6pool-ec2'|'key-pair'|'launch-template'|'local-gateway'|'local-gateway-route-table'|'local-gateway-virtual-interface'|'local-gateway-virtual-interface-group'|'local-gateway-route-table-vpc-association'|'local-gateway-route-table-virtual-interface-group-association'|'natgateway'|'network-acl'|'network-interface'|'network-insights-analysis'|'network-insights-path'|'network-insights-access-scope'|'network-insights-access-scope-analysis'|'outpost-lag'|'placement-group'|'prefix-list'|'replace-root-volume-task'|'reserved-instances'|'route-table'|'security-group'|'security-group-rule'|'service-link-virtual-interface'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'subnet-cidr-reservation'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-connect-peer'|'transit-gateway-multicast-domain'|'transit-gateway-policy-table'|'transit-gateway-metering-policy'|'transit-gateway-route-table'|'transit-gateway-route-table-announcement'|'volume'|'vpc'|'vpc-endpoint'|'vpc-endpoint-connection'|'vpc-endpoint-service'|'vpc-endpoint-service-permission'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log'|'capacity-reservation-fleet'|'traffic-mirror-filter-rule'|'vpc-endpoint-connection-device-type'|'verified-access-instance'|'verified-access-group'|'verified-access-endpoint'|'verified-access-policy'|'verified-access-trust-provider'|'vpn-connection-device-type'|'vpc-block-public-access-exclusion'|'vpc-encryption-control'|'route-server'|'route-server-endpoint'|'route-server-peer'|'ipam-resource-discovery'|'ipam-resource-discovery-association'|'instance-connect-endpoint'|'verified-access-endpoint-target'|'ipam-external-resource-verification-token'|'capacity-block'|'mac-modification-task'|'ipam-prefix-list-resolver'|'ipam-policy'|'ipam-prefix-list-resolver-target'|'ipam-internet-registry-association'|'secondary-interface'|'secondary-network'|'secondary-subnet'|'capacity-manager-data-export'|'vpn-concentrator'|'ipam-pool-allocation'|'capacity-reservation-cancellation-quote'|'application-status-check'|'capacity-reservation-modification-quote'|'secondary-network-acl'|'secondary-network-acl-association'|'metric-category'|'virtual-edge-network-gateway'|'virtual-edge-network-gateway-route-table'|'virtual-edge-network-gateway-route-table-association'|'virtual-edge-network-route-server-peer',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
]
)
string
The address family of the secondary network ACL.
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the secondary network in which to create the secondary network ACL.
list
The tags to assign to the secondary network ACL.
(dict) --
The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.
ResourceType (string) --
The type of resource to tag on creation.
Tags (list) --
The tags to apply to the resource.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
dict
Response Syntax
{
'SecondaryNetworkAcl': {
'SecondaryNetworkAclId': 'string',
'SecondaryNetworkAclArn': 'string',
'SecondaryNetworkId': 'string',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'AddressType': 'ipv4'|'ipv6',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
'ClientToken': 'string'
}
Response Structure
(dict) --
SecondaryNetworkAcl (dict) --
Information about the secondary network ACL.
SecondaryNetworkAclId (string) --
The ID of the secondary network ACL.
SecondaryNetworkAclArn (string) --
The Amazon Resource Name (ARN) of the secondary network ACL.
SecondaryNetworkId (string) --
The ID of the secondary network that contains the secondary network ACL.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the secondary network ACL.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the secondary network ACL.
AvailabilityZone (string) --
The Availability Zone of the secondary network ACL.
AddressType (string) --
The address family of the secondary network ACL.
State (string) --
The state of the secondary network ACL.
StateReason (string) --
The reason for the current state of the secondary network ACL.
Tags (list) --
The tags assigned to the secondary network ACL.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
Deletes an association between a virtual edge network gateway route table and a secondary subnet.
See also: AWS API Documentation
Request Syntax
client.delete_virtual_edge_network_gateway_route_table_association(
ClientToken='string',
VirtualEdgeNetworkGatewayRouteTableAssociationId='string',
DryRun=True|False
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
string
[REQUIRED]
The ID of the virtual edge network gateway route table association.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayRouteTableAssociation': {
'VirtualEdgeNetworkGatewayRouteTableAssociationId': 'string',
'VirtualEdgeNetworkGatewayRouteTableAssociationArn': 'string',
'VirtualEdgeNetworkGatewayRouteTableId': 'string',
'SecondarySubnetId': 'string',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'BgpOptions': {
'RoutePropagationEnabled': True|False,
'RouteFilter': {
'MaxPrefixLength': 123
}
},
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
'ClientToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayRouteTableAssociation (dict) --
Information about the virtual edge network gateway route table association.
VirtualEdgeNetworkGatewayRouteTableAssociationId (string) --
The ID of the association.
VirtualEdgeNetworkGatewayRouteTableAssociationArn (string) --
The Amazon Resource Name (ARN) of the association.
VirtualEdgeNetworkGatewayRouteTableId (string) --
The ID of the virtual edge network gateway route table.
SecondarySubnetId (string) --
The ID of the secondary subnet.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the association.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the association.
AvailabilityZone (string) --
The Availability Zone of the association.
BgpOptions (dict) --
The BGP options for routes advertised by route server peers in the secondary subnet.
RoutePropagationEnabled (boolean) --
Indicates whether routes that route server peers advertise are propagated to the forwarding information base (FIB).
RouteFilter (dict) --
The route filter for routes that route server peers advertise.
MaxPrefixLength (integer) --
The maximum prefix length of routes that route server peers can advertise. Routes that are more specific are filtered out of the forwarding information base (FIB).
State (string) --
The state of the association.
StateReason (string) --
The reason for the current state of the association.
Tags (list) --
The tags assigned to the association.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
Creates a route table for a virtual edge network gateway.
See also: AWS API Documentation
Request Syntax
client.create_virtual_edge_network_gateway_route_table(
ClientToken='string',
VirtualEdgeNetworkGatewayId='string',
AddressType='ipv4'|'ipv6',
DryRun=True|False,
TagSpecifications=[
{
'ResourceType': 'capacity-reservation'|'client-vpn-endpoint'|'customer-gateway'|'carrier-gateway'|'coip-pool'|'declarative-policies-report'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fca-policy'|'fleet'|'fpga-image'|'host-reservation'|'image'|'image-usage-report'|'import-image-task'|'import-snapshot-task'|'instance'|'instance-event-window'|'internet-gateway'|'ipam'|'ipam-pool'|'ipam-scope'|'ipv4pool-ec2'|'ipv6pool-ec2'|'key-pair'|'launch-template'|'local-gateway'|'local-gateway-route-table'|'local-gateway-virtual-interface'|'local-gateway-virtual-interface-group'|'local-gateway-route-table-vpc-association'|'local-gateway-route-table-virtual-interface-group-association'|'natgateway'|'network-acl'|'network-interface'|'network-insights-analysis'|'network-insights-path'|'network-insights-access-scope'|'network-insights-access-scope-analysis'|'outpost-lag'|'placement-group'|'prefix-list'|'replace-root-volume-task'|'reserved-instances'|'route-table'|'security-group'|'security-group-rule'|'service-link-virtual-interface'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'subnet-cidr-reservation'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-connect-peer'|'transit-gateway-multicast-domain'|'transit-gateway-policy-table'|'transit-gateway-metering-policy'|'transit-gateway-route-table'|'transit-gateway-route-table-announcement'|'volume'|'vpc'|'vpc-endpoint'|'vpc-endpoint-connection'|'vpc-endpoint-service'|'vpc-endpoint-service-permission'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log'|'capacity-reservation-fleet'|'traffic-mirror-filter-rule'|'vpc-endpoint-connection-device-type'|'verified-access-instance'|'verified-access-group'|'verified-access-endpoint'|'verified-access-policy'|'verified-access-trust-provider'|'vpn-connection-device-type'|'vpc-block-public-access-exclusion'|'vpc-encryption-control'|'route-server'|'route-server-endpoint'|'route-server-peer'|'ipam-resource-discovery'|'ipam-resource-discovery-association'|'instance-connect-endpoint'|'verified-access-endpoint-target'|'ipam-external-resource-verification-token'|'capacity-block'|'mac-modification-task'|'ipam-prefix-list-resolver'|'ipam-policy'|'ipam-prefix-list-resolver-target'|'ipam-internet-registry-association'|'secondary-interface'|'secondary-network'|'secondary-subnet'|'capacity-manager-data-export'|'vpn-concentrator'|'ipam-pool-allocation'|'capacity-reservation-cancellation-quote'|'application-status-check'|'capacity-reservation-modification-quote'|'secondary-network-acl'|'secondary-network-acl-association'|'metric-category'|'virtual-edge-network-gateway'|'virtual-edge-network-gateway-route-table'|'virtual-edge-network-gateway-route-table-association'|'virtual-edge-network-route-server-peer',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
]
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
string
[REQUIRED]
The ID of the virtual edge network gateway in which to create the route table.
string
The address family of the route table.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The tags to assign to the virtual edge network gateway route table.
(dict) --
The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.
ResourceType (string) --
The type of resource to tag on creation.
Tags (list) --
The tags to apply to the resource.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayRouteTable': {
'VirtualEdgeNetworkGatewayRouteTableId': 'string',
'VirtualEdgeNetworkGatewayRouteTableArn': 'string',
'VirtualEdgeNetworkGatewayId': 'string',
'OwnerId': 'string',
'AddressType': 'ipv4'|'ipv6',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
'ClientToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayRouteTable (dict) --
Information about the virtual edge network gateway route table.
VirtualEdgeNetworkGatewayRouteTableId (string) --
The ID of the route table.
VirtualEdgeNetworkGatewayRouteTableArn (string) --
The Amazon Resource Name (ARN) of the route table.
VirtualEdgeNetworkGatewayId (string) --
The ID of the virtual edge network gateway that contains the route table.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the route table.
AddressType (string) --
The address family of the route table.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the route table.
AvailabilityZone (string) --
The Availability Zone of the route table.
State (string) --
The state of the route table.
StateReason (string) --
The reason for the current state of the route table.
Tags (list) --
The tags assigned to the route table.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
Describes one or more secondary network ACLs.
See also: AWS API Documentation
Request Syntax
client.describe_secondary_network_acls(
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
SecondaryNetworkAclIds=[
'string',
]
)
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
address-type – The address family of the secondary network ACL ( ipv4 | ipv6).
owner-id – The ID of the Amazon Web Services account that owns the secondary network ACL.
secondary-network-acl-arn – The ARN of the secondary network ACL.
secondary-network-acl-id – The ID of the secondary network ACL.
secondary-network-id – The ID of the secondary network.
state – The state of the secondary network ACL ( create-in-progress | create-complete | create-failed | update-in-progress | update-complete | update-failed | delete-in-progress | delete-complete | delete-failed).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
tag-key – The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
list
The IDs of the secondary network ACLs.
(string) --
dict
Response Syntax
{
'SecondaryNetworkAcls': [
{
'SecondaryNetworkAclId': 'string',
'SecondaryNetworkAclArn': 'string',
'SecondaryNetworkId': 'string',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'AddressType': 'ipv4'|'ipv6',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
SecondaryNetworkAcls (list) --
Information about the secondary network ACLs.
(dict) --
Describes a secondary network ACL.
SecondaryNetworkAclId (string) --
The ID of the secondary network ACL.
SecondaryNetworkAclArn (string) --
The Amazon Resource Name (ARN) of the secondary network ACL.
SecondaryNetworkId (string) --
The ID of the secondary network that contains the secondary network ACL.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the secondary network ACL.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the secondary network ACL.
AvailabilityZone (string) --
The Availability Zone of the secondary network ACL.
AddressType (string) --
The address family of the secondary network ACL.
State (string) --
The state of the secondary network ACL.
StateReason (string) --
The reason for the current state of the secondary network ACL.
Tags (list) --
The tags assigned to the secondary network ACL.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Accepts an SSE Connect attachment to a transit gateway. To use this operation, you must have ownership of the transit gateway and must have shared it with the SSE Connect owner using Amazon Web Services Resource Access Manager (Amazon Web Services RAM).
The attachment must be in the pendingAcceptance state. To reject the attachment, use RejectTransitGatewaySseConnectAttachment.
See also: AWS API Documentation
Request Syntax
client.accept_transit_gateway_sse_connect_attachment(
TransitGatewayAttachmentId='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the SSE Connect attachment to accept.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'TransitGatewayAttachment': {
'TransitGatewayAttachmentId': 'string',
'TransitGatewayId': 'string',
'TransitGatewayOwnerId': 'string',
'ResourceOwnerId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'ResourceId': 'string',
'State': 'initiating'|'initiatingRequest'|'pendingAcceptance'|'rollingBack'|'pending'|'available'|'modifying'|'deleting'|'deleted'|'failed'|'rejected'|'rejecting'|'failing',
'Association': {
'TransitGatewayRouteTableId': 'string',
'TransitGatewayPolicyTableId': 'string',
'State': 'associating'|'associated'|'disassociating'|'disassociated'
},
'CreationTime': datetime(2015, 1, 1),
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'NatGatewaySupport': 'enabled'|'disabled'|'enabling'|'disabling'
}
}
Response Structure
(dict) --
TransitGatewayAttachment (dict) --
The SSE Connect attachment that you accepted, including its state.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
TransitGatewayId (string) --
The ID of the transit gateway.
TransitGatewayOwnerId (string) --
The ID of the Amazon Web Services account that owns the transit gateway.
ResourceOwnerId (string) --
The ID of the Amazon Web Services account that owns the resource.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
ResourceId (string) --
The ID of the resource.
State (string) --
The attachment state. Note that the initiating state has been deprecated.
Association (dict) --
The association.
TransitGatewayRouteTableId (string) --
The ID of the route table for the transit gateway.
TransitGatewayPolicyTableId (string) --
The ID of the transit gateway policy table associated with the attachment.
State (string) --
The state of the association.
CreationTime (datetime) --
The creation time.
Tags (list) --
The tags for the attachment.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
NatGatewaySupport (string) --
The state of NAT gateway support for the attachment. Only the owner of the transit gateway receives this parameter.
Describes the forwarding information base (FIB) of a virtual edge network gateway route table.
The FIB contains the routes that are applied to traffic. For more information about viewing all candidate routes, including routes that are filtered out of the FIB, see DescribeVirtualEdgeNetworkGatewayRouteTableRib.
See also: AWS API Documentation
Request Syntax
client.describe_virtual_edge_network_gateway_route_table_fib(
VirtualEdgeNetworkGatewayRouteTableId='string',
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string'
)
string
[REQUIRED]
The ID of the virtual edge network gateway route table.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
ipv4-destination-cidr-block – The IPv4 destination CIDR block of the route.
ipv6-destination-cidr-block – The IPv6 destination CIDR block of the route.
mtu – The maximum transmission unit (MTU) of the route.
target-type – The target type of the route ( blackhole | internet | subnet).
target.ipv4-address – The IPv4 address of a route target.
target.ipv6-address – The IPv6 address of a route target.
target.secondary-interface-id – The ID of the secondary interface of a route target.
target.secondary-subnet-id – The ID of the secondary subnet of a route target.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
dict
Response Syntax
{
'VirtualEdgeNetworkGatewayRoutes': [
{
'Ipv4DestinationCidrBlock': 'string',
'Ipv6DestinationCidrBlock': 'string',
'TargetType': 'blackhole'|'internet'|'subnet',
'Targets': [
{
'SecondarySubnetId': 'string',
'SecondaryInterfaceId': 'string',
'Ipv4Address': 'string',
'Ipv6Address': 'string',
'Weight': 123
},
],
'Mtu': 123
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkGatewayRoutes (list) --
Information about the routes in the FIB.
(dict) --
Describes a route in the forwarding information base (FIB) of a virtual edge network gateway route table.
Ipv4DestinationCidrBlock (string) --
The IPv4 CIDR block used for the destination match.
Ipv6DestinationCidrBlock (string) --
The IPv6 CIDR block used for the destination match.
TargetType (string) --
The type of target for the route, which determines where the gateway forwards matching traffic. Valid values:
blackhole – Drops matching traffic.
internet – Forwards matching traffic to the internet.
subnet – Forwards matching traffic to a secondary subnet.
Targets (list) --
The targets that the route forwards traffic to. A target is one of the following:
A blackhole, which drops the traffic.
An IP address.
A secondary subnet.
The internet.
(dict) --
Describes a target of a virtual edge network gateway route.
SecondarySubnetId (string) --
The ID of the secondary subnet.
SecondaryInterfaceId (string) --
The ID of the secondary interface.
Ipv4Address (string) --
The IPv4 address of the target.
Ipv6Address (string) --
The IPv6 address of the target.
Weight (integer) --
The weight of the target.
Mtu (integer) --
The maximum transmission unit (MTU), in bytes, for the route.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Deletes a virtual edge network route server peer.
See also: AWS API Documentation
Request Syntax
client.delete_virtual_edge_network_route_server_peer(
ClientToken='string',
VirtualEdgeNetworkRouteServerPeerId='string',
DryRun=True|False
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
string
[REQUIRED]
The ID of the route server peer.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'VirtualEdgeNetworkRouteServerPeer': {
'VirtualEdgeNetworkRouteServerPeerId': 'string',
'VirtualEdgeNetworkRouteServerPeerArn': 'string',
'SecondarySubnetId': 'string',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'AmazonSideAsn': 123,
'Ipv4PeerAddressRange': 'string',
'Ipv6PeerAddressRange': 'string',
'BgpOptions': {
'PeerAsn': 123,
'PeerLivenessDetection': 'bgp-keepalive'|'bfd',
'BfdConfiguration': {
'Duration': 123,
'Multiplier': 123
}
},
'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'RouteServerEndpoint': 'endpoint-1'|'endpoint-2'
},
'ClientToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkRouteServerPeer (dict) --
Information about the route server peer.
VirtualEdgeNetworkRouteServerPeerId (string) --
The ID of the route server peer.
VirtualEdgeNetworkRouteServerPeerArn (string) --
The Amazon Resource Name (ARN) of the route server peer.
SecondarySubnetId (string) --
The ID of the secondary subnet.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the route server peer.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the route server peer.
AvailabilityZone (string) --
The Availability Zone of the route server peer.
AmazonSideAsn (integer) --
The autonomous system number (ASN) for the Amazon side of the BGP session.
Ipv4PeerAddressRange (string) --
The IPv4 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.
Ipv6PeerAddressRange (string) --
The IPv6 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.
BgpOptions (dict) --
The BGP options for the route server peer.
PeerAsn (integer) --
The autonomous system number (ASN) of the peer.
PeerLivenessDetection (string) --
The method used to detect whether the peer is available.
BfdConfiguration (dict) --
The BFD configuration for the peer.
Duration (integer) --
The minimum interval, in milliseconds, between BFD control packets.
Multiplier (integer) --
The number of consecutive BFD control packets that can be missed before the peer is considered unavailable.
State (string) --
The state of the route server peer.
StateReason (string) --
The reason for the current state of the route server peer.
Tags (list) --
The tags assigned to the route server peer.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
RouteServerEndpoint (string) --
The route server endpoint that the route server peer connects to.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
Creates a virtual edge network gateway in a secondary network.
The secondary network must have the network type virtual-edge. The virtual edge network gateway is in the same Availability Zone as the secondary network.
See also: AWS API Documentation
Request Syntax
client.create_virtual_edge_network_gateway(
ClientToken='string',
DryRun=True|False,
SecondaryNetworkId='string',
TagSpecifications=[
{
'ResourceType': 'capacity-reservation'|'client-vpn-endpoint'|'customer-gateway'|'carrier-gateway'|'coip-pool'|'declarative-policies-report'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fca-policy'|'fleet'|'fpga-image'|'host-reservation'|'image'|'image-usage-report'|'import-image-task'|'import-snapshot-task'|'instance'|'instance-event-window'|'internet-gateway'|'ipam'|'ipam-pool'|'ipam-scope'|'ipv4pool-ec2'|'ipv6pool-ec2'|'key-pair'|'launch-template'|'local-gateway'|'local-gateway-route-table'|'local-gateway-virtual-interface'|'local-gateway-virtual-interface-group'|'local-gateway-route-table-vpc-association'|'local-gateway-route-table-virtual-interface-group-association'|'natgateway'|'network-acl'|'network-interface'|'network-insights-analysis'|'network-insights-path'|'network-insights-access-scope'|'network-insights-access-scope-analysis'|'outpost-lag'|'placement-group'|'prefix-list'|'replace-root-volume-task'|'reserved-instances'|'route-table'|'security-group'|'security-group-rule'|'service-link-virtual-interface'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'subnet-cidr-reservation'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-connect-peer'|'transit-gateway-multicast-domain'|'transit-gateway-policy-table'|'transit-gateway-metering-policy'|'transit-gateway-route-table'|'transit-gateway-route-table-announcement'|'volume'|'vpc'|'vpc-endpoint'|'vpc-endpoint-connection'|'vpc-endpoint-service'|'vpc-endpoint-service-permission'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log'|'capacity-reservation-fleet'|'traffic-mirror-filter-rule'|'vpc-endpoint-connection-device-type'|'verified-access-instance'|'verified-access-group'|'verified-access-endpoint'|'verified-access-policy'|'verified-access-trust-provider'|'vpn-connection-device-type'|'vpc-block-public-access-exclusion'|'vpc-encryption-control'|'route-server'|'route-server-endpoint'|'route-server-peer'|'ipam-resource-discovery'|'ipam-resource-discovery-association'|'instance-connect-endpoint'|'verified-access-endpoint-target'|'ipam-external-resource-verification-token'|'capacity-block'|'mac-modification-task'|'ipam-prefix-list-resolver'|'ipam-policy'|'ipam-prefix-list-resolver-target'|'ipam-internet-registry-association'|'secondary-interface'|'secondary-network'|'secondary-subnet'|'capacity-manager-data-export'|'vpn-concentrator'|'ipam-pool-allocation'|'capacity-reservation-cancellation-quote'|'application-status-check'|'capacity-reservation-modification-quote'|'secondary-network-acl'|'secondary-network-acl-association'|'metric-category'|'virtual-edge-network-gateway'|'virtual-edge-network-gateway-route-table'|'virtual-edge-network-gateway-route-table-association'|'virtual-edge-network-route-server-peer',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
]
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the secondary network in which to create the virtual edge network gateway.
list
The tags to assign to the virtual edge network gateway.
(dict) --
The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.
ResourceType (string) --
The type of resource to tag on creation.
Tags (list) --
The tags to apply to the resource.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
dict
Response Syntax
{
'VirtualEdgeNetworkGateway': {
'VirtualEdgeNetworkGatewayId': 'string',
'VirtualEdgeNetworkGatewayArn': 'string',
'OwnerId': 'string',
'SecondaryNetworkId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
'ClientToken': 'string'
}
Response Structure
(dict) --
VirtualEdgeNetworkGateway (dict) --
Information about the virtual edge network gateway.
VirtualEdgeNetworkGatewayId (string) --
The ID of the virtual edge network gateway.
VirtualEdgeNetworkGatewayArn (string) --
The Amazon Resource Name (ARN) of the virtual edge network gateway.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the virtual edge network gateway.
SecondaryNetworkId (string) --
The ID of the secondary network that contains the virtual edge network gateway.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the virtual edge network gateway.
AvailabilityZone (string) --
The Availability Zone of the virtual edge network gateway.
State (string) --
The state of the virtual edge network gateway.
StateReason (string) --
The reason for the current state of the virtual edge network gateway.
Tags (list) --
The tags assigned to the virtual edge network gateway.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
{'Associations': {'ResourceType': {'sse-connect'}}}
Accepts a request to associate subnets with a transit gateway multicast domain.
See also: AWS API Documentation
Request Syntax
client.accept_transit_gateway_multicast_domain_associations(
TransitGatewayMulticastDomainId='string',
TransitGatewayAttachmentId='string',
SubnetIds=[
'string',
],
DryRun=True|False
)
string
The ID of the transit gateway multicast domain.
string
The ID of the transit gateway attachment.
list
The IDs of the subnets to associate with the transit gateway multicast domain.
(string) --
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'Associations': {
'TransitGatewayMulticastDomainId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'ResourceOwnerId': 'string',
'Subnets': [
{
'SubnetId': 'string',
'State': 'pendingAcceptance'|'associating'|'associated'|'disassociating'|'disassociated'|'rejected'|'failed'
},
]
}
}
Response Structure
(dict) --
Associations (dict) --
Information about the multicast domain associations.
TransitGatewayMulticastDomainId (string) --
The ID of the transit gateway multicast domain.
TransitGatewayAttachmentId (string) --
The ID of the transit gateway attachment.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The type of resource, for example a VPC attachment.
ResourceOwnerId (string) --
The ID of the Amazon Web Services account that owns the resource.
Subnets (list) --
The subnets associated with the multicast domain.
(dict) --
Describes the subnet association with the transit gateway multicast domain.
SubnetId (string) --
The ID of the subnet.
State (string) --
The state of the subnet association.
{'IpamPoolAllocation': {'ResourceType': {'virtual-edge-network-gateway-allowed-advertisement'}}}
Allocate a CIDR from an IPAM pool. The Region you use should be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM pool is available for allocations.
In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource. For more information, see Allocate CIDRs in the Amazon VPC IPAM User Guide.
See also: AWS API Documentation
Request Syntax
client.allocate_ipam_pool_cidr(
DryRun=True|False,
IpamPoolId='string',
Cidr='string',
NetmaskLength=123,
ClientToken='string',
Description='string',
PreviewNextCidr=True|False,
AllowedCidrs=[
'string',
],
DisallowedCidrs=[
'string',
],
TagSpecifications=[
{
'ResourceType': 'capacity-reservation'|'client-vpn-endpoint'|'customer-gateway'|'carrier-gateway'|'coip-pool'|'declarative-policies-report'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fca-policy'|'fleet'|'fpga-image'|'host-reservation'|'image'|'image-usage-report'|'import-image-task'|'import-snapshot-task'|'instance'|'instance-event-window'|'internet-gateway'|'ipam'|'ipam-pool'|'ipam-scope'|'ipv4pool-ec2'|'ipv6pool-ec2'|'key-pair'|'launch-template'|'local-gateway'|'local-gateway-route-table'|'local-gateway-virtual-interface'|'local-gateway-virtual-interface-group'|'local-gateway-route-table-vpc-association'|'local-gateway-route-table-virtual-interface-group-association'|'natgateway'|'network-acl'|'network-interface'|'network-insights-analysis'|'network-insights-path'|'network-insights-access-scope'|'network-insights-access-scope-analysis'|'outpost-lag'|'placement-group'|'prefix-list'|'replace-root-volume-task'|'reserved-instances'|'route-table'|'security-group'|'security-group-rule'|'service-link-virtual-interface'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'subnet-cidr-reservation'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-connect-peer'|'transit-gateway-multicast-domain'|'transit-gateway-policy-table'|'transit-gateway-metering-policy'|'transit-gateway-route-table'|'transit-gateway-route-table-announcement'|'volume'|'vpc'|'vpc-endpoint'|'vpc-endpoint-connection'|'vpc-endpoint-service'|'vpc-endpoint-service-permission'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log'|'capacity-reservation-fleet'|'traffic-mirror-filter-rule'|'vpc-endpoint-connection-device-type'|'verified-access-instance'|'verified-access-group'|'verified-access-endpoint'|'verified-access-policy'|'verified-access-trust-provider'|'vpn-connection-device-type'|'vpc-block-public-access-exclusion'|'vpc-encryption-control'|'route-server'|'route-server-endpoint'|'route-server-peer'|'ipam-resource-discovery'|'ipam-resource-discovery-association'|'instance-connect-endpoint'|'verified-access-endpoint-target'|'ipam-external-resource-verification-token'|'capacity-block'|'mac-modification-task'|'ipam-prefix-list-resolver'|'ipam-policy'|'ipam-prefix-list-resolver-target'|'ipam-internet-registry-association'|'secondary-interface'|'secondary-network'|'secondary-subnet'|'capacity-manager-data-export'|'vpn-concentrator'|'ipam-pool-allocation'|'capacity-reservation-cancellation-quote'|'application-status-check'|'capacity-reservation-modification-quote'|'secondary-network-acl'|'secondary-network-acl-association'|'metric-category'|'virtual-edge-network-gateway'|'virtual-edge-network-gateway-route-table'|'virtual-edge-network-gateway-route-table-association'|'virtual-edge-network-route-server-peer',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
]
)
boolean
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the IPAM pool from which you would like to allocate a CIDR.
string
The CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible values: Any available IPv4 or IPv6 CIDR.
integer
The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
This field is autopopulated if not provided.
string
A description for the allocation.
boolean
A preview of the next available CIDR in a pool.
list
Include a particular CIDR range that can be returned by the pool. Allowed CIDRs are only allowed if using netmask length for allocation.
(string) --
list
Exclude a particular CIDR range from being returned by the pool. Disallowed CIDRs are only allowed if using netmask length for allocation.
(string) --
list
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
If you specify tags, the request is authorized against the allocation resource in addition to the pool resource.
(dict) --
The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.
ResourceType (string) --
The type of resource to tag on creation.
Tags (list) --
The tags to apply to the resource.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
dict
Response Syntax
{
'IpamPoolAllocation': {
'Cidr': 'string',
'IpamPoolAllocationId': 'string',
'Description': 'string',
'ResourceId': 'string',
'ResourceType': 'ipam-pool'|'vpc'|'ec2-public-ipv4-pool'|'custom'|'subnet'|'eip'|'anycast-ip-list'|'virtual-edge-network-gateway-allowed-advertisement',
'ResourceRegion': 'string',
'ResourceOwner': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
}
Response Structure
(dict) --
IpamPoolAllocation (dict) --
Information about the allocation created.
Cidr (string) --
The CIDR for the allocation. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23. An IPv6 CIDR example is 2001:DB8::/32.
IpamPoolAllocationId (string) --
The ID of an allocation.
Description (string) --
A description of the pool allocation.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The type of the resource.
ResourceRegion (string) --
The Amazon Web Services Region of the resource.
ResourceOwner (string) --
The owner of the resource.
Tags (list) --
The tags for the IPAM pool allocation.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
{'Associations': {'ResourceType': {'sse-connect'}}}
Associates the specified subnets and transit gateway attachments with the specified transit gateway multicast domain.
The transit gateway attachment must be in the available state before you can add a resource. Use DescribeTransitGatewayAttachments to see the state of the attachment.
See also: AWS API Documentation
Request Syntax
client.associate_transit_gateway_multicast_domain(
TransitGatewayMulticastDomainId='string',
TransitGatewayAttachmentId='string',
SubnetIds=[
'string',
],
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway multicast domain.
string
[REQUIRED]
The ID of the transit gateway attachment to associate with the transit gateway multicast domain.
list
[REQUIRED]
The IDs of the subnets to associate with the transit gateway multicast domain.
(string) --
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'Associations': {
'TransitGatewayMulticastDomainId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'ResourceOwnerId': 'string',
'Subnets': [
{
'SubnetId': 'string',
'State': 'pendingAcceptance'|'associating'|'associated'|'disassociating'|'disassociated'|'rejected'|'failed'
},
]
}
}
Response Structure
(dict) --
Associations (dict) --
Information about the transit gateway multicast domain associations.
TransitGatewayMulticastDomainId (string) --
The ID of the transit gateway multicast domain.
TransitGatewayAttachmentId (string) --
The ID of the transit gateway attachment.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The type of resource, for example a VPC attachment.
ResourceOwnerId (string) --
The ID of the Amazon Web Services account that owns the resource.
Subnets (list) --
The subnets associated with the multicast domain.
(dict) --
Describes the subnet association with the transit gateway multicast domain.
SubnetId (string) --
The ID of the subnet.
State (string) --
The state of the subnet association.
{'Association': {'ResourceType': {'sse-connect'}}}
Associates the specified transit gateway attachment with a transit gateway policy table.
See also: AWS API Documentation
Request Syntax
client.associate_transit_gateway_policy_table(
TransitGatewayPolicyTableId='string',
TransitGatewayAttachmentId='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway policy table to associate with the transit gateway attachment.
string
[REQUIRED]
The ID of the transit gateway attachment to associate with the policy table.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'Association': {
'TransitGatewayPolicyTableId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'State': 'associating'|'associated'|'disassociating'|'disassociated'
}
}
Response Structure
(dict) --
Association (dict) --
Describes the association of a transit gateway and a transit gateway policy table.
TransitGatewayPolicyTableId (string) --
The ID of the transit gateway policy table.
TransitGatewayAttachmentId (string) --
The ID of the transit gateway attachment.
ResourceId (string) --
The resource ID of the transit gateway attachment.
ResourceType (string) --
The resource type for the transit gateway policy table association.
State (string) --
The state of the transit gateway policy table association.
{'Association': {'ResourceType': {'sse-connect'}}}
Associates the specified attachment with the specified transit gateway route table. You can associate only one route table with an attachment.
See also: AWS API Documentation
Request Syntax
client.associate_transit_gateway_route_table(
TransitGatewayRouteTableId='string',
TransitGatewayAttachmentId='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway route table.
string
[REQUIRED]
The ID of the attachment.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'Association': {
'TransitGatewayRouteTableId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'State': 'associating'|'associated'|'disassociating'|'disassociated'
}
}
Response Structure
(dict) --
Association (dict) --
The ID of the association.
TransitGatewayRouteTableId (string) --
The ID of the transit gateway route table.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
State (string) --
The state of the association.
{'AwsService': {'virtual-edge-network'}}
Response {'IpamPool': {'AwsService': {'virtual-edge-network'}}}
Create an IP address pool for Amazon VPC IP Address Manager (IPAM). In IPAM, a pool is a collection of contiguous IP addresses CIDRs. Pools enable you to organize your IP addresses according to your routing and security needs. For example, if you have separate routing and security needs for development and production applications, you can create a pool for each.
For more information, see Create a top-level pool in the Amazon VPC IPAM User Guide.
See also: AWS API Documentation
Request Syntax
client.create_ipam_pool(
DryRun=True|False,
IpamScopeId='string',
Locale='string',
SourceIpamPoolId='string',
Description='string',
AddressFamily='ipv4'|'ipv6',
AutoImport=True|False,
PubliclyAdvertisable=True|False,
AllocationMinNetmaskLength=123,
AllocationMaxNetmaskLength=123,
AllocationDefaultNetmaskLength=123,
AllocationResourceTags=[
{
'Key': 'string',
'Value': 'string'
},
],
TagSpecifications=[
{
'ResourceType': 'capacity-reservation'|'client-vpn-endpoint'|'customer-gateway'|'carrier-gateway'|'coip-pool'|'declarative-policies-report'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fca-policy'|'fleet'|'fpga-image'|'host-reservation'|'image'|'image-usage-report'|'import-image-task'|'import-snapshot-task'|'instance'|'instance-event-window'|'internet-gateway'|'ipam'|'ipam-pool'|'ipam-scope'|'ipv4pool-ec2'|'ipv6pool-ec2'|'key-pair'|'launch-template'|'local-gateway'|'local-gateway-route-table'|'local-gateway-virtual-interface'|'local-gateway-virtual-interface-group'|'local-gateway-route-table-vpc-association'|'local-gateway-route-table-virtual-interface-group-association'|'natgateway'|'network-acl'|'network-interface'|'network-insights-analysis'|'network-insights-path'|'network-insights-access-scope'|'network-insights-access-scope-analysis'|'outpost-lag'|'placement-group'|'prefix-list'|'replace-root-volume-task'|'reserved-instances'|'route-table'|'security-group'|'security-group-rule'|'service-link-virtual-interface'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'subnet-cidr-reservation'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-connect-peer'|'transit-gateway-multicast-domain'|'transit-gateway-policy-table'|'transit-gateway-metering-policy'|'transit-gateway-route-table'|'transit-gateway-route-table-announcement'|'volume'|'vpc'|'vpc-endpoint'|'vpc-endpoint-connection'|'vpc-endpoint-service'|'vpc-endpoint-service-permission'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log'|'capacity-reservation-fleet'|'traffic-mirror-filter-rule'|'vpc-endpoint-connection-device-type'|'verified-access-instance'|'verified-access-group'|'verified-access-endpoint'|'verified-access-policy'|'verified-access-trust-provider'|'vpn-connection-device-type'|'vpc-block-public-access-exclusion'|'vpc-encryption-control'|'route-server'|'route-server-endpoint'|'route-server-peer'|'ipam-resource-discovery'|'ipam-resource-discovery-association'|'instance-connect-endpoint'|'verified-access-endpoint-target'|'ipam-external-resource-verification-token'|'capacity-block'|'mac-modification-task'|'ipam-prefix-list-resolver'|'ipam-policy'|'ipam-prefix-list-resolver-target'|'ipam-internet-registry-association'|'secondary-interface'|'secondary-network'|'secondary-subnet'|'capacity-manager-data-export'|'vpn-concentrator'|'ipam-pool-allocation'|'capacity-reservation-cancellation-quote'|'application-status-check'|'capacity-reservation-modification-quote'|'secondary-network-acl'|'secondary-network-acl-association'|'metric-category'|'virtual-edge-network-gateway'|'virtual-edge-network-gateway-route-table'|'virtual-edge-network-gateway-route-table-association'|'virtual-edge-network-route-server-peer',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
ClientToken='string',
AwsService='ec2'|'global-services'|'virtual-edge-network',
PublicIpSource='amazon'|'byoip',
SourceResource={
'ResourceId': 'string',
'ResourceType': 'vpc',
'ResourceRegion': 'string',
'ResourceOwner': 'string'
}
)
boolean
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the scope in which you would like to create the IPAM pool.
string
The locale for the pool should be one of the following:
An Amazon Web Services Region where you want this IPAM pool to be available for allocations.
The network border group for an Amazon Web Services Local Zone where you want this IPAM pool to be available for allocations ( supported Local Zones). This option is only available for IPAM IPv4 pools in the public scope.
Possible values: Any Amazon Web Services Region or supported Amazon Web Services Local Zone. Default is none and means any locale.
string
The ID of the source IPAM pool. Use this option to create a pool within an existing pool. Note that the CIDR you provision for the pool within the source pool must be available in the source pool's CIDR range.
string
A description for the IPAM pool.
string
[REQUIRED]
The IP protocol assigned to this IPAM pool. You must choose either IPv4 or IPv6 protocol for a pool.
boolean
If selected, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for these resources must not already be allocated to other resources in order for the import to succeed. IPAM will import a CIDR regardless of its compliance with the pool's allocation rules, so a resource might be imported and subsequently marked as noncompliant. If IPAM discovers multiple CIDRs that overlap, IPAM will import the largest CIDR only. If IPAM discovers multiple CIDRs with matching CIDRs, IPAM will randomly import one of them only.
A locale must be set on the pool for this feature to work.
boolean
Determines if the pool is publicly advertisable. The request can only contain PubliclyAdvertisable if AddressFamily is ipv6 and PublicIpSource is byoip.
integer
The minimum netmask length required for CIDR allocations in this IPAM pool to be compliant. The minimum netmask length must be less than the maximum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
integer
The maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant. The maximum netmask length must be greater than the minimum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
integer
The default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.
list
Tags that are required for resources that use CIDRs from this IPAM pool. Resources that do not have these tags will not be allowed to allocate space from the pool. If the resources have their tags changed after they have allocated space or if the allocation tagging requirements are changed on the pool, the resource may be marked as noncompliant.
(dict) --
A tag on an IPAM resource.
Key (string) --
The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
Value (string) --
The value for the tag.
list
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
(dict) --
The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.
ResourceType (string) --
The type of resource to tag on creation.
Tags (list) --
The tags to apply to the resource.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
This field is autopopulated if not provided.
string
Limits which service in Amazon Web Services that the pool can be used in. "ec2", for example, allows users to use space for Elastic IP addresses and VPCs.
string
The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Default is byoip. For more information, see Create IPv6 pools in the Amazon VPC IPAM User Guide. By default, you can add only one Amazon-provided IPv6 CIDR block to a top-level IPv6 pool if PublicIpSource is amazon. For information on increasing the default limit, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.
dict
The resource used to provision CIDRs to a resource planning pool.
ResourceId (string) --
The source resource ID.
ResourceType (string) --
The source resource type.
ResourceRegion (string) --
The source resource Region.
ResourceOwner (string) --
The source resource owner.
dict
Response Syntax
{
'IpamPool': {
'OwnerId': 'string',
'IpamPoolId': 'string',
'SourceIpamPoolId': 'string',
'IpamPoolArn': 'string',
'IpamScopeArn': 'string',
'IpamScopeType': 'public'|'private',
'IpamArn': 'string',
'IpamRegion': 'string',
'Locale': 'string',
'PoolDepth': 123,
'State': 'create-in-progress'|'create-complete'|'create-failed'|'modify-in-progress'|'modify-complete'|'modify-failed'|'delete-in-progress'|'delete-complete'|'delete-failed'|'isolate-in-progress'|'isolate-complete'|'restore-in-progress',
'StateMessage': 'string',
'Description': 'string',
'AutoImport': True|False,
'PubliclyAdvertisable': True|False,
'AddressFamily': 'ipv4'|'ipv6',
'AllocationMinNetmaskLength': 123,
'AllocationMaxNetmaskLength': 123,
'AllocationDefaultNetmaskLength': 123,
'AllocationResourceTags': [
{
'Key': 'string',
'Value': 'string'
},
],
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'AwsService': 'ec2'|'global-services'|'virtual-edge-network',
'PublicIpSource': 'amazon'|'byoip',
'SourceResource': {
'ResourceId': 'string',
'ResourceType': 'vpc',
'ResourceRegion': 'string',
'ResourceOwner': 'string'
}
}
}
Response Structure
(dict) --
IpamPool (dict) --
Information about the IPAM pool created.
OwnerId (string) --
The Amazon Web Services account ID of the owner of the IPAM pool.
IpamPoolId (string) --
The ID of the IPAM pool.
SourceIpamPoolId (string) --
The ID of the source IPAM pool. You can use this option to create an IPAM pool within an existing source pool.
IpamPoolArn (string) --
The Amazon Resource Name (ARN) of the IPAM pool.
IpamScopeArn (string) --
The ARN of the scope of the IPAM pool.
IpamScopeType (string) --
In IPAM, a scope is the highest-level container within IPAM. An IPAM contains two default scopes. Each scope represents the IP space for a single network. The private scope is intended for all private IP address space. The public scope is intended for all public IP address space. Scopes enable you to reuse IP addresses across multiple unconnected networks without causing IP address overlap or conflict.
IpamArn (string) --
The ARN of the IPAM.
IpamRegion (string) --
The Amazon Web Services Region of the IPAM pool.
Locale (string) --
The locale of the IPAM pool.
The locale for the pool should be one of the following:
An Amazon Web Services Region where you want this IPAM pool to be available for allocations.
The network border group for an Amazon Web Services Local Zone where you want this IPAM pool to be available for allocations ( supported Local Zones). This option is only available for IPAM IPv4 pools in the public scope.
If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error.
PoolDepth (integer) --
The depth of pools in your IPAM pool. The pool depth quota is 10. For more information, see Quotas in IPAM in the Amazon VPC IPAM User Guide.
State (string) --
The state of the IPAM pool.
StateMessage (string) --
The state message.
Description (string) --
The description of the IPAM pool.
AutoImport (boolean) --
If selected, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for these resources must not already be allocated to other resources in order for the import to succeed. IPAM will import a CIDR regardless of its compliance with the pool's allocation rules, so a resource might be imported and subsequently marked as noncompliant. If IPAM discovers multiple CIDRs that overlap, IPAM will import the largest CIDR only. If IPAM discovers multiple CIDRs with matching CIDRs, IPAM will randomly import one of them only.
A locale must be set on the pool for this feature to work.
PubliclyAdvertisable (boolean) --
Determines if a pool is publicly advertisable. This option is not available for pools with AddressFamily set to ipv4.
AddressFamily (string) --
The address family of the pool.
AllocationMinNetmaskLength (integer) --
The minimum netmask length required for CIDR allocations in this IPAM pool to be compliant. The minimum netmask length must be less than the maximum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
AllocationMaxNetmaskLength (integer) --
The maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant. The maximum netmask length must be greater than the minimum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
AllocationDefaultNetmaskLength (integer) --
The default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.
AllocationResourceTags (list) --
Tags that are required for resources that use CIDRs from this IPAM pool. Resources that do not have these tags will not be allowed to allocate space from the pool. If the resources have their tags changed after they have allocated space or if the allocation tagging requirements are changed on the pool, the resource may be marked as noncompliant.
(dict) --
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
Key (string) --
The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
Value (string) --
The value of the tag.
Tags (list) --
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
AwsService (string) --
Limits which service in Amazon Web Services that the pool can be used in. "ec2", for example, allows users to use space for Elastic IP addresses and VPCs.
PublicIpSource (string) --
The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Default is BYOIP. For more information, see Create IPv6 pools in the Amazon VPC IPAM User Guide. By default, you can add only one Amazon-provided IPv6 CIDR block to a top-level IPv6 pool. For information on increasing the default limit, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.
SourceResource (dict) --
The resource used to provision CIDRs to a resource planning pool.
ResourceId (string) --
The source resource ID.
ResourceType (string) --
The source resource type.
ResourceRegion (string) --
The source resource Region.
ResourceOwner (string) --
The source resource owner.
{'LaunchTemplateData': {'SecondaryInterfaces': {'EnaQueueCount': 'integer',
'Ipv6AddressCount': 'integer',
'Ipv6Addresses': [{'Ipv6Address': 'string'}],
'VlanMode': 'access'},
'TagSpecifications': {'ResourceType': {'secondary-network-acl',
'secondary-network-acl-association',
'virtual-edge-network-gateway',
'virtual-edge-network-gateway-route-table',
'virtual-edge-network-gateway-route-table-association',
'virtual-edge-network-route-server-peer'}}}}
{'LaunchTemplateData': {'SecondaryInterfaces': {'EnaQueueCount': 'integer',
'Ipv6AddressCount': 'integer',
'Ipv6Addresses': [{'Ipv6Address': 'string'}],
'VlanMode': 'access'},
'TagSpecifications': {'ResourceType': {'secondary-network-acl',
'secondary-network-acl-association',
'virtual-edge-network-gateway',
'virtual-edge-network-gateway-route-table',
'virtual-edge-network-gateway-route-table-association',
'virtual-edge-network-route-server-peer'}}}}
Response {'LaunchTemplateVersion': {'LaunchTemplateData': {'SecondaryInterfaces': {'EnaQueueCount': 'integer',
'Ipv6AddressCount': 'integer',
'Ipv6Addresses': [{'Ipv6Address': 'string'}],
'VlanMode': 'access'},
'TagSpecifications': {'ResourceType': {'secondary-network-acl',
'secondary-network-acl-association',
'virtual-edge-network-gateway',
'virtual-edge-network-gateway-route-table',
'virtual-edge-network-gateway-route-table-association',
'virtual-edge-network-route-server-peer'}}}}}
{'AvailabilityZone': 'string',
'AvailabilityZoneId': 'string',
'DefaultNativeVlan': 'integer',
'NetworkType': {'virtual-edge'},
'VlanMode': 'access'}
Response {'SecondaryNetwork': {'AvailabilityZone': 'string',
'AvailabilityZoneId': 'string',
'DefaultNativeVlan': 'integer',
'Type': {'virtual-edge'},
'VlanMode': 'access'}}
Creates a secondary network.
See also: AWS API Documentation
Request Syntax
client.create_secondary_network(
ClientToken='string',
DryRun=True|False,
Ipv4CidrBlock='string',
NetworkType='rdma'|'virtual-edge',
VlanMode='access',
TagSpecifications=[
{
'ResourceType': 'capacity-reservation'|'client-vpn-endpoint'|'customer-gateway'|'carrier-gateway'|'coip-pool'|'declarative-policies-report'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fca-policy'|'fleet'|'fpga-image'|'host-reservation'|'image'|'image-usage-report'|'import-image-task'|'import-snapshot-task'|'instance'|'instance-event-window'|'internet-gateway'|'ipam'|'ipam-pool'|'ipam-scope'|'ipv4pool-ec2'|'ipv6pool-ec2'|'key-pair'|'launch-template'|'local-gateway'|'local-gateway-route-table'|'local-gateway-virtual-interface'|'local-gateway-virtual-interface-group'|'local-gateway-route-table-vpc-association'|'local-gateway-route-table-virtual-interface-group-association'|'natgateway'|'network-acl'|'network-interface'|'network-insights-analysis'|'network-insights-path'|'network-insights-access-scope'|'network-insights-access-scope-analysis'|'outpost-lag'|'placement-group'|'prefix-list'|'replace-root-volume-task'|'reserved-instances'|'route-table'|'security-group'|'security-group-rule'|'service-link-virtual-interface'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'subnet-cidr-reservation'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-connect-peer'|'transit-gateway-multicast-domain'|'transit-gateway-policy-table'|'transit-gateway-metering-policy'|'transit-gateway-route-table'|'transit-gateway-route-table-announcement'|'volume'|'vpc'|'vpc-endpoint'|'vpc-endpoint-connection'|'vpc-endpoint-service'|'vpc-endpoint-service-permission'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log'|'capacity-reservation-fleet'|'traffic-mirror-filter-rule'|'vpc-endpoint-connection-device-type'|'verified-access-instance'|'verified-access-group'|'verified-access-endpoint'|'verified-access-policy'|'verified-access-trust-provider'|'vpn-connection-device-type'|'vpc-block-public-access-exclusion'|'vpc-encryption-control'|'route-server'|'route-server-endpoint'|'route-server-peer'|'ipam-resource-discovery'|'ipam-resource-discovery-association'|'instance-connect-endpoint'|'verified-access-endpoint-target'|'ipam-external-resource-verification-token'|'capacity-block'|'mac-modification-task'|'ipam-prefix-list-resolver'|'ipam-policy'|'ipam-prefix-list-resolver-target'|'ipam-internet-registry-association'|'secondary-interface'|'secondary-network'|'secondary-subnet'|'capacity-manager-data-export'|'vpn-concentrator'|'ipam-pool-allocation'|'capacity-reservation-cancellation-quote'|'application-status-check'|'capacity-reservation-modification-quote'|'secondary-network-acl'|'secondary-network-acl-association'|'metric-category'|'virtual-edge-network-gateway'|'virtual-edge-network-gateway-route-table'|'virtual-edge-network-gateway-route-table-association'|'virtual-edge-network-route-server-peer',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
AvailabilityZone='string',
AvailabilityZoneId='string',
DefaultNativeVlan=123
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
The IPv4 CIDR block for the secondary network. The allowed size for the CIDR block is between /28 netmask (16 IP addresses) and /12 netmask (1,048,576 IP addresses). Required for rdma secondary networks, and not supported for virtual-edge secondary networks.
string
[REQUIRED]
The type of secondary network. To create a virtual edge network, specify virtual-edge.
string
The VLAN mode of the secondary network. Required for virtual-edge secondary networks, and not supported for rdma secondary networks.
list
The tags to assign to the secondary network.
(dict) --
The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.
ResourceType (string) --
The type of resource to tag on creation.
Tags (list) --
The tags to apply to the resource.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
string
The Availability Zone or Local Zone where you run the secondary network. You must specify either AvailabilityZone or AvailabilityZoneId, but not both. Supported only for virtual-edge secondary networks.
string
The ID of the Availability Zone or Local Zone where you run the secondary network. You must specify either AvailabilityZone or AvailabilityZoneId, but not both. This option is preferred over AvailabilityZone because it provides a consistent identifier across Amazon Web Services accounts. Supported only for virtual-edge secondary networks.
integer
The default native VLAN ID for the secondary network. Secondary subnets that you create in the secondary network use this VLAN. Valid values are from 1 to 4094. The default is 1. Supported only for virtual-edge secondary networks.
dict
Response Syntax
{
'SecondaryNetwork': {
'SecondaryNetworkId': 'string',
'SecondaryNetworkArn': 'string',
'OwnerId': 'string',
'Type': 'rdma'|'virtual-edge',
'VlanMode': 'access',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Ipv4CidrBlockAssociations': [
{
'AssociationId': 'string',
'CidrBlock': 'string',
'State': 'associating'|'associated'|'association-failed'|'disassociating'|'disassociated'|'disassociation-failed',
'StateReason': 'string'
},
],
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'AvailabilityZone': 'string',
'AvailabilityZoneId': 'string',
'DefaultNativeVlan': 123
},
'ClientToken': 'string'
}
Response Structure
(dict) --
SecondaryNetwork (dict) --
Information about the secondary network.
SecondaryNetworkId (string) --
The ID of the secondary network.
SecondaryNetworkArn (string) --
The Amazon Resource Name (ARN) of the secondary network.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the secondary network.
Type (string) --
The type of the secondary network.
VlanMode (string) --
The VLAN mode of the secondary network. This value is returned only for virtual-edge secondary networks.
State (string) --
The state of the secondary network.
StateReason (string) --
The reason for the current state of the secondary network.
Ipv4CidrBlockAssociations (list) --
Information about the IPv4 CIDR blocks associated with the secondary network. This value is returned only for rdma secondary networks.
(dict) --
Describes an IPv4 CIDR block associated with a secondary network.
AssociationId (string) --
The association ID for the IPv4 CIDR block.
CidrBlock (string) --
The IPv4 CIDR block.
State (string) --
The state of the CIDR block association.
StateReason (string) --
The reason for the current state of the CIDR block association.
Tags (list) --
The tags assigned to the secondary network.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
AvailabilityZone (string) --
The Availability Zone of the secondary network. This value is returned only for virtual-edge secondary networks.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the secondary network. This value is returned only for virtual-edge secondary networks.
DefaultNativeVlan (integer) --
The default native VLAN ID for the secondary network. This value is returned only for virtual-edge secondary networks.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
{'Ipv6CidrBlock': 'string'}
Response {'SecondarySubnet': {'Ipv6CidrBlockAssociations': [{'AssociationId': 'string',
'Ipv6CidrBlock': 'string',
'State': 'associating | '
'associated | '
'association-failed '
'| disassociating '
'| disassociated '
'| '
'disassociation-failed',
'StateReason': 'string'}],
'SecondaryNetworkType': {'virtual-edge'}}}
Creates a secondary subnet in a secondary network.
A secondary subnet CIDR block must not overlap with the CIDR block of an existing secondary subnet in the secondary network. After you create a secondary subnet, you can't change its CIDR block.
For an IPv4 CIDR block, the allowed size is between /28 netmask and /12 netmask. For an IPv6 CIDR block, the allowed size is between /44 netmask and /64 netmask. Amazon Web Services reserves IP addresses in each secondary subnet for internal use. In an rdma secondary subnet, Amazon Web Services reserves the first four IP addresses and the last IP address. In a virtual-edge secondary subnet, Amazon Web Services reserves the first five IP addresses and the last IP address.
See also: AWS API Documentation
Request Syntax
client.create_secondary_subnet(
ClientToken='string',
AvailabilityZone='string',
AvailabilityZoneId='string',
DryRun=True|False,
Ipv4CidrBlock='string',
SecondaryNetworkId='string',
TagSpecifications=[
{
'ResourceType': 'capacity-reservation'|'client-vpn-endpoint'|'customer-gateway'|'carrier-gateway'|'coip-pool'|'declarative-policies-report'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fca-policy'|'fleet'|'fpga-image'|'host-reservation'|'image'|'image-usage-report'|'import-image-task'|'import-snapshot-task'|'instance'|'instance-event-window'|'internet-gateway'|'ipam'|'ipam-pool'|'ipam-scope'|'ipv4pool-ec2'|'ipv6pool-ec2'|'key-pair'|'launch-template'|'local-gateway'|'local-gateway-route-table'|'local-gateway-virtual-interface'|'local-gateway-virtual-interface-group'|'local-gateway-route-table-vpc-association'|'local-gateway-route-table-virtual-interface-group-association'|'natgateway'|'network-acl'|'network-interface'|'network-insights-analysis'|'network-insights-path'|'network-insights-access-scope'|'network-insights-access-scope-analysis'|'outpost-lag'|'placement-group'|'prefix-list'|'replace-root-volume-task'|'reserved-instances'|'route-table'|'security-group'|'security-group-rule'|'service-link-virtual-interface'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'subnet-cidr-reservation'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-connect-peer'|'transit-gateway-multicast-domain'|'transit-gateway-policy-table'|'transit-gateway-metering-policy'|'transit-gateway-route-table'|'transit-gateway-route-table-announcement'|'volume'|'vpc'|'vpc-endpoint'|'vpc-endpoint-connection'|'vpc-endpoint-service'|'vpc-endpoint-service-permission'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log'|'capacity-reservation-fleet'|'traffic-mirror-filter-rule'|'vpc-endpoint-connection-device-type'|'verified-access-instance'|'verified-access-group'|'verified-access-endpoint'|'verified-access-policy'|'verified-access-trust-provider'|'vpn-connection-device-type'|'vpc-block-public-access-exclusion'|'vpc-encryption-control'|'route-server'|'route-server-endpoint'|'route-server-peer'|'ipam-resource-discovery'|'ipam-resource-discovery-association'|'instance-connect-endpoint'|'verified-access-endpoint-target'|'ipam-external-resource-verification-token'|'capacity-block'|'mac-modification-task'|'ipam-prefix-list-resolver'|'ipam-policy'|'ipam-prefix-list-resolver-target'|'ipam-internet-registry-association'|'secondary-interface'|'secondary-network'|'secondary-subnet'|'capacity-manager-data-export'|'vpn-concentrator'|'ipam-pool-allocation'|'capacity-reservation-cancellation-quote'|'application-status-check'|'capacity-reservation-modification-quote'|'secondary-network-acl'|'secondary-network-acl-association'|'metric-category'|'virtual-edge-network-gateway'|'virtual-edge-network-gateway-route-table'|'virtual-edge-network-gateway-route-table-association'|'virtual-edge-network-route-server-peer',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
Ipv6CidrBlock='string'
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
string
The Availability Zone for the secondary subnet. You must specify either AvailabilityZone or AvailabilityZoneId, but not both. For a secondary subnet in a virtual-edge secondary network, specify the Availability Zone that you specified when you created the secondary network.
string
The ID of the Availability Zone for the secondary subnet. You must specify either AvailabilityZone or AvailabilityZoneId, but not both. For a secondary subnet in a virtual-edge secondary network, specify the Availability Zone that you specified when you created the secondary network. This option is preferred over AvailabilityZone because it provides a consistent identifier across Amazon Web Services accounts.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
The IPv4 CIDR block for the secondary subnet. The allowed size for the CIDR block is between /28 netmask and /12 netmask.
string
[REQUIRED]
The ID of the secondary network in which to create the secondary subnet.
list
The tags to assign to the secondary subnet.
(dict) --
The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.
ResourceType (string) --
The type of resource to tag on creation.
Tags (list) --
The tags to apply to the resource.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
string
The IPv6 CIDR block for the secondary subnet. The CIDR block size must be between /44 and /64. Supported only for virtual-edge secondary networks.
dict
Response Syntax
{
'SecondarySubnet': {
'SecondarySubnetId': 'string',
'SecondarySubnetArn': 'string',
'SecondaryNetworkId': 'string',
'SecondaryNetworkType': 'rdma'|'virtual-edge',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'Ipv4CidrBlockAssociations': [
{
'AssociationId': 'string',
'CidrBlock': 'string',
'State': 'associating'|'associated'|'association-failed'|'disassociating'|'disassociated'|'disassociation-failed',
'StateReason': 'string'
},
],
'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'Ipv6CidrBlockAssociations': [
{
'AssociationId': 'string',
'Ipv6CidrBlock': 'string',
'State': 'associating'|'associated'|'association-failed'|'disassociating'|'disassociated'|'disassociation-failed',
'StateReason': 'string'
},
]
},
'ClientToken': 'string'
}
Response Structure
(dict) --
SecondarySubnet (dict) --
Information about the secondary subnet.
SecondarySubnetId (string) --
The ID of the secondary subnet.
SecondarySubnetArn (string) --
The Amazon Resource Name (ARN) of the secondary subnet.
SecondaryNetworkId (string) --
The ID of the secondary network.
SecondaryNetworkType (string) --
The type of the secondary network.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the secondary subnet.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the secondary subnet.
AvailabilityZone (string) --
The Availability Zone of the secondary subnet.
Ipv4CidrBlockAssociations (list) --
Information about the IPv4 CIDR blocks associated with the secondary subnet.
(dict) --
Describes an IPv4 CIDR block associated with a secondary subnet.
AssociationId (string) --
The association ID for the IPv4 CIDR block.
CidrBlock (string) --
The IPv4 CIDR block.
State (string) --
The state of the CIDR block association.
StateReason (string) --
The reason for the current state of the CIDR block association.
State (string) --
The state of the secondary subnet.
StateReason (string) --
The reason for the current state of the secondary subnet.
Tags (list) --
The tags assigned to the secondary subnet.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
Ipv6CidrBlockAssociations (list) --
Information about the IPv6 CIDR blocks associated with the secondary subnet. This value is returned only for secondary subnets in virtual-edge secondary networks.
(dict) --
Describes an IPv6 CIDR block associated with a secondary subnet.
AssociationId (string) --
The association ID for the IPv6 CIDR block.
Ipv6CidrBlock (string) --
The IPv6 CIDR block.
State (string) --
The state of the CIDR block association.
StateReason (string) --
The reason for the current state of the CIDR block association.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
{'DestinationTransitGatewayAttachmentType': {'sse-connect'},
'SourceTransitGatewayAttachmentType': {'sse-connect'}}
Response {'TransitGatewayMeteringPolicyEntry': {'MeteringPolicyRule': {'DestinationTransitGatewayAttachmentType': {'sse-connect'},
'SourceTransitGatewayAttachmentType': {'sse-connect'}}}}
Creates an entry in a transit gateway metering policy to define traffic measurement rules.
See also: AWS API Documentation
Request Syntax
client.create_transit_gateway_metering_policy_entry(
TransitGatewayMeteringPolicyId='string',
PolicyRuleNumber=123,
SourceTransitGatewayAttachmentId='string',
SourceTransitGatewayAttachmentType='vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
SourceCidrBlock='string',
SourcePortRange='string',
DestinationTransitGatewayAttachmentId='string',
DestinationTransitGatewayAttachmentType='vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
DestinationCidrBlock='string',
DestinationPortRange='string',
Protocol='string',
MeteredAccount='source-attachment-owner'|'destination-attachment-owner'|'transit-gateway-owner',
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway metering policy to add the entry to.
integer
[REQUIRED]
The rule number for the metering policy entry. Rules are processed in order from lowest to highest number.
string
The ID of the source transit gateway attachment for traffic matching.
string
The type of the source transit gateway attachment for traffic matching. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.
string
The source CIDR block for traffic matching.
string
The source port range for traffic matching.
string
The ID of the destination transit gateway attachment for traffic matching.
string
The type of the destination transit gateway attachment for traffic matching. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.
string
The destination CIDR block for traffic matching.
string
The destination port range for traffic matching.
string
The protocol for traffic matching (1, 6, 17, etc.).
string
[REQUIRED]
The Amazon Web Services account ID to which the metered traffic should be attributed.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'TransitGatewayMeteringPolicyEntry': {
'PolicyRuleNumber': 'string',
'MeteredAccount': 'source-attachment-owner'|'destination-attachment-owner'|'transit-gateway-owner',
'State': 'available'|'deleted',
'UpdatedAt': datetime(2015, 1, 1),
'UpdateEffectiveAt': datetime(2015, 1, 1),
'MeteringPolicyRule': {
'SourceTransitGatewayAttachmentId': 'string',
'SourceTransitGatewayAttachmentType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'SourceCidrBlock': 'string',
'SourcePortRange': 'string',
'DestinationTransitGatewayAttachmentId': 'string',
'DestinationTransitGatewayAttachmentType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'DestinationCidrBlock': 'string',
'DestinationPortRange': 'string',
'Protocol': 'string'
}
}
}
Response Structure
(dict) --
TransitGatewayMeteringPolicyEntry (dict) --
Information about the created transit gateway metering policy entry.
PolicyRuleNumber (string) --
The rule number of the metering policy entry.
MeteredAccount (string) --
The Amazon Web Services account ID to which the metered traffic is attributed.
State (string) --
The state of the metering policy entry.
UpdatedAt (datetime) --
The date and time when the metering policy entry was last updated.
UpdateEffectiveAt (datetime) --
The date and time when the metering policy entry update becomes effective.
MeteringPolicyRule (dict) --
The metering policy rule that defines traffic matching criteria.
SourceTransitGatewayAttachmentId (string) --
The ID of the source transit gateway attachment.
SourceTransitGatewayAttachmentType (string) --
The type of the source transit gateway attachment. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.
SourceCidrBlock (string) --
The source CIDR block for the rule.
SourcePortRange (string) --
The source port range for the rule.
DestinationTransitGatewayAttachmentId (string) --
The ID of the destination transit gateway attachment.
DestinationTransitGatewayAttachmentType (string) --
The type of the destination transit gateway attachment. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.
DestinationCidrBlock (string) --
The destination CIDR block for the rule.
DestinationPortRange (string) --
The destination port range for the rule.
Protocol (string) --
The protocol for the rule (1, 6, 17, etc.).
{'TransitGatewayPrefixListReference': {'TransitGatewayAttachment': {'ResourceType': {'sse-connect'}}}}
Creates a reference (route) to a prefix list in a specified transit gateway route table.
See also: AWS API Documentation
Request Syntax
client.create_transit_gateway_prefix_list_reference(
TransitGatewayRouteTableId='string',
PrefixListId='string',
TransitGatewayAttachmentId='string',
Blackhole=True|False,
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway route table.
string
[REQUIRED]
The ID of the prefix list that is used for destination matches.
string
The ID of the attachment to which traffic is routed.
boolean
Indicates whether to drop traffic that matches this route.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'TransitGatewayPrefixListReference': {
'TransitGatewayRouteTableId': 'string',
'PrefixListId': 'string',
'PrefixListOwnerId': 'string',
'State': 'pending'|'available'|'modifying'|'deleting',
'Blackhole': True|False,
'TransitGatewayAttachment': {
'TransitGatewayAttachmentId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'ResourceId': 'string'
}
}
}
Response Structure
(dict) --
TransitGatewayPrefixListReference (dict) --
Information about the prefix list reference.
TransitGatewayRouteTableId (string) --
The ID of the transit gateway route table.
PrefixListId (string) --
The ID of the prefix list.
PrefixListOwnerId (string) --
The ID of the prefix list owner.
State (string) --
The state of the prefix list reference.
Blackhole (boolean) --
Indicates whether traffic that matches this route is dropped.
TransitGatewayAttachment (dict) --
Information about the transit gateway attachment.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
ResourceId (string) --
The ID of the resource.
{'Route': {'TransitGatewayAttachments': {'ResourceType': {'sse-connect'}}}}
Creates a static route for the specified transit gateway route table.
See also: AWS API Documentation
Request Syntax
client.create_transit_gateway_route(
DestinationCidrBlock='string',
TransitGatewayRouteTableId='string',
TransitGatewayAttachmentId='string',
Blackhole=True|False,
DryRun=True|False
)
string
[REQUIRED]
The CIDR range used for destination matches. Routing decisions are based on the most specific match.
string
[REQUIRED]
The ID of the transit gateway route table.
string
The ID of the attachment.
boolean
Indicates whether to drop traffic that matches this route.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'Route': {
'DestinationCidrBlock': 'string',
'PrefixListId': 'string',
'TransitGatewayRouteTableAnnouncementId': 'string',
'TransitGatewayAttachments': [
{
'ResourceId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect'
},
],
'Type': 'static'|'propagated'|'system',
'State': 'pending'|'active'|'blackhole'|'deleting'|'deleted'
}
}
Response Structure
(dict) --
Route (dict) --
Information about the route.
DestinationCidrBlock (string) --
The CIDR block used for destination matches.
PrefixListId (string) --
The ID of the prefix list used for destination matches.
TransitGatewayRouteTableAnnouncementId (string) --
The ID of the transit gateway route table announcement.
TransitGatewayAttachments (list) --
The attachments.
(dict) --
Describes a route attachment.
ResourceId (string) --
The ID of the resource.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
Type (string) --
The route type.
State (string) --
The state of the route.
{'IpamPool': {'AwsService': {'virtual-edge-network'}}}
Delete an IPAM pool.
For more information, see Delete a pool in the Amazon VPC IPAM User Guide.
See also: AWS API Documentation
Request Syntax
client.delete_ipam_pool(
DryRun=True|False,
IpamPoolId='string',
Cascade=True|False
)
boolean
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the pool to delete.
boolean
Enables you to quickly delete an IPAM pool and all resources within that pool, including provisioned CIDRs, allocations, and other pools.
dict
Response Syntax
{
'IpamPool': {
'OwnerId': 'string',
'IpamPoolId': 'string',
'SourceIpamPoolId': 'string',
'IpamPoolArn': 'string',
'IpamScopeArn': 'string',
'IpamScopeType': 'public'|'private',
'IpamArn': 'string',
'IpamRegion': 'string',
'Locale': 'string',
'PoolDepth': 123,
'State': 'create-in-progress'|'create-complete'|'create-failed'|'modify-in-progress'|'modify-complete'|'modify-failed'|'delete-in-progress'|'delete-complete'|'delete-failed'|'isolate-in-progress'|'isolate-complete'|'restore-in-progress',
'StateMessage': 'string',
'Description': 'string',
'AutoImport': True|False,
'PubliclyAdvertisable': True|False,
'AddressFamily': 'ipv4'|'ipv6',
'AllocationMinNetmaskLength': 123,
'AllocationMaxNetmaskLength': 123,
'AllocationDefaultNetmaskLength': 123,
'AllocationResourceTags': [
{
'Key': 'string',
'Value': 'string'
},
],
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'AwsService': 'ec2'|'global-services'|'virtual-edge-network',
'PublicIpSource': 'amazon'|'byoip',
'SourceResource': {
'ResourceId': 'string',
'ResourceType': 'vpc',
'ResourceRegion': 'string',
'ResourceOwner': 'string'
}
}
}
Response Structure
(dict) --
IpamPool (dict) --
Information about the results of the deletion.
OwnerId (string) --
The Amazon Web Services account ID of the owner of the IPAM pool.
IpamPoolId (string) --
The ID of the IPAM pool.
SourceIpamPoolId (string) --
The ID of the source IPAM pool. You can use this option to create an IPAM pool within an existing source pool.
IpamPoolArn (string) --
The Amazon Resource Name (ARN) of the IPAM pool.
IpamScopeArn (string) --
The ARN of the scope of the IPAM pool.
IpamScopeType (string) --
In IPAM, a scope is the highest-level container within IPAM. An IPAM contains two default scopes. Each scope represents the IP space for a single network. The private scope is intended for all private IP address space. The public scope is intended for all public IP address space. Scopes enable you to reuse IP addresses across multiple unconnected networks without causing IP address overlap or conflict.
IpamArn (string) --
The ARN of the IPAM.
IpamRegion (string) --
The Amazon Web Services Region of the IPAM pool.
Locale (string) --
The locale of the IPAM pool.
The locale for the pool should be one of the following:
An Amazon Web Services Region where you want this IPAM pool to be available for allocations.
The network border group for an Amazon Web Services Local Zone where you want this IPAM pool to be available for allocations ( supported Local Zones). This option is only available for IPAM IPv4 pools in the public scope.
If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error.
PoolDepth (integer) --
The depth of pools in your IPAM pool. The pool depth quota is 10. For more information, see Quotas in IPAM in the Amazon VPC IPAM User Guide.
State (string) --
The state of the IPAM pool.
StateMessage (string) --
The state message.
Description (string) --
The description of the IPAM pool.
AutoImport (boolean) --
If selected, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for these resources must not already be allocated to other resources in order for the import to succeed. IPAM will import a CIDR regardless of its compliance with the pool's allocation rules, so a resource might be imported and subsequently marked as noncompliant. If IPAM discovers multiple CIDRs that overlap, IPAM will import the largest CIDR only. If IPAM discovers multiple CIDRs with matching CIDRs, IPAM will randomly import one of them only.
A locale must be set on the pool for this feature to work.
PubliclyAdvertisable (boolean) --
Determines if a pool is publicly advertisable. This option is not available for pools with AddressFamily set to ipv4.
AddressFamily (string) --
The address family of the pool.
AllocationMinNetmaskLength (integer) --
The minimum netmask length required for CIDR allocations in this IPAM pool to be compliant. The minimum netmask length must be less than the maximum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
AllocationMaxNetmaskLength (integer) --
The maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant. The maximum netmask length must be greater than the minimum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
AllocationDefaultNetmaskLength (integer) --
The default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.
AllocationResourceTags (list) --
Tags that are required for resources that use CIDRs from this IPAM pool. Resources that do not have these tags will not be allowed to allocate space from the pool. If the resources have their tags changed after they have allocated space or if the allocation tagging requirements are changed on the pool, the resource may be marked as noncompliant.
(dict) --
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
Key (string) --
The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
Value (string) --
The value of the tag.
Tags (list) --
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
AwsService (string) --
Limits which service in Amazon Web Services that the pool can be used in. "ec2", for example, allows users to use space for Elastic IP addresses and VPCs.
PublicIpSource (string) --
The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Default is BYOIP. For more information, see Create IPv6 pools in the Amazon VPC IPAM User Guide. By default, you can add only one Amazon-provided IPv6 CIDR block to a top-level IPv6 pool. For information on increasing the default limit, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.
SourceResource (dict) --
The resource used to provision CIDRs to a resource planning pool.
ResourceId (string) --
The source resource ID.
ResourceType (string) --
The source resource type.
ResourceRegion (string) --
The source resource Region.
ResourceOwner (string) --
The source resource owner.
{'SecondaryNetwork': {'AvailabilityZone': 'string',
'AvailabilityZoneId': 'string',
'DefaultNativeVlan': 'integer',
'Type': {'virtual-edge'},
'VlanMode': 'access'}}
Deletes a secondary network. You must delete all secondary subnets, virtual edge network gateways, and secondary network ACLs in the secondary network before you can delete the secondary network.
See also: AWS API Documentation
Request Syntax
client.delete_secondary_network(
ClientToken='string',
DryRun=True|False,
SecondaryNetworkId='string'
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the secondary network.
dict
Response Syntax
{
'SecondaryNetwork': {
'SecondaryNetworkId': 'string',
'SecondaryNetworkArn': 'string',
'OwnerId': 'string',
'Type': 'rdma'|'virtual-edge',
'VlanMode': 'access',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Ipv4CidrBlockAssociations': [
{
'AssociationId': 'string',
'CidrBlock': 'string',
'State': 'associating'|'associated'|'association-failed'|'disassociating'|'disassociated'|'disassociation-failed',
'StateReason': 'string'
},
],
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'AvailabilityZone': 'string',
'AvailabilityZoneId': 'string',
'DefaultNativeVlan': 123
},
'ClientToken': 'string'
}
Response Structure
(dict) --
SecondaryNetwork (dict) --
Information about the secondary network.
SecondaryNetworkId (string) --
The ID of the secondary network.
SecondaryNetworkArn (string) --
The Amazon Resource Name (ARN) of the secondary network.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the secondary network.
Type (string) --
The type of the secondary network.
VlanMode (string) --
The VLAN mode of the secondary network. This value is returned only for virtual-edge secondary networks.
State (string) --
The state of the secondary network.
StateReason (string) --
The reason for the current state of the secondary network.
Ipv4CidrBlockAssociations (list) --
Information about the IPv4 CIDR blocks associated with the secondary network. This value is returned only for rdma secondary networks.
(dict) --
Describes an IPv4 CIDR block associated with a secondary network.
AssociationId (string) --
The association ID for the IPv4 CIDR block.
CidrBlock (string) --
The IPv4 CIDR block.
State (string) --
The state of the CIDR block association.
StateReason (string) --
The reason for the current state of the CIDR block association.
Tags (list) --
The tags assigned to the secondary network.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
AvailabilityZone (string) --
The Availability Zone of the secondary network. This value is returned only for virtual-edge secondary networks.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the secondary network. This value is returned only for virtual-edge secondary networks.
DefaultNativeVlan (integer) --
The default native VLAN ID for the secondary network. This value is returned only for virtual-edge secondary networks.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
{'SecondarySubnet': {'Ipv6CidrBlockAssociations': [{'AssociationId': 'string',
'Ipv6CidrBlock': 'string',
'State': 'associating | '
'associated | '
'association-failed '
'| disassociating '
'| disassociated '
'| '
'disassociation-failed',
'StateReason': 'string'}],
'SecondaryNetworkType': {'virtual-edge'}}}
Deletes a secondary subnet. A secondary subnet must not contain any secondary interfaces prior to deletion.
A virtual-edge secondary subnet also must not have a route table association, route server peers, or a secondary network ACL association prior to deletion.
See also: AWS API Documentation
Request Syntax
client.delete_secondary_subnet(
ClientToken='string',
DryRun=True|False,
SecondarySubnetId='string'
)
string
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
This field is autopopulated if not provided.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the secondary subnet to delete.
dict
Response Syntax
{
'SecondarySubnet': {
'SecondarySubnetId': 'string',
'SecondarySubnetArn': 'string',
'SecondaryNetworkId': 'string',
'SecondaryNetworkType': 'rdma'|'virtual-edge',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'Ipv4CidrBlockAssociations': [
{
'AssociationId': 'string',
'CidrBlock': 'string',
'State': 'associating'|'associated'|'association-failed'|'disassociating'|'disassociated'|'disassociation-failed',
'StateReason': 'string'
},
],
'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'Ipv6CidrBlockAssociations': [
{
'AssociationId': 'string',
'Ipv6CidrBlock': 'string',
'State': 'associating'|'associated'|'association-failed'|'disassociating'|'disassociated'|'disassociation-failed',
'StateReason': 'string'
},
]
},
'ClientToken': 'string'
}
Response Structure
(dict) --
SecondarySubnet (dict) --
Information about the secondary subnet being deleted.
SecondarySubnetId (string) --
The ID of the secondary subnet.
SecondarySubnetArn (string) --
The Amazon Resource Name (ARN) of the secondary subnet.
SecondaryNetworkId (string) --
The ID of the secondary network.
SecondaryNetworkType (string) --
The type of the secondary network.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the secondary subnet.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the secondary subnet.
AvailabilityZone (string) --
The Availability Zone of the secondary subnet.
Ipv4CidrBlockAssociations (list) --
Information about the IPv4 CIDR blocks associated with the secondary subnet.
(dict) --
Describes an IPv4 CIDR block associated with a secondary subnet.
AssociationId (string) --
The association ID for the IPv4 CIDR block.
CidrBlock (string) --
The IPv4 CIDR block.
State (string) --
The state of the CIDR block association.
StateReason (string) --
The reason for the current state of the CIDR block association.
State (string) --
The state of the secondary subnet.
StateReason (string) --
The reason for the current state of the secondary subnet.
Tags (list) --
The tags assigned to the secondary subnet.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
Ipv6CidrBlockAssociations (list) --
Information about the IPv6 CIDR blocks associated with the secondary subnet. This value is returned only for secondary subnets in virtual-edge secondary networks.
(dict) --
Describes an IPv6 CIDR block associated with a secondary subnet.
AssociationId (string) --
The association ID for the IPv6 CIDR block.
Ipv6CidrBlock (string) --
The IPv6 CIDR block.
State (string) --
The state of the CIDR block association.
StateReason (string) --
The reason for the current state of the CIDR block association.
ClientToken (string) --
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
{'TransitGatewayMeteringPolicyEntry': {'MeteringPolicyRule': {'DestinationTransitGatewayAttachmentType': {'sse-connect'},
'SourceTransitGatewayAttachmentType': {'sse-connect'}}}}
Deletes an entry from a transit gateway metering policy.
See also: AWS API Documentation
Request Syntax
client.delete_transit_gateway_metering_policy_entry(
TransitGatewayMeteringPolicyId='string',
PolicyRuleNumber=123,
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway metering policy containing the entry to delete.
integer
[REQUIRED]
The rule number of the metering policy entry to delete.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'TransitGatewayMeteringPolicyEntry': {
'PolicyRuleNumber': 'string',
'MeteredAccount': 'source-attachment-owner'|'destination-attachment-owner'|'transit-gateway-owner',
'State': 'available'|'deleted',
'UpdatedAt': datetime(2015, 1, 1),
'UpdateEffectiveAt': datetime(2015, 1, 1),
'MeteringPolicyRule': {
'SourceTransitGatewayAttachmentId': 'string',
'SourceTransitGatewayAttachmentType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'SourceCidrBlock': 'string',
'SourcePortRange': 'string',
'DestinationTransitGatewayAttachmentId': 'string',
'DestinationTransitGatewayAttachmentType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'DestinationCidrBlock': 'string',
'DestinationPortRange': 'string',
'Protocol': 'string'
}
}
}
Response Structure
(dict) --
TransitGatewayMeteringPolicyEntry (dict) --
Information about the deleted transit gateway metering policy entry.
PolicyRuleNumber (string) --
The rule number of the metering policy entry.
MeteredAccount (string) --
The Amazon Web Services account ID to which the metered traffic is attributed.
State (string) --
The state of the metering policy entry.
UpdatedAt (datetime) --
The date and time when the metering policy entry was last updated.
UpdateEffectiveAt (datetime) --
The date and time when the metering policy entry update becomes effective.
MeteringPolicyRule (dict) --
The metering policy rule that defines traffic matching criteria.
SourceTransitGatewayAttachmentId (string) --
The ID of the source transit gateway attachment.
SourceTransitGatewayAttachmentType (string) --
The type of the source transit gateway attachment. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.
SourceCidrBlock (string) --
The source CIDR block for the rule.
SourcePortRange (string) --
The source port range for the rule.
DestinationTransitGatewayAttachmentId (string) --
The ID of the destination transit gateway attachment.
DestinationTransitGatewayAttachmentType (string) --
The type of the destination transit gateway attachment. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.
DestinationCidrBlock (string) --
The destination CIDR block for the rule.
DestinationPortRange (string) --
The destination port range for the rule.
Protocol (string) --
The protocol for the rule (1, 6, 17, etc.).
{'TransitGatewayPrefixListReference': {'TransitGatewayAttachment': {'ResourceType': {'sse-connect'}}}}
Deletes a reference (route) to a prefix list in a specified transit gateway route table.
See also: AWS API Documentation
Request Syntax
client.delete_transit_gateway_prefix_list_reference(
TransitGatewayRouteTableId='string',
PrefixListId='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the route table.
string
[REQUIRED]
The ID of the prefix list.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'TransitGatewayPrefixListReference': {
'TransitGatewayRouteTableId': 'string',
'PrefixListId': 'string',
'PrefixListOwnerId': 'string',
'State': 'pending'|'available'|'modifying'|'deleting',
'Blackhole': True|False,
'TransitGatewayAttachment': {
'TransitGatewayAttachmentId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'ResourceId': 'string'
}
}
}
Response Structure
(dict) --
TransitGatewayPrefixListReference (dict) --
Information about the deleted prefix list reference.
TransitGatewayRouteTableId (string) --
The ID of the transit gateway route table.
PrefixListId (string) --
The ID of the prefix list.
PrefixListOwnerId (string) --
The ID of the prefix list owner.
State (string) --
The state of the prefix list reference.
Blackhole (boolean) --
Indicates whether traffic that matches this route is dropped.
TransitGatewayAttachment (dict) --
Information about the transit gateway attachment.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
ResourceId (string) --
The ID of the resource.
{'Route': {'TransitGatewayAttachments': {'ResourceType': {'sse-connect'}}}}
Deletes the specified route from the specified transit gateway route table.
See also: AWS API Documentation
Request Syntax
client.delete_transit_gateway_route(
TransitGatewayRouteTableId='string',
DestinationCidrBlock='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway route table.
string
[REQUIRED]
The CIDR range for the route. This must match the CIDR for the route exactly.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'Route': {
'DestinationCidrBlock': 'string',
'PrefixListId': 'string',
'TransitGatewayRouteTableAnnouncementId': 'string',
'TransitGatewayAttachments': [
{
'ResourceId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect'
},
],
'Type': 'static'|'propagated'|'system',
'State': 'pending'|'active'|'blackhole'|'deleting'|'deleted'
}
}
Response Structure
(dict) --
Route (dict) --
Information about the route.
DestinationCidrBlock (string) --
The CIDR block used for destination matches.
PrefixListId (string) --
The ID of the prefix list used for destination matches.
TransitGatewayRouteTableAnnouncementId (string) --
The ID of the transit gateway route table announcement.
TransitGatewayAttachments (list) --
The attachments.
(dict) --
Describes a route attachment.
ResourceId (string) --
The ID of the resource.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
Type (string) --
The route type.
State (string) --
The state of the route.
{'Reservations': {'Instances': {'SecondaryInterfaces': {'Attachment': {'EnaQueueCount': 'integer'},
'Ipv6Addresses': [{'Ipv6Address': 'string'}],
'VlanMode': 'access'}}}}
{'IpamPoolAllocations': {'ResourceType': {'virtual-edge-network-gateway-allowed-advertisement'}}}
Describes IPAM pool allocations. You can describe all allocations owned by you across all pools, or you can describe specific allocations by ID.
If you specify IpamPoolAllocationIds, the results include only the specified allocations. If you do not specify IpamPoolAllocationIds, the results include all allocations owned by you. You can use Filters to narrow the results.
See also: AWS API Documentation
Request Syntax
client.describe_ipam_pool_allocations(
DryRun=True|False,
IpamPoolAllocationIds=[
'string',
],
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string'
)
boolean
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The IDs of the IPAM pool allocations you want to describe.
(string) --
list
One or more filters for the request. For more information about filtering, see Filtering CLI output.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
string
The token for the next page of results.
dict
Response Syntax
{
'IpamPoolAllocations': [
{
'Cidr': 'string',
'IpamPoolAllocationId': 'string',
'Description': 'string',
'ResourceId': 'string',
'ResourceType': 'ipam-pool'|'vpc'|'ec2-public-ipv4-pool'|'custom'|'subnet'|'eip'|'anycast-ip-list'|'virtual-edge-network-gateway-allowed-advertisement',
'ResourceRegion': 'string',
'ResourceOwner': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
IpamPoolAllocations (list) --
Information about the IPAM pool allocations.
(dict) --
In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource.
Cidr (string) --
The CIDR for the allocation. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23. An IPv6 CIDR example is 2001:DB8::/32.
IpamPoolAllocationId (string) --
The ID of an allocation.
Description (string) --
A description of the pool allocation.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The type of the resource.
ResourceRegion (string) --
The Amazon Web Services Region of the resource.
ResourceOwner (string) --
The owner of the resource.
Tags (list) --
The tags for the IPAM pool allocation.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
{'IpamPools': {'AwsService': {'virtual-edge-network'}}}
Get information about your IPAM pools.
See also: AWS API Documentation
Request Syntax
client.describe_ipam_pools(
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
IpamPoolIds=[
'string',
]
)
boolean
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
One or more filters for the request. For more information about filtering, see Filtering CLI output.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
string
The token for the next page of results.
list
The IDs of the IPAM pools you would like information on.
(string) --
dict
Response Syntax
{
'NextToken': 'string',
'IpamPools': [
{
'OwnerId': 'string',
'IpamPoolId': 'string',
'SourceIpamPoolId': 'string',
'IpamPoolArn': 'string',
'IpamScopeArn': 'string',
'IpamScopeType': 'public'|'private',
'IpamArn': 'string',
'IpamRegion': 'string',
'Locale': 'string',
'PoolDepth': 123,
'State': 'create-in-progress'|'create-complete'|'create-failed'|'modify-in-progress'|'modify-complete'|'modify-failed'|'delete-in-progress'|'delete-complete'|'delete-failed'|'isolate-in-progress'|'isolate-complete'|'restore-in-progress',
'StateMessage': 'string',
'Description': 'string',
'AutoImport': True|False,
'PubliclyAdvertisable': True|False,
'AddressFamily': 'ipv4'|'ipv6',
'AllocationMinNetmaskLength': 123,
'AllocationMaxNetmaskLength': 123,
'AllocationDefaultNetmaskLength': 123,
'AllocationResourceTags': [
{
'Key': 'string',
'Value': 'string'
},
],
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'AwsService': 'ec2'|'global-services'|'virtual-edge-network',
'PublicIpSource': 'amazon'|'byoip',
'SourceResource': {
'ResourceId': 'string',
'ResourceType': 'vpc',
'ResourceRegion': 'string',
'ResourceOwner': 'string'
}
},
]
}
Response Structure
(dict) --
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
IpamPools (list) --
Information about the IPAM pools.
(dict) --
In IPAM, a pool is a collection of contiguous IP addresses CIDRs. Pools enable you to organize your IP addresses according to your routing and security needs. For example, if you have separate routing and security needs for development and production applications, you can create a pool for each.
OwnerId (string) --
The Amazon Web Services account ID of the owner of the IPAM pool.
IpamPoolId (string) --
The ID of the IPAM pool.
SourceIpamPoolId (string) --
The ID of the source IPAM pool. You can use this option to create an IPAM pool within an existing source pool.
IpamPoolArn (string) --
The Amazon Resource Name (ARN) of the IPAM pool.
IpamScopeArn (string) --
The ARN of the scope of the IPAM pool.
IpamScopeType (string) --
In IPAM, a scope is the highest-level container within IPAM. An IPAM contains two default scopes. Each scope represents the IP space for a single network. The private scope is intended for all private IP address space. The public scope is intended for all public IP address space. Scopes enable you to reuse IP addresses across multiple unconnected networks without causing IP address overlap or conflict.
IpamArn (string) --
The ARN of the IPAM.
IpamRegion (string) --
The Amazon Web Services Region of the IPAM pool.
Locale (string) --
The locale of the IPAM pool.
The locale for the pool should be one of the following:
An Amazon Web Services Region where you want this IPAM pool to be available for allocations.
The network border group for an Amazon Web Services Local Zone where you want this IPAM pool to be available for allocations ( supported Local Zones). This option is only available for IPAM IPv4 pools in the public scope.
If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error.
PoolDepth (integer) --
The depth of pools in your IPAM pool. The pool depth quota is 10. For more information, see Quotas in IPAM in the Amazon VPC IPAM User Guide.
State (string) --
The state of the IPAM pool.
StateMessage (string) --
The state message.
Description (string) --
The description of the IPAM pool.
AutoImport (boolean) --
If selected, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for these resources must not already be allocated to other resources in order for the import to succeed. IPAM will import a CIDR regardless of its compliance with the pool's allocation rules, so a resource might be imported and subsequently marked as noncompliant. If IPAM discovers multiple CIDRs that overlap, IPAM will import the largest CIDR only. If IPAM discovers multiple CIDRs with matching CIDRs, IPAM will randomly import one of them only.
A locale must be set on the pool for this feature to work.
PubliclyAdvertisable (boolean) --
Determines if a pool is publicly advertisable. This option is not available for pools with AddressFamily set to ipv4.
AddressFamily (string) --
The address family of the pool.
AllocationMinNetmaskLength (integer) --
The minimum netmask length required for CIDR allocations in this IPAM pool to be compliant. The minimum netmask length must be less than the maximum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
AllocationMaxNetmaskLength (integer) --
The maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant. The maximum netmask length must be greater than the minimum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
AllocationDefaultNetmaskLength (integer) --
The default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.
AllocationResourceTags (list) --
Tags that are required for resources that use CIDRs from this IPAM pool. Resources that do not have these tags will not be allowed to allocate space from the pool. If the resources have their tags changed after they have allocated space or if the allocation tagging requirements are changed on the pool, the resource may be marked as noncompliant.
(dict) --
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
Key (string) --
The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
Value (string) --
The value of the tag.
Tags (list) --
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
AwsService (string) --
Limits which service in Amazon Web Services that the pool can be used in. "ec2", for example, allows users to use space for Elastic IP addresses and VPCs.
PublicIpSource (string) --
The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Default is BYOIP. For more information, see Create IPv6 pools in the Amazon VPC IPAM User Guide. By default, you can add only one Amazon-provided IPv6 CIDR block to a top-level IPv6 pool. For information on increasing the default limit, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.
SourceResource (dict) --
The resource used to provision CIDRs to a resource planning pool.
ResourceId (string) --
The source resource ID.
ResourceType (string) --
The source resource type.
ResourceRegion (string) --
The source resource Region.
ResourceOwner (string) --
The source resource owner.
{'LaunchTemplateVersions': {'LaunchTemplateData': {'SecondaryInterfaces': {'EnaQueueCount': 'integer',
'Ipv6AddressCount': 'integer',
'Ipv6Addresses': [{'Ipv6Address': 'string'}],
'VlanMode': 'access'},
'TagSpecifications': {'ResourceType': {'secondary-network-acl',
'secondary-network-acl-association',
'virtual-edge-network-gateway',
'virtual-edge-network-gateway-route-table',
'virtual-edge-network-gateway-route-table-association',
'virtual-edge-network-route-server-peer'}}}}}
{'SecondaryInterfaces': {'Attachment': {'EnaQueueCount': 'integer'},
'Ipv6Addresses': [{'Ipv6Address': 'string'}],
'SecondaryNetworkType': {'virtual-edge'},
'VlanMode': 'access'}}
Describes one or more of your secondary interfaces.
See also: AWS API Documentation
Request Syntax
client.describe_secondary_interfaces(
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
SecondaryInterfaceIds=[
'string',
]
)
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
attachment.attachment-id – The ID of the secondary interface attachment.
attachment.ena-queue-count – The number of ENA queues for the secondary interface.
attachment.instance-id – The ID of the instance to which the secondary interface is attached.
attachment.instance-owner-id – The ID of the Amazon Web Services account that owns the instance to which the secondary interface is attached.
attachment.status – The attachment status ( attaching | attached | detaching | detached).
ipv6-addresses.ipv6-address – An IPv6 address associated with the secondary interface.
private-ipv4-addresses.private-ip-address – The private IPv4 address associated with the secondary interface.
owner-id – The ID of the Amazon Web Services account that owns the secondary interface.
secondary-interface-arn – The ARN of the secondary interface.
secondary-interface-id – The ID of the secondary interface.
secondary-interface-type – The type of secondary interface ( secondary).
secondary-network-id – The ID of the secondary network.
secondary-network-type – The type of the secondary network ( rdma | virtual-edge).
secondary-subnet-id – The ID of the secondary subnet.
status – The status of the secondary interface ( available | in-use).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
tag-key – The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
vlan-mode – The VLAN mode of the secondary interface ( access).
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
list
The IDs of the secondary interfaces.
(string) --
dict
Response Syntax
{
'SecondaryInterfaces': [
{
'AvailabilityZone': 'string',
'AvailabilityZoneId': 'string',
'Attachment': {
'AttachmentId': 'string',
'AttachTime': datetime(2015, 1, 1),
'DeleteOnTermination': True|False,
'DeviceIndex': 123,
'EnaQueueCount': 123,
'InstanceId': 'string',
'InstanceOwnerId': 'string',
'NetworkCardIndex': 123,
'Status': 'attaching'|'attached'|'detaching'|'detached'
},
'MacAddress': 'string',
'OwnerId': 'string',
'PrivateIpv4Addresses': [
{
'PrivateIpAddress': 'string'
},
],
'SecondaryInterfaceId': 'string',
'SecondaryInterfaceArn': 'string',
'SecondaryInterfaceType': 'secondary',
'SecondarySubnetId': 'string',
'SecondaryNetworkId': 'string',
'SecondaryNetworkType': 'rdma'|'virtual-edge',
'SourceDestCheck': True|False,
'Status': 'available'|'in-use',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'Ipv6Addresses': [
{
'Ipv6Address': 'string'
},
],
'VlanMode': 'access'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
SecondaryInterfaces (list) --
Information about the secondary interfaces.
(dict) --
Describes a secondary interface.
AvailabilityZone (string) --
The Availability Zone of the secondary interface.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the secondary interface.
Attachment (dict) --
The attachment information for the secondary interface.
AttachmentId (string) --
The ID of the attachment.
AttachTime (datetime) --
The timestamp when the attachment was created.
DeleteOnTermination (boolean) --
Indicates whether the secondary interface is deleted when the instance is terminated.
The only supported value for this field is true.
DeviceIndex (integer) --
The device index of the secondary interface.
EnaQueueCount (integer) --
The number of ENA queues for the secondary interface. This value is returned only for secondary interfaces in virtual-edge secondary networks.
InstanceId (string) --
The ID of the instance to which the secondary interface is attached.
InstanceOwnerId (string) --
The Amazon Web Services account ID of the owner of the instance.
NetworkCardIndex (integer) --
The index of the network card.
Status (string) --
The attachment state.
MacAddress (string) --
The MAC address of the secondary interface.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the secondary interface.
PrivateIpv4Addresses (list) --
The private IPv4 addresses associated with the secondary interface.
(dict) --
Describes a private IPv4 address for a secondary interface.
PrivateIpAddress (string) --
The private IPv4 address.
SecondaryInterfaceId (string) --
The ID of the secondary interface.
SecondaryInterfaceArn (string) --
The Amazon Resource Name (ARN) of the secondary interface.
SecondaryInterfaceType (string) --
The type of secondary interface.
SecondarySubnetId (string) --
The ID of the secondary subnet.
SecondaryNetworkId (string) --
The ID of the secondary network.
SecondaryNetworkType (string) --
The type of the secondary network.
SourceDestCheck (boolean) --
Indicates whether source/destination checking is enabled.
Status (string) --
The status of the secondary interface.
Tags (list) --
The tags assigned to the secondary interface.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
Ipv6Addresses (list) --
The IPv6 addresses associated with the secondary interface. This value is returned only for secondary interfaces in virtual-edge secondary networks. A secondary interface in an IPv6 secondary subnet has only IPv6 addresses.
(dict) --
Describes an IPv6 address assigned to a secondary interface.
Ipv6Address (string) --
The IPv6 address.
VlanMode (string) --
The VLAN mode of the secondary interface. This value is returned only for secondary interfaces in virtual-edge secondary networks.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
{'SecondaryNetworks': {'AvailabilityZone': 'string',
'AvailabilityZoneId': 'string',
'DefaultNativeVlan': 'integer',
'Type': {'virtual-edge'},
'VlanMode': 'access'}}
Describes one or more secondary networks.
See also: AWS API Documentation
Request Syntax
client.describe_secondary_networks(
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
SecondaryNetworkIds=[
'string',
]
)
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
availability-zone – The Availability Zone of the secondary network.
availability-zone-id – The ID of the Availability Zone of the secondary network.
default-native-vlan – The default native VLAN ID of the secondary network.
ipv4-cidr-block-association.association-id – The association ID for an IPv4 CIDR block associated with the secondary network.
ipv4-cidr-block-association.cidr-block – An IPv4 CIDR block associated with the secondary network.
ipv4-cidr-block-association.state – The state of an IPv4 CIDR block associated with the secondary network.
owner-id – The ID of the Amazon Web Services account that owns the secondary network.
secondary-network-id – The ID of the secondary network.
secondary-network-arn – The ARN of the secondary network.
state – The state of the secondary network ( create-in-progress | create-complete | create-failed | delete-in-progress | delete-complete | delete-failed).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
tag-key – The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
type – The type of the secondary network ( rdma | virtual-edge).
vlan-mode – The VLAN mode of the secondary network ( access).
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
list
The IDs of the secondary networks.
(string) --
dict
Response Syntax
{
'SecondaryNetworks': [
{
'SecondaryNetworkId': 'string',
'SecondaryNetworkArn': 'string',
'OwnerId': 'string',
'Type': 'rdma'|'virtual-edge',
'VlanMode': 'access',
'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Ipv4CidrBlockAssociations': [
{
'AssociationId': 'string',
'CidrBlock': 'string',
'State': 'associating'|'associated'|'association-failed'|'disassociating'|'disassociated'|'disassociation-failed',
'StateReason': 'string'
},
],
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'AvailabilityZone': 'string',
'AvailabilityZoneId': 'string',
'DefaultNativeVlan': 123
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
SecondaryNetworks (list) --
Information about the secondary networks.
(dict) --
Describes a secondary network.
SecondaryNetworkId (string) --
The ID of the secondary network.
SecondaryNetworkArn (string) --
The Amazon Resource Name (ARN) of the secondary network.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the secondary network.
Type (string) --
The type of the secondary network.
VlanMode (string) --
The VLAN mode of the secondary network. This value is returned only for virtual-edge secondary networks.
State (string) --
The state of the secondary network.
StateReason (string) --
The reason for the current state of the secondary network.
Ipv4CidrBlockAssociations (list) --
Information about the IPv4 CIDR blocks associated with the secondary network. This value is returned only for rdma secondary networks.
(dict) --
Describes an IPv4 CIDR block associated with a secondary network.
AssociationId (string) --
The association ID for the IPv4 CIDR block.
CidrBlock (string) --
The IPv4 CIDR block.
State (string) --
The state of the CIDR block association.
StateReason (string) --
The reason for the current state of the CIDR block association.
Tags (list) --
The tags assigned to the secondary network.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
AvailabilityZone (string) --
The Availability Zone of the secondary network. This value is returned only for virtual-edge secondary networks.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the secondary network. This value is returned only for virtual-edge secondary networks.
DefaultNativeVlan (integer) --
The default native VLAN ID for the secondary network. This value is returned only for virtual-edge secondary networks.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
{'SecondarySubnets': {'Ipv6CidrBlockAssociations': [{'AssociationId': 'string',
'Ipv6CidrBlock': 'string',
'State': 'associating | '
'associated | '
'association-failed '
'| '
'disassociating '
'| disassociated '
'| '
'disassociation-failed',
'StateReason': 'string'}],
'SecondaryNetworkType': {'virtual-edge'}}}
Describes one or more of your secondary subnets.
See also: AWS API Documentation
Request Syntax
client.describe_secondary_subnets(
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
SecondarySubnetIds=[
'string',
]
)
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters. The following are the possible values:
ipv4-cidr-block-association.association-id – The association ID for an IPv4 CIDR block associated with the secondary subnet.
ipv4-cidr-block-association.cidr-block – An IPv4 CIDR block associated with the secondary subnet.
ipv4-cidr-block-association.state – The state of an IPv4 CIDR block associated with the secondary subnet.
ipv6-cidr-block-association.association-id – The association ID for an IPv6 CIDR block associated with the secondary subnet.
ipv6-cidr-block-association.ipv6-cidr-block – An IPv6 CIDR block associated with the secondary subnet.
ipv6-cidr-block-association.state – The state of an IPv6 CIDR block associated with the secondary subnet.
owner-id – The ID of the Amazon Web Services account that owns the secondary subnet.
secondary-network-id – The ID of the secondary network.
secondary-network-type – The type of the secondary network ( rdma | virtual-edge).
secondary-subnet-id – The ID of the secondary subnet.
secondary-subnet-arn – The ARN of the secondary subnet.
state – The state of the secondary subnet ( create-in-progress | create-complete | create-failed | delete-in-progress | delete-complete | delete-failed).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
tag-key – The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
list
The IDs of the secondary subnets.
(string) --
dict
Response Syntax
{
'SecondarySubnets': [
{
'SecondarySubnetId': 'string',
'SecondarySubnetArn': 'string',
'SecondaryNetworkId': 'string',
'SecondaryNetworkType': 'rdma'|'virtual-edge',
'OwnerId': 'string',
'AvailabilityZoneId': 'string',
'AvailabilityZone': 'string',
'Ipv4CidrBlockAssociations': [
{
'AssociationId': 'string',
'CidrBlock': 'string',
'State': 'associating'|'associated'|'association-failed'|'disassociating'|'disassociated'|'disassociation-failed',
'StateReason': 'string'
},
],
'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
'StateReason': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'Ipv6CidrBlockAssociations': [
{
'AssociationId': 'string',
'Ipv6CidrBlock': 'string',
'State': 'associating'|'associated'|'association-failed'|'disassociating'|'disassociated'|'disassociation-failed',
'StateReason': 'string'
},
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
SecondarySubnets (list) --
Information about the secondary subnets.
(dict) --
Describes a secondary subnet.
SecondarySubnetId (string) --
The ID of the secondary subnet.
SecondarySubnetArn (string) --
The Amazon Resource Name (ARN) of the secondary subnet.
SecondaryNetworkId (string) --
The ID of the secondary network.
SecondaryNetworkType (string) --
The type of the secondary network.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the secondary subnet.
AvailabilityZoneId (string) --
The ID of the Availability Zone of the secondary subnet.
AvailabilityZone (string) --
The Availability Zone of the secondary subnet.
Ipv4CidrBlockAssociations (list) --
Information about the IPv4 CIDR blocks associated with the secondary subnet.
(dict) --
Describes an IPv4 CIDR block associated with a secondary subnet.
AssociationId (string) --
The association ID for the IPv4 CIDR block.
CidrBlock (string) --
The IPv4 CIDR block.
State (string) --
The state of the CIDR block association.
StateReason (string) --
The reason for the current state of the CIDR block association.
State (string) --
The state of the secondary subnet.
StateReason (string) --
The reason for the current state of the secondary subnet.
Tags (list) --
The tags assigned to the secondary subnet.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
Ipv6CidrBlockAssociations (list) --
Information about the IPv6 CIDR blocks associated with the secondary subnet. This value is returned only for secondary subnets in virtual-edge secondary networks.
(dict) --
Describes an IPv6 CIDR block associated with a secondary subnet.
AssociationId (string) --
The association ID for the IPv6 CIDR block.
Ipv6CidrBlock (string) --
The IPv6 CIDR block.
State (string) --
The state of the CIDR block association.
StateReason (string) --
The reason for the current state of the CIDR block association.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
{'SpotFleetRequestConfigs': {'SpotFleetRequestConfig': {'LaunchSpecifications': {'TagSpecifications': {'ResourceType': {'secondary-network-acl',
'secondary-network-acl-association',
'virtual-edge-network-gateway',
'virtual-edge-network-gateway-route-table',
'virtual-edge-network-gateway-route-table-association',
'virtual-edge-network-route-server-peer'}}},
'TagSpecifications': {'ResourceType': {'secondary-network-acl',
'secondary-network-acl-association',
'virtual-edge-network-gateway',
'virtual-edge-network-gateway-route-table',
'virtual-edge-network-gateway-route-table-association',
'virtual-edge-network-route-server-peer'}}}}}
{'Tags': {'ResourceType': {'secondary-network-acl',
'secondary-network-acl-association',
'virtual-edge-network-gateway',
'virtual-edge-network-gateway-route-table',
'virtual-edge-network-gateway-route-table-association',
'virtual-edge-network-route-server-peer'}}}
Describes the specified tags for your EC2 resources.
For more information about tags, see Tag your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.
See also: AWS API Documentation
Request Syntax
client.describe_tags(
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string'
)
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The filters.
key - The tag key.
resource-id - The ID of the resource.
resource-type - The resource type. For a list of possible values, see TagSpecification.
tag:<key> - The key/value combination of the tag. For example, specify "tag:Owner" for the filter name and "TeamA" for the filter value to find resources with the tag "Owner=TeamA".
value - The tag value.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of items to return for this request. This value can be between 5 and 1000. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
string
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
dict
Response Syntax
{
'NextToken': 'string',
'Tags': [
{
'Key': 'string',
'ResourceId': 'string',
'ResourceType': 'capacity-reservation'|'client-vpn-endpoint'|'customer-gateway'|'carrier-gateway'|'coip-pool'|'declarative-policies-report'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fca-policy'|'fleet'|'fpga-image'|'host-reservation'|'image'|'image-usage-report'|'import-image-task'|'import-snapshot-task'|'instance'|'instance-event-window'|'internet-gateway'|'ipam'|'ipam-pool'|'ipam-scope'|'ipv4pool-ec2'|'ipv6pool-ec2'|'key-pair'|'launch-template'|'local-gateway'|'local-gateway-route-table'|'local-gateway-virtual-interface'|'local-gateway-virtual-interface-group'|'local-gateway-route-table-vpc-association'|'local-gateway-route-table-virtual-interface-group-association'|'natgateway'|'network-acl'|'network-interface'|'network-insights-analysis'|'network-insights-path'|'network-insights-access-scope'|'network-insights-access-scope-analysis'|'outpost-lag'|'placement-group'|'prefix-list'|'replace-root-volume-task'|'reserved-instances'|'route-table'|'security-group'|'security-group-rule'|'service-link-virtual-interface'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'subnet-cidr-reservation'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-connect-peer'|'transit-gateway-multicast-domain'|'transit-gateway-policy-table'|'transit-gateway-metering-policy'|'transit-gateway-route-table'|'transit-gateway-route-table-announcement'|'volume'|'vpc'|'vpc-endpoint'|'vpc-endpoint-connection'|'vpc-endpoint-service'|'vpc-endpoint-service-permission'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log'|'capacity-reservation-fleet'|'traffic-mirror-filter-rule'|'vpc-endpoint-connection-device-type'|'verified-access-instance'|'verified-access-group'|'verified-access-endpoint'|'verified-access-policy'|'verified-access-trust-provider'|'vpn-connection-device-type'|'vpc-block-public-access-exclusion'|'vpc-encryption-control'|'route-server'|'route-server-endpoint'|'route-server-peer'|'ipam-resource-discovery'|'ipam-resource-discovery-association'|'instance-connect-endpoint'|'verified-access-endpoint-target'|'ipam-external-resource-verification-token'|'capacity-block'|'mac-modification-task'|'ipam-prefix-list-resolver'|'ipam-policy'|'ipam-prefix-list-resolver-target'|'ipam-internet-registry-association'|'secondary-interface'|'secondary-network'|'secondary-subnet'|'capacity-manager-data-export'|'vpn-concentrator'|'ipam-pool-allocation'|'capacity-reservation-cancellation-quote'|'application-status-check'|'capacity-reservation-modification-quote'|'secondary-network-acl'|'secondary-network-acl-association'|'metric-category'|'virtual-edge-network-gateway'|'virtual-edge-network-gateway-route-table'|'virtual-edge-network-gateway-route-table-association'|'virtual-edge-network-route-server-peer',
'Value': 'string'
},
]
}
Response Structure
(dict) --
NextToken (string) --
The token to include in another request to get the next page of items. This value is null when there are no more items to return.
Tags (list) --
The tags.
(dict) --
Describes a tag.
Key (string) --
The tag key.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The resource type.
Value (string) --
The tag value.
{'TransitGatewayAttachments': {'ResourceType': {'sse-connect'}}}
Describes one or more attachments between resources and transit gateways. By default, all attachments are described. Alternatively, you can filter the results by attachment ID, attachment state, resource ID, or resource owner.
See also: AWS API Documentation
Request Syntax
client.describe_transit_gateway_attachments(
TransitGatewayAttachmentIds=[
'string',
],
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
DryRun=True|False
)
list
The IDs of the attachments.
(string) --
list
One or more filters. The possible values are:
association.state - The state of the association ( associating | associated | disassociating).
association.transit-gateway-route-table-id - The ID of the route table for the transit gateway.
resource-id - The ID of the resource.
resource-owner-id - The ID of the Amazon Web Services account that owns the resource.
resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway | peering | connect.
state - The state of the attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting.
transit-gateway-attachment-id - The ID of the attachment.
transit-gateway-id - The ID of the transit gateway.
transit-gateway-owner-id - The ID of the Amazon Web Services account that owns the transit gateway.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'TransitGatewayAttachments': [
{
'TransitGatewayAttachmentId': 'string',
'TransitGatewayId': 'string',
'TransitGatewayOwnerId': 'string',
'ResourceOwnerId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'ResourceId': 'string',
'State': 'initiating'|'initiatingRequest'|'pendingAcceptance'|'rollingBack'|'pending'|'available'|'modifying'|'deleting'|'deleted'|'failed'|'rejected'|'rejecting'|'failing',
'Association': {
'TransitGatewayRouteTableId': 'string',
'TransitGatewayPolicyTableId': 'string',
'State': 'associating'|'associated'|'disassociating'|'disassociated'
},
'CreationTime': datetime(2015, 1, 1),
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'NatGatewaySupport': 'enabled'|'disabled'|'enabling'|'disabling'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
TransitGatewayAttachments (list) --
Information about the attachments.
(dict) --
Describes an attachment between a resource and a transit gateway.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
TransitGatewayId (string) --
The ID of the transit gateway.
TransitGatewayOwnerId (string) --
The ID of the Amazon Web Services account that owns the transit gateway.
ResourceOwnerId (string) --
The ID of the Amazon Web Services account that owns the resource.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
ResourceId (string) --
The ID of the resource.
State (string) --
The attachment state. Note that the initiating state has been deprecated.
Association (dict) --
The association.
TransitGatewayRouteTableId (string) --
The ID of the route table for the transit gateway.
TransitGatewayPolicyTableId (string) --
The ID of the transit gateway policy table associated with the attachment.
State (string) --
The state of the association.
CreationTime (datetime) --
The creation time.
Tags (list) --
The tags for the attachment.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
NatGatewaySupport (string) --
The state of NAT gateway support for the attachment. Only the owner of the transit gateway receives this parameter.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
{'Propagation': {'ResourceType': {'sse-connect'}}}
Disables the specified resource attachment from propagating routes to the specified propagation route table.
See also: AWS API Documentation
Request Syntax
client.disable_transit_gateway_route_table_propagation(
TransitGatewayRouteTableId='string',
TransitGatewayAttachmentId='string',
DryRun=True|False,
TransitGatewayRouteTableAnnouncementId='string'
)
string
[REQUIRED]
The ID of the propagation route table.
string
The ID of the attachment.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
The ID of the route table announcement.
dict
Response Syntax
{
'Propagation': {
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'TransitGatewayRouteTableId': 'string',
'State': 'enabling'|'enabled'|'disabling'|'disabled',
'TransitGatewayRouteTableAnnouncementId': 'string'
}
}
Response Structure
(dict) --
Propagation (dict) --
Information about route propagation.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
TransitGatewayRouteTableId (string) --
The ID of the transit gateway route table.
State (string) --
The state.
TransitGatewayRouteTableAnnouncementId (string) --
The ID of the transit gateway route table announcement.
{'Associations': {'ResourceType': {'sse-connect'}}}
Disassociates the specified subnets from the transit gateway multicast domain.
See also: AWS API Documentation
Request Syntax
client.disassociate_transit_gateway_multicast_domain(
TransitGatewayMulticastDomainId='string',
TransitGatewayAttachmentId='string',
SubnetIds=[
'string',
],
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway multicast domain.
string
[REQUIRED]
The ID of the attachment.
list
[REQUIRED]
The IDs of the subnets;
(string) --
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'Associations': {
'TransitGatewayMulticastDomainId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'ResourceOwnerId': 'string',
'Subnets': [
{
'SubnetId': 'string',
'State': 'pendingAcceptance'|'associating'|'associated'|'disassociating'|'disassociated'|'rejected'|'failed'
},
]
}
}
Response Structure
(dict) --
Associations (dict) --
Information about the association.
TransitGatewayMulticastDomainId (string) --
The ID of the transit gateway multicast domain.
TransitGatewayAttachmentId (string) --
The ID of the transit gateway attachment.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The type of resource, for example a VPC attachment.
ResourceOwnerId (string) --
The ID of the Amazon Web Services account that owns the resource.
Subnets (list) --
The subnets associated with the multicast domain.
(dict) --
Describes the subnet association with the transit gateway multicast domain.
SubnetId (string) --
The ID of the subnet.
State (string) --
The state of the subnet association.
{'Association': {'ResourceType': {'sse-connect'}}}
Removes the association between an an attachment and a policy table.
See also: AWS API Documentation
Request Syntax
client.disassociate_transit_gateway_policy_table(
TransitGatewayPolicyTableId='string',
TransitGatewayAttachmentId='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the disassociated policy table.
string
[REQUIRED]
The ID of the transit gateway attachment to disassociate from the policy table.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'Association': {
'TransitGatewayPolicyTableId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'State': 'associating'|'associated'|'disassociating'|'disassociated'
}
}
Response Structure
(dict) --
Association (dict) --
Returns details about the transit gateway policy table disassociation.
TransitGatewayPolicyTableId (string) --
The ID of the transit gateway policy table.
TransitGatewayAttachmentId (string) --
The ID of the transit gateway attachment.
ResourceId (string) --
The resource ID of the transit gateway attachment.
ResourceType (string) --
The resource type for the transit gateway policy table association.
State (string) --
The state of the transit gateway policy table association.
{'Association': {'ResourceType': {'sse-connect'}}}
Disassociates a resource attachment from a transit gateway route table.
See also: AWS API Documentation
Request Syntax
client.disassociate_transit_gateway_route_table(
TransitGatewayRouteTableId='string',
TransitGatewayAttachmentId='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway route table.
string
[REQUIRED]
The ID of the attachment.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'Association': {
'TransitGatewayRouteTableId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'State': 'associating'|'associated'|'disassociating'|'disassociated'
}
}
Response Structure
(dict) --
Association (dict) --
Information about the association.
TransitGatewayRouteTableId (string) --
The ID of the transit gateway route table.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
State (string) --
The state of the association.
{'Propagation': {'ResourceType': {'sse-connect'}}}
Enables the specified attachment to propagate routes to the specified propagation route table.
See also: AWS API Documentation
Request Syntax
client.enable_transit_gateway_route_table_propagation(
TransitGatewayRouteTableId='string',
TransitGatewayAttachmentId='string',
DryRun=True|False,
TransitGatewayRouteTableAnnouncementId='string'
)
string
[REQUIRED]
The ID of the propagation route table.
string
The ID of the attachment.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
The ID of the transit gateway route table announcement.
dict
Response Syntax
{
'Propagation': {
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'TransitGatewayRouteTableId': 'string',
'State': 'enabling'|'enabled'|'disabling'|'disabled',
'TransitGatewayRouteTableAnnouncementId': 'string'
}
}
Response Structure
(dict) --
Propagation (dict) --
Information about route propagation.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
TransitGatewayRouteTableId (string) --
The ID of the transit gateway route table.
State (string) --
The state.
TransitGatewayRouteTableAnnouncementId (string) --
The ID of the transit gateway route table announcement.
{'IpamPoolAllocations': {'ResourceType': {'virtual-edge-network-gateway-allowed-advertisement'}}}
Get a list of all the CIDR allocations in an IPAM pool. The Region you use should be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM pool is available for allocations.
See also: AWS API Documentation
Request Syntax
client.get_ipam_pool_allocations(
DryRun=True|False,
IpamPoolId='string',
IpamPoolAllocationId='string',
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string'
)
boolean
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the IPAM pool you want to see the allocations for.
string
The ID of the allocation.
list
One or more filters for the request. For more information about filtering, see Filtering CLI output.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results you would like returned per page.
string
The token for the next page of results.
dict
Response Syntax
{
'IpamPoolAllocations': [
{
'Cidr': 'string',
'IpamPoolAllocationId': 'string',
'Description': 'string',
'ResourceId': 'string',
'ResourceType': 'ipam-pool'|'vpc'|'ec2-public-ipv4-pool'|'custom'|'subnet'|'eip'|'anycast-ip-list'|'virtual-edge-network-gateway-allowed-advertisement',
'ResourceRegion': 'string',
'ResourceOwner': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
IpamPoolAllocations (list) --
The IPAM pool allocations you want information on.
(dict) --
In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource.
Cidr (string) --
The CIDR for the allocation. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23. An IPv6 CIDR example is 2001:DB8::/32.
IpamPoolAllocationId (string) --
The ID of an allocation.
Description (string) --
A description of the pool allocation.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The type of the resource.
ResourceRegion (string) --
The Amazon Web Services Region of the resource.
ResourceOwner (string) --
The owner of the resource.
Tags (list) --
The tags for the IPAM pool allocation.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
{'LaunchTemplateData': {'SecondaryInterfaces': {'EnaQueueCount': 'integer',
'Ipv6AddressCount': 'integer',
'Ipv6Addresses': [{'Ipv6Address': 'string'}],
'VlanMode': 'access'},
'TagSpecifications': {'ResourceType': {'secondary-network-acl',
'secondary-network-acl-association',
'virtual-edge-network-gateway',
'virtual-edge-network-gateway-route-table',
'virtual-edge-network-gateway-route-table-association',
'virtual-edge-network-route-server-peer'}}}}
{'TransitGatewayMeteringPolicyEntries': {'MeteringPolicyRule': {'DestinationTransitGatewayAttachmentType': {'sse-connect'},
'SourceTransitGatewayAttachmentType': {'sse-connect'}}}}
Retrieves the entries for a transit gateway metering policy.
See also: AWS API Documentation
Request Syntax
client.get_transit_gateway_metering_policy_entries(
TransitGatewayMeteringPolicyId='string',
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway metering policy to retrieve entries for.
list
One or more filters to apply when retrieving metering policy entries.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'TransitGatewayMeteringPolicyEntries': [
{
'PolicyRuleNumber': 'string',
'MeteredAccount': 'source-attachment-owner'|'destination-attachment-owner'|'transit-gateway-owner',
'State': 'available'|'deleted',
'UpdatedAt': datetime(2015, 1, 1),
'UpdateEffectiveAt': datetime(2015, 1, 1),
'MeteringPolicyRule': {
'SourceTransitGatewayAttachmentId': 'string',
'SourceTransitGatewayAttachmentType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'SourceCidrBlock': 'string',
'SourcePortRange': 'string',
'DestinationTransitGatewayAttachmentId': 'string',
'DestinationTransitGatewayAttachmentType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'DestinationCidrBlock': 'string',
'DestinationPortRange': 'string',
'Protocol': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
TransitGatewayMeteringPolicyEntries (list) --
Information about the transit gateway metering policy entries.
(dict) --
Describes an entry in a transit gateway metering policy.
PolicyRuleNumber (string) --
The rule number of the metering policy entry.
MeteredAccount (string) --
The Amazon Web Services account ID to which the metered traffic is attributed.
State (string) --
The state of the metering policy entry.
UpdatedAt (datetime) --
The date and time when the metering policy entry was last updated.
UpdateEffectiveAt (datetime) --
The date and time when the metering policy entry update becomes effective.
MeteringPolicyRule (dict) --
The metering policy rule that defines traffic matching criteria.
SourceTransitGatewayAttachmentId (string) --
The ID of the source transit gateway attachment.
SourceTransitGatewayAttachmentType (string) --
The type of the source transit gateway attachment. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.
SourceCidrBlock (string) --
The source CIDR block for the rule.
SourcePortRange (string) --
The source port range for the rule.
DestinationTransitGatewayAttachmentId (string) --
The ID of the destination transit gateway attachment.
DestinationTransitGatewayAttachmentType (string) --
The type of the destination transit gateway attachment. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.
DestinationCidrBlock (string) --
The destination CIDR block for the rule.
DestinationPortRange (string) --
The destination port range for the rule.
Protocol (string) --
The protocol for the rule (1, 6, 17, etc.).
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
{'MulticastDomainAssociations': {'ResourceType': {'sse-connect'}}}
Gets information about the associations for the transit gateway multicast domain.
See also: AWS API Documentation
Request Syntax
client.get_transit_gateway_multicast_domain_associations(
TransitGatewayMulticastDomainId='string',
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway multicast domain.
list
One or more filters. The possible values are:
resource-id - The ID of the resource.
resource-type - The type of resource. The valid value is: vpc.
state - The state of the subnet association. Valid values are associated | associating | disassociated | disassociating.
subnet-id - The ID of the subnet.
transit-gateway-attachment-id - The id of the transit gateway attachment.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'MulticastDomainAssociations': [
{
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'ResourceOwnerId': 'string',
'Subnet': {
'SubnetId': 'string',
'State': 'pendingAcceptance'|'associating'|'associated'|'disassociating'|'disassociated'|'rejected'|'failed'
}
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
MulticastDomainAssociations (list) --
Information about the multicast domain associations.
(dict) --
Describes the resources associated with the transit gateway multicast domain.
TransitGatewayAttachmentId (string) --
The ID of the transit gateway attachment.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The type of resource, for example a VPC attachment.
ResourceOwnerId (string) --
The ID of the Amazon Web Services account that owns the transit gateway multicast domain association resource.
Subnet (dict) --
The subnet associated with the transit gateway multicast domain.
SubnetId (string) --
The ID of the subnet.
State (string) --
The state of the subnet association.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
{'Associations': {'ResourceType': {'sse-connect'}}}
Gets a list of the transit gateway policy table associations.
See also: AWS API Documentation
Request Syntax
client.get_transit_gateway_policy_table_associations(
TransitGatewayPolicyTableId='string',
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway policy table.
list
The filters associated with the transit gateway policy table.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'Associations': [
{
'TransitGatewayPolicyTableId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'State': 'associating'|'associated'|'disassociating'|'disassociated'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Associations (list) --
Returns details about the transit gateway policy table association.
(dict) --
Describes a transit gateway policy table association.
TransitGatewayPolicyTableId (string) --
The ID of the transit gateway policy table.
TransitGatewayAttachmentId (string) --
The ID of the transit gateway attachment.
ResourceId (string) --
The resource ID of the transit gateway attachment.
ResourceType (string) --
The resource type for the transit gateway policy table association.
State (string) --
The state of the transit gateway policy table association.
NextToken (string) --
The token for the next page of results.
{'TransitGatewayPrefixListReferences': {'TransitGatewayAttachment': {'ResourceType': {'sse-connect'}}}}
Gets information about the prefix list references in a specified transit gateway route table.
See also: AWS API Documentation
Request Syntax
client.get_transit_gateway_prefix_list_references(
TransitGatewayRouteTableId='string',
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway route table.
list
One or more filters. The possible values are:
attachment.resource-id - The ID of the resource for the attachment.
attachment.resource-type - The type of resource for the attachment. Valid values are vpc | vpn | direct-connect-gateway | peering.
attachment.transit-gateway-attachment-id - The ID of the attachment.
is-blackhole - Whether traffic matching the route is blocked ( true | false).
prefix-list-id - The ID of the prefix list.
prefix-list-owner-id - The ID of the owner of the prefix list.
state - The state of the prefix list reference ( pending | available | modifying | deleting).
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'TransitGatewayPrefixListReferences': [
{
'TransitGatewayRouteTableId': 'string',
'PrefixListId': 'string',
'PrefixListOwnerId': 'string',
'State': 'pending'|'available'|'modifying'|'deleting',
'Blackhole': True|False,
'TransitGatewayAttachment': {
'TransitGatewayAttachmentId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'ResourceId': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
TransitGatewayPrefixListReferences (list) --
Information about the prefix list references.
(dict) --
Describes a prefix list reference.
TransitGatewayRouteTableId (string) --
The ID of the transit gateway route table.
PrefixListId (string) --
The ID of the prefix list.
PrefixListOwnerId (string) --
The ID of the prefix list owner.
State (string) --
The state of the prefix list reference.
Blackhole (boolean) --
Indicates whether traffic that matches this route is dropped.
TransitGatewayAttachment (dict) --
Information about the transit gateway attachment.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
ResourceId (string) --
The ID of the resource.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
{'Associations': {'ResourceType': {'sse-connect'}}}
Gets information about the associations for the specified transit gateway route table.
See also: AWS API Documentation
Request Syntax
client.get_transit_gateway_route_table_associations(
TransitGatewayRouteTableId='string',
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway route table.
list
One or more filters. The possible values are:
resource-id - The ID of the resource.
resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway | peering | connect.
transit-gateway-attachment-id - The ID of the attachment.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'Associations': [
{
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'State': 'associating'|'associated'|'disassociating'|'disassociated'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Associations (list) --
Information about the associations.
(dict) --
Describes an association between a route table and a resource attachment.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
State (string) --
The state of the association.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
{'TransitGatewayRouteTablePropagations': {'ResourceType': {'sse-connect'}}}
Gets information about the route table propagations for the specified transit gateway route table.
See also: AWS API Documentation
Request Syntax
client.get_transit_gateway_route_table_propagations(
TransitGatewayRouteTableId='string',
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway route table.
list
One or more filters. The possible values are:
resource-id - The ID of the resource.
resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway | peering | connect.
transit-gateway-attachment-id - The ID of the attachment.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'TransitGatewayRouteTablePropagations': [
{
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'State': 'enabling'|'enabled'|'disabling'|'disabled',
'TransitGatewayRouteTableAnnouncementId': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
TransitGatewayRouteTablePropagations (list) --
Information about the route table propagations.
(dict) --
Describes a route table propagation.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The type of resource. Note that the tgw-peering resource type has been deprecated.
State (string) --
The state of the resource.
TransitGatewayRouteTableAnnouncementId (string) --
The ID of the transit gateway route table announcement.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
{'IpamPool': {'AwsService': {'virtual-edge-network'}}}
Modify the configurations of an IPAM pool.
For more information, see Modify a pool in the Amazon VPC IPAM User Guide.
See also: AWS API Documentation
Request Syntax
client.modify_ipam_pool(
DryRun=True|False,
IpamPoolId='string',
Description='string',
AutoImport=True|False,
AllocationMinNetmaskLength=123,
AllocationMaxNetmaskLength=123,
AllocationDefaultNetmaskLength=123,
ClearAllocationDefaultNetmaskLength=True|False,
AddAllocationResourceTags=[
{
'Key': 'string',
'Value': 'string'
},
],
RemoveAllocationResourceTags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
boolean
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the IPAM pool you want to modify.
string
The description of the IPAM pool you want to modify.
boolean
If true, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for these resources must not already be allocated to other resources in order for the import to succeed. IPAM will import a CIDR regardless of its compliance with the pool's allocation rules, so a resource might be imported and subsequently marked as noncompliant. If IPAM discovers multiple CIDRs that overlap, IPAM will import the largest CIDR only. If IPAM discovers multiple CIDRs with matching CIDRs, IPAM will randomly import one of them only.
A locale must be set on the pool for this feature to work.
integer
The minimum netmask length required for CIDR allocations in this IPAM pool to be compliant. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. The minimum netmask length must be less than the maximum netmask length.
integer
The maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.The maximum netmask length must be greater than the minimum netmask length.
integer
The default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.
boolean
Clear the default netmask length allocation rule for this pool.
list
Add tag allocation rules to a pool. For more information about allocation rules, see Create a top-level pool in the Amazon VPC IPAM User Guide.
(dict) --
A tag on an IPAM resource.
Key (string) --
The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
Value (string) --
The value for the tag.
list
Remove tag allocation rules from a pool.
(dict) --
A tag on an IPAM resource.
Key (string) --
The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
Value (string) --
The value for the tag.
dict
Response Syntax
{
'IpamPool': {
'OwnerId': 'string',
'IpamPoolId': 'string',
'SourceIpamPoolId': 'string',
'IpamPoolArn': 'string',
'IpamScopeArn': 'string',
'IpamScopeType': 'public'|'private',
'IpamArn': 'string',
'IpamRegion': 'string',
'Locale': 'string',
'PoolDepth': 123,
'State': 'create-in-progress'|'create-complete'|'create-failed'|'modify-in-progress'|'modify-complete'|'modify-failed'|'delete-in-progress'|'delete-complete'|'delete-failed'|'isolate-in-progress'|'isolate-complete'|'restore-in-progress',
'StateMessage': 'string',
'Description': 'string',
'AutoImport': True|False,
'PubliclyAdvertisable': True|False,
'AddressFamily': 'ipv4'|'ipv6',
'AllocationMinNetmaskLength': 123,
'AllocationMaxNetmaskLength': 123,
'AllocationDefaultNetmaskLength': 123,
'AllocationResourceTags': [
{
'Key': 'string',
'Value': 'string'
},
],
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'AwsService': 'ec2'|'global-services'|'virtual-edge-network',
'PublicIpSource': 'amazon'|'byoip',
'SourceResource': {
'ResourceId': 'string',
'ResourceType': 'vpc',
'ResourceRegion': 'string',
'ResourceOwner': 'string'
}
}
}
Response Structure
(dict) --
IpamPool (dict) --
The results of the modification.
OwnerId (string) --
The Amazon Web Services account ID of the owner of the IPAM pool.
IpamPoolId (string) --
The ID of the IPAM pool.
SourceIpamPoolId (string) --
The ID of the source IPAM pool. You can use this option to create an IPAM pool within an existing source pool.
IpamPoolArn (string) --
The Amazon Resource Name (ARN) of the IPAM pool.
IpamScopeArn (string) --
The ARN of the scope of the IPAM pool.
IpamScopeType (string) --
In IPAM, a scope is the highest-level container within IPAM. An IPAM contains two default scopes. Each scope represents the IP space for a single network. The private scope is intended for all private IP address space. The public scope is intended for all public IP address space. Scopes enable you to reuse IP addresses across multiple unconnected networks without causing IP address overlap or conflict.
IpamArn (string) --
The ARN of the IPAM.
IpamRegion (string) --
The Amazon Web Services Region of the IPAM pool.
Locale (string) --
The locale of the IPAM pool.
The locale for the pool should be one of the following:
An Amazon Web Services Region where you want this IPAM pool to be available for allocations.
The network border group for an Amazon Web Services Local Zone where you want this IPAM pool to be available for allocations ( supported Local Zones). This option is only available for IPAM IPv4 pools in the public scope.
If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error.
PoolDepth (integer) --
The depth of pools in your IPAM pool. The pool depth quota is 10. For more information, see Quotas in IPAM in the Amazon VPC IPAM User Guide.
State (string) --
The state of the IPAM pool.
StateMessage (string) --
The state message.
Description (string) --
The description of the IPAM pool.
AutoImport (boolean) --
If selected, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for these resources must not already be allocated to other resources in order for the import to succeed. IPAM will import a CIDR regardless of its compliance with the pool's allocation rules, so a resource might be imported and subsequently marked as noncompliant. If IPAM discovers multiple CIDRs that overlap, IPAM will import the largest CIDR only. If IPAM discovers multiple CIDRs with matching CIDRs, IPAM will randomly import one of them only.
A locale must be set on the pool for this feature to work.
PubliclyAdvertisable (boolean) --
Determines if a pool is publicly advertisable. This option is not available for pools with AddressFamily set to ipv4.
AddressFamily (string) --
The address family of the pool.
AllocationMinNetmaskLength (integer) --
The minimum netmask length required for CIDR allocations in this IPAM pool to be compliant. The minimum netmask length must be less than the maximum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
AllocationMaxNetmaskLength (integer) --
The maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant. The maximum netmask length must be greater than the minimum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
AllocationDefaultNetmaskLength (integer) --
The default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.
AllocationResourceTags (list) --
Tags that are required for resources that use CIDRs from this IPAM pool. Resources that do not have these tags will not be allowed to allocate space from the pool. If the resources have their tags changed after they have allocated space or if the allocation tagging requirements are changed on the pool, the resource may be marked as noncompliant.
(dict) --
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
Key (string) --
The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
Value (string) --
The value of the tag.
Tags (list) --
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
AwsService (string) --
Limits which service in Amazon Web Services that the pool can be used in. "ec2", for example, allows users to use space for Elastic IP addresses and VPCs.
PublicIpSource (string) --
The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Default is BYOIP. For more information, see Create IPv6 pools in the Amazon VPC IPAM User Guide. By default, you can add only one Amazon-provided IPv6 CIDR block to a top-level IPv6 pool. For information on increasing the default limit, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.
SourceResource (dict) --
The resource used to provision CIDRs to a resource planning pool.
ResourceId (string) --
The source resource ID.
ResourceType (string) --
The source resource type.
ResourceRegion (string) --
The source resource Region.
ResourceOwner (string) --
The source resource owner.
{'IpamPoolAllocation': {'ResourceType': {'virtual-edge-network-gateway-allowed-advertisement'}}}
Modifies the description of an IPAM pool allocation. For more information, see Modify an IPAM pool allocation in the Amazon VPC IPAM User Guide.
See also: AWS API Documentation
Request Syntax
client.modify_ipam_pool_allocation(
DryRun=True|False,
IpamPoolAllocationId='string',
Description='string'
)
boolean
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
[REQUIRED]
The ID of the IPAM pool allocation you want to modify.
string
The new description for the IPAM pool allocation. If you submit a null value, the description is removed from the allocation.
dict
Response Syntax
{
'IpamPoolAllocation': {
'Cidr': 'string',
'IpamPoolAllocationId': 'string',
'Description': 'string',
'ResourceId': 'string',
'ResourceType': 'ipam-pool'|'vpc'|'ec2-public-ipv4-pool'|'custom'|'subnet'|'eip'|'anycast-ip-list'|'virtual-edge-network-gateway-allowed-advertisement',
'ResourceRegion': 'string',
'ResourceOwner': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
}
Response Structure
(dict) --
IpamPoolAllocation (dict) --
The modified IPAM pool allocation.
Cidr (string) --
The CIDR for the allocation. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23. An IPv6 CIDR example is 2001:DB8::/32.
IpamPoolAllocationId (string) --
The ID of an allocation.
Description (string) --
A description of the pool allocation.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The type of the resource.
ResourceRegion (string) --
The Amazon Web Services Region of the resource.
ResourceOwner (string) --
The owner of the resource.
Tags (list) --
The tags for the IPAM pool allocation.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
{'TransitGatewayPrefixListReference': {'TransitGatewayAttachment': {'ResourceType': {'sse-connect'}}}}
Modifies a reference (route) to a prefix list in a specified transit gateway route table.
See also: AWS API Documentation
Request Syntax
client.modify_transit_gateway_prefix_list_reference(
TransitGatewayRouteTableId='string',
PrefixListId='string',
TransitGatewayAttachmentId='string',
Blackhole=True|False,
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway route table.
string
[REQUIRED]
The ID of the prefix list.
string
The ID of the attachment to which traffic is routed.
boolean
Indicates whether to drop traffic that matches this route.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'TransitGatewayPrefixListReference': {
'TransitGatewayRouteTableId': 'string',
'PrefixListId': 'string',
'PrefixListOwnerId': 'string',
'State': 'pending'|'available'|'modifying'|'deleting',
'Blackhole': True|False,
'TransitGatewayAttachment': {
'TransitGatewayAttachmentId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'ResourceId': 'string'
}
}
}
Response Structure
(dict) --
TransitGatewayPrefixListReference (dict) --
Information about the prefix list reference.
TransitGatewayRouteTableId (string) --
The ID of the transit gateway route table.
PrefixListId (string) --
The ID of the prefix list.
PrefixListOwnerId (string) --
The ID of the prefix list owner.
State (string) --
The state of the prefix list reference.
Blackhole (boolean) --
Indicates whether traffic that matches this route is dropped.
TransitGatewayAttachment (dict) --
Information about the transit gateway attachment.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
ResourceId (string) --
The ID of the resource.
{'PoolTagSpecifications': {'ResourceType': {'secondary-network-acl',
'secondary-network-acl-association',
'virtual-edge-network-gateway',
'virtual-edge-network-gateway-route-table',
'virtual-edge-network-gateway-route-table-association',
'virtual-edge-network-route-server-peer'}}}
Provisions an IPv4 or IPv6 address range for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be advertised.
Amazon Web Services verifies that you own the address range and are authorized to advertise it. You must ensure that the address range is registered to you and that you created an RPKI ROA to authorize Amazon ASNs 16509 and 14618 to advertise the address range. For the Amazon Web Services GovCloud (US) Regions, authorize only ASN 8987. For the Amazon Web Services European Sovereign Cloud, authorize ASNs 16509 and 214101. For more information, see Bring your own IP addresses (BYOIP) in the Amazon EC2 User Guide.
Provisioning an address range is an asynchronous operation, so the call returns immediately, but the address range is not ready to use until its status changes from pending-provision to provisioned. For more information, see Onboard your address range.
See also: AWS API Documentation
Request Syntax
client.provision_byoip_cidr(
Cidr='string',
CidrAuthorizationContext={
'Message': 'string',
'Signature': 'string'
},
PubliclyAdvertisable=True|False,
Description='string',
DryRun=True|False,
PoolTagSpecifications=[
{
'ResourceType': 'capacity-reservation'|'client-vpn-endpoint'|'customer-gateway'|'carrier-gateway'|'coip-pool'|'declarative-policies-report'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fca-policy'|'fleet'|'fpga-image'|'host-reservation'|'image'|'image-usage-report'|'import-image-task'|'import-snapshot-task'|'instance'|'instance-event-window'|'internet-gateway'|'ipam'|'ipam-pool'|'ipam-scope'|'ipv4pool-ec2'|'ipv6pool-ec2'|'key-pair'|'launch-template'|'local-gateway'|'local-gateway-route-table'|'local-gateway-virtual-interface'|'local-gateway-virtual-interface-group'|'local-gateway-route-table-vpc-association'|'local-gateway-route-table-virtual-interface-group-association'|'natgateway'|'network-acl'|'network-interface'|'network-insights-analysis'|'network-insights-path'|'network-insights-access-scope'|'network-insights-access-scope-analysis'|'outpost-lag'|'placement-group'|'prefix-list'|'replace-root-volume-task'|'reserved-instances'|'route-table'|'security-group'|'security-group-rule'|'service-link-virtual-interface'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'subnet-cidr-reservation'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-connect-peer'|'transit-gateway-multicast-domain'|'transit-gateway-policy-table'|'transit-gateway-metering-policy'|'transit-gateway-route-table'|'transit-gateway-route-table-announcement'|'volume'|'vpc'|'vpc-endpoint'|'vpc-endpoint-connection'|'vpc-endpoint-service'|'vpc-endpoint-service-permission'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log'|'capacity-reservation-fleet'|'traffic-mirror-filter-rule'|'vpc-endpoint-connection-device-type'|'verified-access-instance'|'verified-access-group'|'verified-access-endpoint'|'verified-access-policy'|'verified-access-trust-provider'|'vpn-connection-device-type'|'vpc-block-public-access-exclusion'|'vpc-encryption-control'|'route-server'|'route-server-endpoint'|'route-server-peer'|'ipam-resource-discovery'|'ipam-resource-discovery-association'|'instance-connect-endpoint'|'verified-access-endpoint-target'|'ipam-external-resource-verification-token'|'capacity-block'|'mac-modification-task'|'ipam-prefix-list-resolver'|'ipam-policy'|'ipam-prefix-list-resolver-target'|'ipam-internet-registry-association'|'secondary-interface'|'secondary-network'|'secondary-subnet'|'capacity-manager-data-export'|'vpn-concentrator'|'ipam-pool-allocation'|'capacity-reservation-cancellation-quote'|'application-status-check'|'capacity-reservation-modification-quote'|'secondary-network-acl'|'secondary-network-acl-association'|'metric-category'|'virtual-edge-network-gateway'|'virtual-edge-network-gateway-route-table'|'virtual-edge-network-gateway-route-table-association'|'virtual-edge-network-route-server-peer',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
MultiRegion=True|False,
NetworkBorderGroup='string'
)
string
[REQUIRED]
The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is /24. The most specific IPv6 address range that you can bring is /48 for CIDRs that are publicly advertisable and /56 for CIDRs that are not publicly advertisable. The address range cannot overlap with another address range that you've brought to this or another Region.
dict
A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.
Message (string) -- [REQUIRED]
The plain-text authorization message for the prefix and account.
Signature (string) -- [REQUIRED]
The signed authorization message for the prefix and account.
boolean
(IPv6 only) Indicate whether the address range will be publicly advertised to the internet.
Default: true
string
A description for the address range and the address pool.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
list
The tags to apply to the address pool.
(dict) --
The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.
ResourceType (string) --
The type of resource to tag on creation.
Tags (list) --
The tags to apply to the resource.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.
boolean
Reserved.
string
If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.
You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:
us-east-1-dfw-2
us-west-2-lax-1
us-west-2-phx-2
dict
Response Syntax
{
'ByoipCidr': {
'Cidr': 'string',
'Description': 'string',
'AsnAssociations': [
{
'Asn': 'string',
'Cidr': 'string',
'StatusMessage': 'string',
'State': 'disassociated'|'failed-disassociation'|'failed-association'|'pending-disassociation'|'pending-association'|'associated'
},
],
'StatusMessage': 'string',
'State': 'advertised'|'deprovisioned'|'failed-deprovision'|'failed-provision'|'pending-advertising'|'pending-deprovision'|'pending-provision'|'pending-withdrawal'|'provisioned'|'provisioned-not-publicly-advertisable',
'NetworkBorderGroup': 'string',
'AdvertisementType': 'string',
'PoolId': 'string',
'IpamPoolId': 'string'
}
}
Response Structure
(dict) --
ByoipCidr (dict) --
Information about the address range.
Cidr (string) --
The address range, in CIDR notation.
Description (string) --
The description of the address range.
AsnAssociations (list) --
The BYOIP CIDR associations with ASNs.
(dict) --
An Autonomous System Number (ASN) and BYOIP CIDR association.
Asn (string) --
The association's ASN.
Cidr (string) --
The association's CIDR.
StatusMessage (string) --
The association's status message.
State (string) --
The association's state.
StatusMessage (string) --
Upon success, contains the ID of the address pool. Otherwise, contains an error message.
State (string) --
The state of the address range.
advertised: The address range is being advertised to the internet by Amazon Web Services.
deprovisioned: The address range is deprovisioned.
failed-deprovision: The request to deprovision the address range was unsuccessful. Ensure that all EIPs from the range have been deallocated and try again.
failed-provision: The request to provision the address range was unsuccessful.
pending-deprovision: You’ve submitted a request to deprovision an address range and it's pending.
pending-provision: You’ve submitted a request to provision an address range and it's pending.
provisioned: The address range is provisioned and can be advertised. The range is not currently advertised.
provisioned-not-publicly-advertisable: The address range is provisioned and cannot be advertised.
NetworkBorderGroup (string) --
If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.
You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:
us-east-1-dfw-2
us-west-2-lax-1
us-west-2-phx-2
AdvertisementType (string) --
Specifies the advertisement method for the BYOIP CIDR. Valid values are:
unicast: IP is advertised from a single location (regional services like EC2)
anycast: IP is advertised from multiple global locations simultaneously (global services like CloudFront)
For more information, see Bring your own IP to CloudFront using IPAM in the Amazon VPC IPAM User Guide.
PoolId (string) --
The ID of the address pool associated with the CIDR.
IpamPoolId (string) --
The ID of the IPAM pool associated with the CIDR.
{'Associations': {'ResourceType': {'sse-connect'}}}
Rejects a request to associate cross-account subnets with a transit gateway multicast domain.
See also: AWS API Documentation
Request Syntax
client.reject_transit_gateway_multicast_domain_associations(
TransitGatewayMulticastDomainId='string',
TransitGatewayAttachmentId='string',
SubnetIds=[
'string',
],
DryRun=True|False
)
string
The ID of the transit gateway multicast domain.
string
The ID of the transit gateway attachment.
list
The IDs of the subnets to associate with the transit gateway multicast domain.
(string) --
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'Associations': {
'TransitGatewayMulticastDomainId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'ResourceOwnerId': 'string',
'Subnets': [
{
'SubnetId': 'string',
'State': 'pendingAcceptance'|'associating'|'associated'|'disassociating'|'disassociated'|'rejected'|'failed'
},
]
}
}
Response Structure
(dict) --
Associations (dict) --
Information about the multicast domain associations.
TransitGatewayMulticastDomainId (string) --
The ID of the transit gateway multicast domain.
TransitGatewayAttachmentId (string) --
The ID of the transit gateway attachment.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The type of resource, for example a VPC attachment.
ResourceOwnerId (string) --
The ID of the Amazon Web Services account that owns the resource.
Subnets (list) --
The subnets associated with the multicast domain.
(dict) --
Describes the subnet association with the transit gateway multicast domain.
SubnetId (string) --
The ID of the subnet.
State (string) --
The state of the subnet association.
{'Route': {'TransitGatewayAttachments': {'ResourceType': {'sse-connect'}}}}
Replaces the specified route in the specified transit gateway route table.
See also: AWS API Documentation
Request Syntax
client.replace_transit_gateway_route(
DestinationCidrBlock='string',
TransitGatewayRouteTableId='string',
TransitGatewayAttachmentId='string',
Blackhole=True|False,
DryRun=True|False
)
string
[REQUIRED]
The CIDR range used for the destination match. Routing decisions are based on the most specific match.
string
[REQUIRED]
The ID of the route table.
string
The ID of the attachment.
boolean
Indicates whether traffic matching this route is to be dropped.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'Route': {
'DestinationCidrBlock': 'string',
'PrefixListId': 'string',
'TransitGatewayRouteTableAnnouncementId': 'string',
'TransitGatewayAttachments': [
{
'ResourceId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect'
},
],
'Type': 'static'|'propagated'|'system',
'State': 'pending'|'active'|'blackhole'|'deleting'|'deleted'
}
}
Response Structure
(dict) --
Route (dict) --
Information about the modified route.
DestinationCidrBlock (string) --
The CIDR block used for destination matches.
PrefixListId (string) --
The ID of the prefix list used for destination matches.
TransitGatewayRouteTableAnnouncementId (string) --
The ID of the transit gateway route table announcement.
TransitGatewayAttachments (list) --
The attachments.
(dict) --
Describes a route attachment.
ResourceId (string) --
The ID of the resource.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
Type (string) --
The route type.
State (string) --
The state of the route.
{'SpotFleetRequestConfig': {'LaunchSpecifications': {'TagSpecifications': {'ResourceType': {'secondary-network-acl',
'secondary-network-acl-association',
'virtual-edge-network-gateway',
'virtual-edge-network-gateway-route-table',
'virtual-edge-network-gateway-route-table-association',
'virtual-edge-network-route-server-peer'}}},
'TagSpecifications': {'ResourceType': {'secondary-network-acl',
'secondary-network-acl-association',
'virtual-edge-network-gateway',
'virtual-edge-network-gateway-route-table',
'virtual-edge-network-gateway-route-table-association',
'virtual-edge-network-route-server-peer'}}}}
{'SecondaryInterfaces': {'EnaQueueCount': 'integer',
'Ipv6AddressCount': 'integer',
'Ipv6Addresses': [{'Ipv6Address': 'string'}],
'VlanMode': 'access'}}
Response {'Instances': {'SecondaryInterfaces': {'Attachment': {'EnaQueueCount': 'integer'},
'Ipv6Addresses': [{'Ipv6Address': 'string'}],
'VlanMode': 'access'}}}
{'MulticastGroups': {'ResourceType': {'sse-connect'}}}
Searches one or more transit gateway multicast groups and returns the group membership information.
See also: AWS API Documentation
Request Syntax
client.search_transit_gateway_multicast_groups(
TransitGatewayMulticastDomainId='string',
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
NextToken='string',
DryRun=True|False
)
string
[REQUIRED]
The ID of the transit gateway multicast domain.
list
One or more filters. The possible values are:
group-ip-address - The IP address of the transit gateway multicast group.
is-group-member - The resource is a group member. Valid values are true | false.
is-group-source - The resource is a group source. Valid values are true | false.
member-type - The member type. Valid values are igmp | static.
resource-id - The ID of the resource.
resource-type - The type of resource. Valid values are vpc | vpn | direct-connect-gateway | tgw-peering.
source-type - The source type. Valid values are igmp | static.
subnet-id - The ID of the subnet.
transit-gateway-attachment-id - The id of the transit gateway attachment.
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
string
The token for the next page of results.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dict
Response Syntax
{
'MulticastGroups': [
{
'GroupIpAddress': 'string',
'TransitGatewayAttachmentId': 'string',
'SubnetId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect',
'ResourceOwnerId': 'string',
'NetworkInterfaceId': 'string',
'GroupMember': True|False,
'GroupSource': True|False,
'MemberType': 'static'|'igmp',
'SourceType': 'static'|'igmp'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
MulticastGroups (list) --
Information about the transit gateway multicast group.
(dict) --
Describes the transit gateway multicast group resources.
GroupIpAddress (string) --
The IP address assigned to the transit gateway multicast group.
TransitGatewayAttachmentId (string) --
The ID of the transit gateway attachment.
SubnetId (string) --
The ID of the subnet.
ResourceId (string) --
The ID of the resource.
ResourceType (string) --
The type of resource, for example a VPC attachment.
ResourceOwnerId (string) --
The ID of the Amazon Web Services account that owns the transit gateway multicast domain group resource.
NetworkInterfaceId (string) --
The ID of the transit gateway attachment.
GroupMember (boolean) --
Indicates that the resource is a transit gateway multicast group member.
GroupSource (boolean) --
Indicates that the resource is a transit gateway multicast group member.
MemberType (string) --
The member type (for example, static).
SourceType (string) --
The source type.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
{'Routes': {'TransitGatewayAttachments': {'ResourceType': {'sse-connect'}}}}
Searches for routes in the specified transit gateway route table.
See also: AWS API Documentation
Request Syntax
client.search_transit_gateway_routes(
TransitGatewayRouteTableId='string',
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
DryRun=True|False,
NextToken='string'
)
string
[REQUIRED]
The ID of the transit gateway route table.
list
[REQUIRED]
One or more filters. The possible values are:
attachment.transit-gateway-attachment-id- The id of the transit gateway attachment.
attachment.resource-id - The resource id of the transit gateway attachment.
attachment.resource-type - The attachment resource type. Valid values are vpc | vpn | direct-connect-gateway | peering | connect.
prefix-list-id - The ID of the prefix list.
route-search.exact-match - The exact match of the specified filter.
route-search.longest-prefix-match - The longest prefix that matches the route.
route-search.subnet-of-match - The routes with a subnet that match the specified CIDR filter.
route-search.supernet-of-match - The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29.
state - The state of the route ( active | blackhole).
type - The type of route ( propagated | static).
(dict) --
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.
For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.
Name (string) --
The name of the filter. Filter names are case-sensitive.
Values (list) --
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
(string) --
integer
The maximum number of routes to return. If a value is not provided, the default is 1000.
boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
string
The token for the next page of results.
dict
Response Syntax
{
'Routes': [
{
'DestinationCidrBlock': 'string',
'PrefixListId': 'string',
'TransitGatewayRouteTableAnnouncementId': 'string',
'TransitGatewayAttachments': [
{
'ResourceId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceType': 'vpc'|'vpn'|'vpn-concentrator'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'|'network-function'|'client-vpn'|'sse-connect'
},
],
'Type': 'static'|'propagated'|'system',
'State': 'pending'|'active'|'blackhole'|'deleting'|'deleted'
},
],
'AdditionalRoutesAvailable': True|False,
'NextToken': 'string'
}
Response Structure
(dict) --
Routes (list) --
Information about the routes.
(dict) --
Describes a route for a transit gateway route table.
DestinationCidrBlock (string) --
The CIDR block used for destination matches.
PrefixListId (string) --
The ID of the prefix list used for destination matches.
TransitGatewayRouteTableAnnouncementId (string) --
The ID of the transit gateway route table announcement.
TransitGatewayAttachments (list) --
The attachments.
(dict) --
Describes a route attachment.
ResourceId (string) --
The ID of the resource.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
Type (string) --
The route type.
State (string) --
The state of the route.
AdditionalRoutesAvailable (boolean) --
Indicates whether there are additional routes available.
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.