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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_timestamp ⇒ Time

When the exclusion was created.

Returns:

  • (Time)


91522
91523
91524
91525
91526
91527
91528
91529
91530
91531
91532
91533
91534
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 91522

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_timestamp ⇒ Time

When the exclusion was deleted.

Returns:

  • (Time)


91522
91523
91524
91525
91526
91527
91528
91529
91530
91531
91532
91533
91534
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 91522

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_id ⇒ String

The ID of the exclusion.

Returns:

  • (String)


91522
91523
91524
91525
91526
91527
91528
91529
91530
91531
91532
91533
91534
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 91522

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_mode ⇒ String

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)


91522
91523
91524
91525
91526
91527
91528
91529
91530
91531
91532
91533
91534
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 91522

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_timestamp ⇒ Time

When the exclusion was last updated.

Returns:

  • (Time)


91522
91523
91524
91525
91526
91527
91528
91529
91530
91531
91532
91533
91534
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 91522

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

#reason ⇒ String

The reason for the current exclusion state.

Returns:

  • (String)


91522
91523
91524
91525
91526
91527
91528
91529
91530
91531
91532
91533
91534
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 91522

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_arn ⇒ String

The ARN of the exclusion.

Returns:

  • (String)


91522
91523
91524
91525
91526
91527
91528
91529
91530
91531
91532
91533
91534
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 91522

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

#state ⇒ String

The state of the exclusion.

Returns:

  • (String)


91522
91523
91524
91525
91526
91527
91528
91529
91530
91531
91532
91533
91534
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 91522

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

#tags ⇒ Array<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:



91522
91523
91524
91525
91526
91527
91528
91529
91530
91531
91532
91533
91534
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 91522

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