Interface CfnResourcePolicyMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourcePolicyMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:01.059Z")
@Stability(Stable)
public interface CfnResourcePolicyMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnResourcePolicyPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lex.*;
Object policy;
CfnResourcePolicyMixinProps cfnResourcePolicyMixinProps = CfnResourcePolicyMixinProps.builder()
.policy(policy)
.resourceArn("resourceArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResourcePolicyMixinPropsstatic final classAn implementation forCfnResourcePolicyMixinProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicy
A resource policy to add to the resource.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.
- See Also:
-
getResourceArn
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.- See Also:
-
builder
-