Class: Aws::AccessAnalyzer::Types::S3AccessPointConfiguration

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

Overview

Note:

When making an API call, you may pass S3AccessPointConfiguration data as a hash:

{
  access_point_policy: "AccessPointPolicy",
  network_origin: {
    internet_configuration: {
    },
    vpc_configuration: {
      vpc_id: "VpcId", # required
    },
  },
  public_access_block: {
    ignore_public_acls: false, # required
    restrict_public_buckets: false, # required
  },
}

The configuration for an Amazon S3 access point or multi-region access point for the bucket. You can propose up to 10 access points or multi-region access points per bucket. If the proposed Amazon S3 access point configuration is for an existing bucket, the access preview uses the proposed access point configuration in place of the existing access points. To propose an access point without a policy, you can provide an empty string as the access point policy. For more information, see Creating access points. For more information about access point policy limits, see Access points restrictions and limitations.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_point_policyString

The access point or multi-region access point policy.

Returns:

  • (String)


2685
2686
2687
2688
2689
2690
2691
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2685

class S3AccessPointConfiguration < Struct.new(
  :access_point_policy,
  :network_origin,
  :public_access_block)
  SENSITIVE = []
  include Aws::Structure
end

#network_originTypes::NetworkOriginConfiguration

The proposed Internet and VpcConfiguration to apply to this Amazon S3 access point. VpcConfiguration does not apply to multi-region access points. If the access preview is for a new resource and neither is specified, the access preview uses Internet for the network origin. If the access preview is for an existing resource and neither is specified, the access preview uses the exiting network origin.



2685
2686
2687
2688
2689
2690
2691
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2685

class S3AccessPointConfiguration < Struct.new(
  :access_point_policy,
  :network_origin,
  :public_access_block)
  SENSITIVE = []
  include Aws::Structure
end

#public_access_blockTypes::S3PublicAccessBlockConfiguration

The proposed S3PublicAccessBlock configuration to apply to this Amazon S3 access point or multi-region access point.



2685
2686
2687
2688
2689
2690
2691
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2685

class S3AccessPointConfiguration < Struct.new(
  :access_point_policy,
  :network_origin,
  :public_access_block)
  SENSITIVE = []
  include Aws::Structure
end