interface CfnResourcePolicyProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.XRay.CfnResourcePolicyProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsxray#CfnResourcePolicyProps |
![]() | software.amazon.awscdk.services.xray.CfnResourcePolicyProps |
![]() | aws_cdk.aws_xray.CfnResourcePolicyProps |
![]() | aws-cdk-lib » aws_xray » CfnResourcePolicyProps |
Properties for defining a CfnResourcePolicy
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-resourcepolicy.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_xray as xray } from 'aws-cdk-lib';
const cfnResourcePolicyProps: xray.CfnResourcePolicyProps = {
policyDocument: 'policyDocument',
policyName: 'policyName',
// the properties below are optional
bypassPolicyLockoutCheck: false,
};
Properties
Name | Type | Description |
---|---|---|
policy | string | The resource-based policy document, which can be up to 5kb in size. |
policy | string | The name of the resource-based policy. |
bypass | boolean | IResolvable | A flag to indicate whether to bypass the resource-based policy lockout safety check. |
policyDocument
Type:
string
The resource-based policy document, which can be up to 5kb in size.
policyName
Type:
string
The name of the resource-based policy.
Must be unique within a specific AWS account.
bypassPolicyLockoutCheck?
Type:
boolean |
IResolvable
(optional)
A flag to indicate whether to bypass the resource-based policy lockout safety check.