CfnResourcePolicyMixinProps
- class aws_cdk.mixins_preview.aws_xray.mixins.CfnResourcePolicyMixinProps(*, bypass_policy_lockout_check=None, policy_document=None, policy_name=None)
Bases:
objectProperties for CfnResourcePolicyPropsMixin.
- Parameters:
bypass_policy_lockout_check (
Union[bool,IResolvable,None]) – A flag to indicate whether to bypass the resource-based policy lockout safety check.policy_document (
Optional[str]) – The resource-based policy document, which can be up to 5kb in size.policy_name (
Optional[str]) – The name of the resource-based policy. Must be unique within a specific AWS account.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-resourcepolicy.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_xray import mixins as xray_mixins cfn_resource_policy_mixin_props = xray_mixins.CfnResourcePolicyMixinProps( bypass_policy_lockout_check=False, policy_document="policyDocument", policy_name="policyName" )
Attributes
- bypass_policy_lockout_check
A flag to indicate whether to bypass the resource-based policy lockout safety check.
- policy_document
The resource-based policy document, which can be up to 5kb in size.
- policy_name
The name of the resource-based policy.
Must be unique within a specific AWS account.