Show / Hide Table of Contents

Class CfnAccessPointProps

Properties for defining a CfnAccessPoint.

Inheritance
System.Object
CfnAccessPointProps
Implements
ICfnAccessPointProps
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public class CfnAccessPointProps : Object, ICfnAccessPointProps
Syntax (vb)
Public Class CfnAccessPointProps
    Inherits Object
    Implements ICfnAccessPointProps
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;

var policy;
var policyStatus;

CfnAccessPointProps cfnAccessPointProps = new CfnAccessPointProps {
    Bucket = "bucket",

    // the properties below are optional
    Name = "name",
    Policy = policy,
    PolicyStatus = policyStatus,
    PublicAccessBlockConfiguration = new PublicAccessBlockConfigurationProperty {
        BlockPublicAcls = false,
        BlockPublicPolicy = false,
        IgnorePublicAcls = false,
        RestrictPublicBuckets = false
    },
    VpcConfiguration = new VpcConfigurationProperty {
        VpcId = "vpcId"
    }
};

Synopsis

Constructors

CfnAccessPointProps()

Properties

Bucket

The name of the bucket associated with this access point.

Name

The name of this access point.

Policy

The access point policy associated with this access point.

PolicyStatus

The container element for a bucket's policy status.

PublicAccessBlockConfiguration

The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket.

VpcConfiguration

The Virtual Private Cloud (VPC) configuration for this access point, if one exists.

Constructors

CfnAccessPointProps()

public CfnAccessPointProps()

Properties

Bucket

The name of the bucket associated with this access point.

public string Bucket { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-bucket

Name

The name of this access point.

public string Name { get; set; }
Property Value

System.String

Remarks

If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-name

Policy

The access point policy associated with this access point.

public object Policy { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-policy

PolicyStatus

The container element for a bucket's policy status.

public object PolicyStatus { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-policystatus

PublicAccessBlockConfiguration

The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket.

public object PublicAccessBlockConfiguration { get; set; }
Property Value

System.Object

Remarks

You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon S3 User Guide .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-publicaccessblockconfiguration

VpcConfiguration

The Virtual Private Cloud (VPC) configuration for this access point, if one exists.

public object VpcConfiguration { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-vpcconfiguration

Implements

ICfnAccessPointProps
Back to top Generated by DocFX