AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The PublicAccessBlock
configuration to apply to this Amazon S3 bucket. If the
proposed configuration is for an existing Amazon S3 bucket and the configuration is
not specified, the access preview uses the existing setting. If the proposed configuration
is for a new bucket and the configuration is not specified, the access preview uses
false
. If the proposed configuration is for a new access point or multi-region
access point and the access point BPA configuration is not specified, the access preview
uses true
. For more information, see PublicAccessBlockConfiguration.
Namespace: Amazon.AccessAnalyzer.Model
Assembly: AWSSDK.AccessAnalyzer.dll
Version: 3.x.y.z
public class S3PublicAccessBlockConfiguration
The S3PublicAccessBlockConfiguration type exposes the following members
Name | Description | |
---|---|---|
S3PublicAccessBlockConfiguration() |
Name | Type | Description | |
---|---|---|---|
IgnorePublicAcls | System.Boolean |
Gets and sets the property IgnorePublicAcls. Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket. |
|
RestrictPublicBuckets | System.Boolean |
Gets and sets the property RestrictPublicBuckets. Specifies whether Amazon S3 should restrict public bucket policies for this bucket. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5