Amazon Elastic Compute Cloud

2020/02/17 - Amazon Elastic Compute Cloud - 2 updated api methods

Changes  Update ec2 client to latest version

DisableVgwRoutePropagation (updated) Link ¶
Changes (request)
{'DryRun': 'boolean'}

Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC.

See also: AWS API Documentation

Request Syntax

client.disable_vgw_route_propagation(
    GatewayId='string',
    RouteTableId='string',
    DryRun=True|False
)
type GatewayId

string

param GatewayId

[REQUIRED]

The ID of the virtual private gateway.

type RouteTableId

string

param RouteTableId

[REQUIRED]

The ID of the route table.

type DryRun

boolean

param DryRun

returns

None

EnableVgwRoutePropagation (updated) Link ¶
Changes (request)
{'DryRun': 'boolean'}

Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC.

See also: AWS API Documentation

Request Syntax

client.enable_vgw_route_propagation(
    GatewayId='string',
    RouteTableId='string',
    DryRun=True|False
)
type GatewayId

string

param GatewayId

[REQUIRED]

The ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with.

type RouteTableId

string

param RouteTableId

[REQUIRED]

The ID of the route table. The routing table must be associated with the same VPC that the virtual private gateway is attached to.

type DryRun

boolean

param DryRun

returns

None