@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.623Z") @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.lex.*;
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 resource policy to add to the resource.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
|
@Stability(value=Stable) @NotNull Object getPolicy()
The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow IAM syntax. If the policy isn't valid, Amazon Lex returns a validation exception.
@Stability(value=Stable) @NotNull String getResourceArn()
@Stability(value=Stable) static CfnResourcePolicyProps.Builder builder()
CfnResourcePolicyProps.Builder of CfnResourcePolicyPropsCopyright © 2022. All rights reserved.