Class: Aws::CloudWatchLogs::Types::DescribeAccountPoliciesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::DescribeAccountPoliciesRequest
- Defined in:
- gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_identifiers ⇒ Array<String>
If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account observability, you can use this to specify the account ID of a source account.
-
#next_token ⇒ String
The token for the next set of items to return.
-
#policy_name ⇒ String
Use this parameter to limit the returned policies to only the policy with the name that you specify.
-
#policy_type ⇒ String
Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.
Instance Attribute Details
#account_identifiers ⇒ Array<String>
If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account observability, you can use this to specify the account ID of a source account. If you do, the operation returns the account policy for the specified account. Currently, you can specify only one account ID in this parameter.
If you omit this parameter, only the policy in the current account is returned.
2223 2224 2225 2226 2227 2228 2229 2230 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2223 class DescribeAccountPoliciesRequest < Struct.new( :policy_type, :policy_name, :account_identifiers, :next_token) SENSITIVE = [] include Aws::Structure end |
#next_token ⇒ String
The token for the next set of items to return. (You received this token from a previous call.)
2223 2224 2225 2226 2227 2228 2229 2230 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2223 class DescribeAccountPoliciesRequest < Struct.new( :policy_type, :policy_name, :account_identifiers, :next_token) SENSITIVE = [] include Aws::Structure end |
#policy_name ⇒ String
Use this parameter to limit the returned policies to only the policy with the name that you specify.
2223 2224 2225 2226 2227 2228 2229 2230 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2223 class DescribeAccountPoliciesRequest < Struct.new( :policy_type, :policy_name, :account_identifiers, :next_token) SENSITIVE = [] include Aws::Structure end |
#policy_type ⇒ String
Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.
2223 2224 2225 2226 2227 2228 2229 2230 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2223 class DescribeAccountPoliciesRequest < Struct.new( :policy_type, :policy_name, :account_identifiers, :next_token) SENSITIVE = [] include Aws::Structure end |