Deletes the specified transit gateway policy table entry¶
Description¶
Deletes the specified transit gateway policy table entry.
Usage¶
ec2_delete_transit_gateway_policy_table_entry(
TransitGatewayPolicyTableId, PolicyRuleNumber, DryRun)
Arguments¶
TransitGatewayPolicyTableId
[required] The ID of the transit gateway policy table.
PolicyRuleNumber
[required] The rule number of the policy table entry to delete.
DryRun
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.
Value¶
A list with the following syntax:
list(
TransitGatewayPolicyTableEntry = list(
PolicyRuleNumber = "string",
PolicyRule = list(
SourceCidrBlock = "string",
SourcePortRange = "string",
DestinationCidrBlock = "string",
DestinationPortRange = "string",
Protocol = "string",
MetaData = list(
MetaDataKey = "string",
MetaDataValue = "string"
)
),
TargetRouteTableId = "string",
State = "active"|"deleted"
)
)