Class: Aws::EC2::Types::ModifyVpcBlockPublicAccessExclusionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dry_run ⇒ Boolean

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.

Returns:

  • (Boolean)


70154
70155
70156
70157
70158
70159
70160
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 70154

class ModifyVpcBlockPublicAccessExclusionRequest < Struct.new(
  :dry_run,
  :exclusion_id,
  :internet_gateway_exclusion_mode)
  SENSITIVE = []
  include Aws::Structure
end

#exclusion_id ⇒ String

The ID of an exclusion.

Returns:

  • (String)


70154
70155
70156
70157
70158
70159
70160
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 70154

class ModifyVpcBlockPublicAccessExclusionRequest < Struct.new(
  :dry_run,
  :exclusion_id,
  :internet_gateway_exclusion_mode)
  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)


70154
70155
70156
70157
70158
70159
70160
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 70154

class ModifyVpcBlockPublicAccessExclusionRequest < Struct.new(
  :dry_run,
  :exclusion_id,
  :internet_gateway_exclusion_mode)
  SENSITIVE = []
  include Aws::Structure
end