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¶
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
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.ExclusionId
[required] The ID of an exclusion.
InternetGatewayExclusionMode
[required] The exclusion mode for internet gateway traffic.
allow-bidirectional
: Allow all internet traffic to and from the excluded VPCs and subnets.allow-egress
: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.
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"
)
)
)
)