Lists the resource policies in this account¶
Description¶
Lists the resource policies in this account.
Usage¶
Arguments¶
-
nextTokenThe token for the next set of items to return. The token expires after 24 hours.
-
limitThe maximum number of resource policies to be displayed with one call of this API.
-
resourceArnThe ARN of the CloudWatch Logs resource for which to query the resource policy.
-
policyScopeSpecifies the scope of the resource policy. Valid values are
ACCOUNTorRESOURCE. When not specified, defaults toACCOUNT.
Value¶
A list with the following syntax:
list(
resourcePolicies = list(
list(
policyName = "string",
policyDocument = "string",
lastUpdatedTime = 123,
policyScope = "ACCOUNT"|"RESOURCE",
resourceArn = "string",
revisionId = "string"
)
),
nextToken = "string"
)