AWS::XRay::ResourcePolicy
Sets the resource policy to grant one or more AWS services and accounts permissions to access X-Ray. Each resource policy will be associated with a specific AWS account. Each AWS account can have a maximum of 5 resource policies, and each policy name must be unique within that account. The maximum size of each resource policy is 5KB.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::XRay::ResourcePolicy", "Properties" : { "BypassPolicyLockoutCheck" :
Boolean
, "PolicyDocument" :String
, "PolicyName" :String
} }
YAML
Type: AWS::XRay::ResourcePolicy Properties: BypassPolicyLockoutCheck:
Boolean
PolicyDocument:String
PolicyName:String
Properties
BypassPolicyLockoutCheck
Property description not available.
Required: No
Type: Boolean
Update requires: No interruption
PolicyDocument
-
The resource policy document, which can be up to 5kb in size.
Required: Yes
Type: String
Update requires: No interruption
PolicyName
-
The name of the resource policy. Must be unique within a specific AWS account.
Required: Yes
Type: String
Minimum:
1
Maximum:
128
Pattern:
[\w+=,.@-]+
Update requires: Replacement