Skip to content

Delete Vpc Block Public Access Exclusion

ec2_delete_vpc_block_public_access_exclusion R Documentation

Delete a VPC Block Public Access (BPA) exclusion

Description

Delete a VPC Block Public Access (BPA) exclusion. 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. To learn more about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.

Usage

ec2_delete_vpc_block_public_access_exclusion(DryRun, ExclusionId)

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 is UnauthorizedOperation.

ExclusionId

[required] The ID of the exclusion.

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$delete_vpc_block_public_access_exclusion(
  DryRun = TRUE|FALSE,
  ExclusionId = "string"
)