@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:36.285Z") @Stability(value=Experimental) public class BucketPolicy extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
BucketPolicy.Builder
(experimental) A fluent builder for
BucketPolicy. |
software.amazon.jsii.JsiiObject.InitializationModeIResource.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
BucketPolicy(software.constructs.Construct scope,
String id,
BucketPolicyProps props) |
protected |
BucketPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
BucketPolicy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyRemovalPolicy(RemovalPolicy removalPolicy)
(experimental) Sets the removal policy for the BucketPolicy.
|
PolicyDocument |
getDocument()
(experimental) A policy document containing permissions to add to the specified bucket.
|
generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected BucketPolicy(software.amazon.jsii.JsiiObjectRef objRef)
protected BucketPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public BucketPolicy(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
BucketPolicyProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental)
public void applyRemovalPolicy(@NotNull
RemovalPolicy removalPolicy)
applyRemovalPolicy in class ResourceremovalPolicy - the RemovalPolicy to set. This parameter is required.@Stability(value=Experimental) @NotNull public PolicyDocument getDocument()
For more information, see Access Policy Language Overview in the Amazon Simple Storage Service Developer Guide.
Copyright © 2021. All rights reserved.