@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.050Z") @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.secretsmanager.*;
Secret secret;
ResourcePolicyProps resourcePolicyProps = ResourcePolicyProps.builder()
.secret(secret)
.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() |
ISecret |
getSecret()
The secret to attach a resource-based permissions policy.
|
@Stability(value=Stable) @NotNull ISecret getSecret()
@Stability(value=Stable) static ResourcePolicyProps.Builder builder()
ResourcePolicyProps.Builder of ResourcePolicyPropsCopyright © 2022. All rights reserved.