AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.AccessAnalyzer.Model.S3PublicAccessBlockConfiguration

Namespace: Amazon.AccessAnalyzer.Model
Assembly: AWSSDK.AccessAnalyzer.dll
Version: 3.x.y.z

Syntax

C#
public class S3PublicAccessBlockConfiguration

The S3PublicAccessBlockConfiguration type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property 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.

Public Property RestrictPublicBuckets System.Boolean

Gets and sets the property RestrictPublicBuckets.

Specifies whether Amazon S3 should restrict public bucket policies for this bucket.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5