@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-28T21:34:20.961Z") @Stability(value=Stable) public interface CfnResourcePolicyProps 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.ssm.*;
Object policy;
CfnResourcePolicyProps cfnResourcePolicyProps = CfnResourcePolicyProps.builder()
.policy(policy)
.resourceArn("resourceArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourcePolicyProps.Builder
A builder for
CfnResourcePolicyProps |
static class |
CfnResourcePolicyProps.Jsii$Proxy
An implementation for
CfnResourcePolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourcePolicyProps.Builder |
builder() |
Object |
getPolicy()
A policy you want to associate with a resource.
|
String |
getResourceArn()
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
|
@Stability(value=Stable) @NotNull Object getPolicy()
@Stability(value=Stable) @NotNull String getResourceArn()
@Stability(value=Stable) static CfnResourcePolicyProps.Builder builder()
CfnResourcePolicyProps.Builder of CfnResourcePolicyPropsCopyright © 2023. All rights reserved.