@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.714Z") @Stability(value=Stable) public interface ResourcePolicyProps extends software.amazon.jsii.JsiiSerializable
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.iam.*;
import software.amazon.awscdk.services.logs.*;
PolicyStatement policyStatement;
ResourcePolicyProps resourcePolicyProps = ResourcePolicyProps.builder()
.policyStatements(List.of(policyStatement))
.resourcePolicyName("resourcePolicyName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResourcePolicyProps.Builder
A builder for
ResourcePolicyProps |
static class |
ResourcePolicyProps.Jsii$Proxy
An implementation for
ResourcePolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static ResourcePolicyProps.Builder |
builder() |
default List<PolicyStatement> |
getPolicyStatements()
Initial statements to add to the resource policy.
|
default String |
getResourcePolicyName()
Name of the log group resource policy.
|
@Stability(value=Stable) @Nullable default List<PolicyStatement> getPolicyStatements()
Default: - No statements
@Stability(value=Stable) @Nullable default String getResourcePolicyName()
Default: - Uses a unique id based on the construct path
@Stability(value=Stable) static ResourcePolicyProps.Builder builder()
ResourcePolicyProps.Builder of ResourcePolicyPropsCopyright © 2022. All rights reserved.