Modify Vpc Block Public Access Exclusion
ec2_modify_vpc_block_public_access_exclusion | R Documentation |
Modify VPC Block Public Access (BPA) exclusions¶
Description¶
Modify VPC Block Public Access (BPA) exclusions. A VPC BPA exclusion is a mode that can be applied to a single VPC or subnet that exempts it from the account’s BPA mode and will allow bidirectional or egress-only access. You can create BPA exclusions for VPCs and subnets even when BPA is not enabled on the account to ensure that there is no traffic disruption to the exclusions when VPC BPA is turned on.
Usage¶
ec2_modify_vpc_block_public_access_exclusion(DryRun, ExclusionId,
InternetGatewayExclusionMode)
Arguments¶
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
|
ExclusionId |
[required] The ID of an exclusion. |
InternetGatewayExclusionMode |
[required] The exclusion mode for internet gateway traffic.
|
Value¶
A list with the following syntax:
list(
VpcBlockPublicAccessExclusion = list(
ExclusionId = "string",
InternetGatewayExclusionMode = "allow-bidirectional"|"allow-egress",
ResourceArn = "string",
State = "create-in-progress"|"create-complete"|"create-failed"|"update-in-progress"|"update-complete"|"update-failed"|"delete-in-progress"|"delete-complete"|"disable-in-progress"|"disable-complete",
Reason = "string",
CreationTimestamp = as.POSIXct(
"2015-01-01"
),
LastUpdateTimestamp = as.POSIXct(
"2015-01-01"
),
DeletionTimestamp = as.POSIXct(
"2015-01-01"
),
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
)
Request syntax¶
svc$modify_vpc_block_public_access_exclusion(
DryRun = TRUE|FALSE,
ExclusionId = "string",
InternetGatewayExclusionMode = "allow-bidirectional"|"allow-egress"
)