Class: Aws::EC2::Types::VpcBlockPublicAccessExclusion

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

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*.

[1]: docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_timestampTime

When the exclusion was created.

Returns:

  • (Time)


72844
72845
72846
72847
72848
72849
72850
72851
72852
72853
72854
72855
72856
# File 'lib/aws-sdk-ec2/types.rb', line 72844

class VpcBlockPublicAccessExclusion < Struct.new(
  :exclusion_id,
  :internet_gateway_exclusion_mode,
  :resource_arn,
  :state,
  :reason,
  :creation_timestamp,
  :last_update_timestamp,
  :deletion_timestamp,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#deletion_timestampTime

When the exclusion was deleted.

Returns:

  • (Time)


72844
72845
72846
72847
72848
72849
72850
72851
72852
72853
72854
72855
72856
# File 'lib/aws-sdk-ec2/types.rb', line 72844

class VpcBlockPublicAccessExclusion < Struct.new(
  :exclusion_id,
  :internet_gateway_exclusion_mode,
  :resource_arn,
  :state,
  :reason,
  :creation_timestamp,
  :last_update_timestamp,
  :deletion_timestamp,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#exclusion_idString

The ID of the exclusion.

Returns:

  • (String)


72844
72845
72846
72847
72848
72849
72850
72851
72852
72853
72854
72855
72856
# File 'lib/aws-sdk-ec2/types.rb', line 72844

class VpcBlockPublicAccessExclusion < Struct.new(
  :exclusion_id,
  :internet_gateway_exclusion_mode,
  :resource_arn,
  :state,
  :reason,
  :creation_timestamp,
  :last_update_timestamp,
  :deletion_timestamp,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#internet_gateway_exclusion_modeString

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.

Returns:

  • (String)


72844
72845
72846
72847
72848
72849
72850
72851
72852
72853
72854
72855
72856
# File 'lib/aws-sdk-ec2/types.rb', line 72844

class VpcBlockPublicAccessExclusion < Struct.new(
  :exclusion_id,
  :internet_gateway_exclusion_mode,
  :resource_arn,
  :state,
  :reason,
  :creation_timestamp,
  :last_update_timestamp,
  :deletion_timestamp,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#last_update_timestampTime

When the exclusion was last updated.

Returns:

  • (Time)


72844
72845
72846
72847
72848
72849
72850
72851
72852
72853
72854
72855
72856
# File 'lib/aws-sdk-ec2/types.rb', line 72844

class VpcBlockPublicAccessExclusion < Struct.new(
  :exclusion_id,
  :internet_gateway_exclusion_mode,
  :resource_arn,
  :state,
  :reason,
  :creation_timestamp,
  :last_update_timestamp,
  :deletion_timestamp,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#reasonString

The reason for the current exclusion state.

Returns:

  • (String)


72844
72845
72846
72847
72848
72849
72850
72851
72852
72853
72854
72855
72856
# File 'lib/aws-sdk-ec2/types.rb', line 72844

class VpcBlockPublicAccessExclusion < Struct.new(
  :exclusion_id,
  :internet_gateway_exclusion_mode,
  :resource_arn,
  :state,
  :reason,
  :creation_timestamp,
  :last_update_timestamp,
  :deletion_timestamp,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The ARN of the exclusion.

Returns:

  • (String)


72844
72845
72846
72847
72848
72849
72850
72851
72852
72853
72854
72855
72856
# File 'lib/aws-sdk-ec2/types.rb', line 72844

class VpcBlockPublicAccessExclusion < Struct.new(
  :exclusion_id,
  :internet_gateway_exclusion_mode,
  :resource_arn,
  :state,
  :reason,
  :creation_timestamp,
  :last_update_timestamp,
  :deletion_timestamp,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The state of the exclusion.

Returns:

  • (String)


72844
72845
72846
72847
72848
72849
72850
72851
72852
72853
72854
72855
72856
# File 'lib/aws-sdk-ec2/types.rb', line 72844

class VpcBlockPublicAccessExclusion < Struct.new(
  :exclusion_id,
  :internet_gateway_exclusion_mode,
  :resource_arn,
  :state,
  :reason,
  :creation_timestamp,
  :last_update_timestamp,
  :deletion_timestamp,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

‘tag` - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` for the filter value.

Returns:



72844
72845
72846
72847
72848
72849
72850
72851
72852
72853
72854
72855
72856
# File 'lib/aws-sdk-ec2/types.rb', line 72844

class VpcBlockPublicAccessExclusion < Struct.new(
  :exclusion_id,
  :internet_gateway_exclusion_mode,
  :resource_arn,
  :state,
  :reason,
  :creation_timestamp,
  :last_update_timestamp,
  :deletion_timestamp,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end