Interface CfnAccessPointMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAccessPointMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.s3.*;
Object policy;
CfnAccessPointMixinProps cfnAccessPointMixinProps = CfnAccessPointMixinProps.builder()
.bucket("bucket")
.bucketAccountId("bucketAccountId")
.name("name")
.policy(policy)
.publicAccessBlockConfiguration(PublicAccessBlockConfigurationProperty.builder()
.blockPublicAcls(false)
.blockPublicPolicy(false)
.ignorePublicAcls(false)
.restrictPublicBuckets(false)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcConfiguration(VpcConfigurationProperty.builder()
.vpcId("vpcId")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAccessPointMixinPropsstatic final classAn implementation forCfnAccessPointMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe name of the bucket associated with this access point.default StringThe AWS account ID associated with the S3 bucket associated with this access point.default StringgetName()The name of this access point.default ObjectThe access point policy associated with this access point.default ObjectThe PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket.getTags()An array of tags that you can apply to access points.default ObjectThe Virtual Private Cloud (VPC) configuration for this access point, if one exists.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
The name of the bucket associated with this access point.Returns union: either
StringorIBucketRef- See Also:
-
getBucketAccountId
The AWS account ID associated with the S3 bucket associated with this access point.- See Also:
-
getName
The name of 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.
- See Also:
-
getPolicy
The access point policy associated with this access point.- See Also:
-
getPublicAccessBlockConfiguration
The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket.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 .
Returns union: either
IResolvableorCfnAccessPointPropsMixin.PublicAccessBlockConfigurationProperty- See Also:
-
getTags
An array of tags that you can apply to access points.Tags are key-value pairs of metadata used to categorize your access points and control access. For more information, see Using tags for attribute-based access control (ABAC) .
- See Also:
-
getVpcConfiguration
The Virtual Private Cloud (VPC) configuration for this access point, if one exists.Returns union: either
IResolvableorCfnAccessPointPropsMixin.VpcConfigurationProperty- See Also:
-
builder
- Returns:
- a
CfnAccessPointMixinProps.BuilderofCfnAccessPointMixinProps
-