Skip to content

Describe Vpc Block Public Access Options

ec2_describe_vpc_block_public_access_options R Documentation

Describe VPC Block Public Access (BPA) options

Description

Describe VPC Block Public Access (BPA) options. VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. To learn more about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.

Usage

ec2_describe_vpc_block_public_access_options(DryRun)

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.

Value

A list with the following syntax:

list(
  VpcBlockPublicAccessOptions = list(
    AwsAccountId = "string",
    AwsRegion = "string",
    State = "default-state"|"update-in-progress"|"update-complete",
    InternetGatewayBlockMode = "off"|"block-bidirectional"|"block-ingress",
    Reason = "string",
    LastUpdateTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    ManagedBy = "account"|"declarative-policy",
    ExclusionsAllowed = "allowed"|"not-allowed"
  )
)

Request syntax

svc$describe_vpc_block_public_access_options(
  DryRun = TRUE|FALSE
)