Interface CfnAccessGrantProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAccessGrantProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-23T05:56:22.947Z") @Stability(Stable) public interface CfnAccessGrantProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnAccessGrant.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.s3.*;
 CfnAccessGrantProps cfnAccessGrantProps = CfnAccessGrantProps.builder()
         .accessGrantsLocationId("accessGrantsLocationId")
         .grantee(GranteeProperty.builder()
                 .granteeIdentifier("granteeIdentifier")
                 .granteeType("granteeType")
                 .build())
         .permission("permission")
         // the properties below are optional
         .accessGrantsLocationConfiguration(AccessGrantsLocationConfigurationProperty.builder()
                 .s3SubPrefix("s3SubPrefix")
                 .build())
         .applicationArn("applicationArn")
         .s3PrefixType("s3PrefixType")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: