Class: Aws::CloudWatchLogs::Types::DescribeResourcePoliciesRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#limitInteger

The maximum number of resource policies to be displayed with one call of this API.

Returns:

  • (Integer)


2436
2437
2438
2439
2440
2441
2442
2443
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2436

class DescribeResourcePoliciesRequest < Struct.new(
  :next_token,
  :limit,
  :resource_arn,
  :policy_scope)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token for the next set of items to return. The token expires after 24 hours.

Returns:

  • (String)


2436
2437
2438
2439
2440
2441
2442
2443
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2436

class DescribeResourcePoliciesRequest < Struct.new(
  :next_token,
  :limit,
  :resource_arn,
  :policy_scope)
  SENSITIVE = []
  include Aws::Structure
end

#policy_scopeString

Specifies the scope of the resource policy. Valid values are ACCOUNT or RESOURCE. When not specified, defaults to ACCOUNT.

Returns:

  • (String)


2436
2437
2438
2439
2440
2441
2442
2443
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2436

class DescribeResourcePoliciesRequest < Struct.new(
  :next_token,
  :limit,
  :resource_arn,
  :policy_scope)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The ARN of the CloudWatch Logs resource for which to query the resource policy.

Returns:

  • (String)


2436
2437
2438
2439
2440
2441
2442
2443
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2436

class DescribeResourcePoliciesRequest < Struct.new(
  :next_token,
  :limit,
  :resource_arn,
  :policy_scope)
  SENSITIVE = []
  include Aws::Structure
end