Class CfnAccessGrantsLocationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.s3.mixins.CfnAccessGrantsLocationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessGrantsLocationPropsMixin>
- Enclosing class:
CfnAccessGrantsLocationPropsMixin
@Stability(Stable)
public static final class CfnAccessGrantsLocationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessGrantsLocationPropsMixin>
A fluent builder for
CfnAccessGrantsLocationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) iamRoleArn(String iamRoleArn) The Amazon Resource Name (ARN) of the IAM role for the registered location.locationScope(String locationScope) The S3 URI path to the location that you are registering.The AWS resource tags that you are adding to the S3 Access Grants location.
-
Method Details
-
create
@Stability(Stable) public static CfnAccessGrantsLocationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAccessGrantsLocationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAccessGrantsLocationPropsMixin.Builder.
-
iamRoleArn
The Amazon Resource Name (ARN) of the IAM role for the registered location.S3 Access Grants assumes this role to manage access to the registered location.
- Parameters:
iamRoleArn- The Amazon Resource Name (ARN) of the IAM role for the registered location. This parameter is required.- Returns:
this- See Also:
-
locationScope
@Stability(Stable) public CfnAccessGrantsLocationPropsMixin.Builder locationScope(String locationScope) The S3 URI path to the location that you are registering.The location scope can be the default S3 location
s3://, the S3 path to a bucket, or the S3 path to a bucket and prefix. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with theengineering/prefix or object key names that start with themarketing/campaigns/prefix.- Parameters:
locationScope- The S3 URI path to the location that you are registering. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnAccessGrantsLocationPropsMixin.Builder tags(List<? extends CfnTag> tags) The AWS resource tags that you are adding to the S3 Access Grants location.Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
- Parameters:
tags- The AWS resource tags that you are adding to the S3 Access Grants location. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccessGrantsLocationPropsMixin>- Returns:
- a newly built instance of
CfnAccessGrantsLocationPropsMixin.
-