AccessPointArgs

data class AccessPointArgs(val bucket: Output<String>? = null, val bucketAccountId: Output<String>? = null, val name: Output<String>? = null, val policy: Output<Any>? = null, val publicAccessBlockConfiguration: Output<AccessPointPublicAccessBlockConfigurationArgs>? = null, val vpcConfiguration: Output<AccessPointVpcConfigurationArgs>? = null) : ConvertibleToJava<AccessPointArgs>

The AWS::S3::AccessPoint resource is an Amazon S3 resource type that you can use to access buckets.

Constructors

Link copied to clipboard
constructor(bucket: Output<String>? = null, bucketAccountId: Output<String>? = null, name: Output<String>? = null, policy: Output<Any>? = null, publicAccessBlockConfiguration: Output<AccessPointPublicAccessBlockConfigurationArgs>? = null, vpcConfiguration: Output<AccessPointVpcConfigurationArgs>? = null)

Properties

Link copied to clipboard
val bucket: Output<String>? = null

The name of the bucket that you want to associate this Access Point with.

Link copied to clipboard
val bucketAccountId: Output<String>? = null

The AWS account ID associated with the S3 bucket associated with this access point.

Link copied to clipboard
val name: Output<String>? = null

The name you want to assign to this Access Point. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.

Link copied to clipboard
val policy: Output<Any>? = null

The Access Point Policy you want to apply to this access point. Search the CloudFormation User Guide for AWS::S3::AccessPoint for more information about the expected schema for this property.

Link copied to clipboard

The PublicAccessBlock configuration that you want to apply to this Access Point. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status 'The Meaning of Public' in the Amazon Simple Storage Service Developer Guide.

Link copied to clipboard

If you include this field, Amazon S3 restricts access to this Access Point to requests from the specified Virtual Private Cloud (VPC).

Functions

Link copied to clipboard
open override fun toJava(): AccessPointArgs