ResourcePolicy - Amazon X-Ray
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

ResourcePolicy

A resource policy grants one or more Amazon services and accounts permissions to access X-Ray. Each resource policy is associated with a specific Amazon account.

Contents

LastUpdatedTime

When the policy was last updated, in Unix time seconds.

Type: Timestamp

Required: No

PolicyDocument

The resource policy document, which can be up to 5kb in size.

Type: String

Required: No

PolicyName

The name of the resource policy. Must be unique within a specific Amazon account.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [\w+=,.@-]+

Required: No

PolicyRevisionId

Returns the current policy revision id for this policy name.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: