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

#limit ⇒ Integer

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

Returns:

  • (Integer)


3170
3171
3172
3173
3174
3175
3176
3177
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3170

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

#next_token ⇒ String

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

Returns:

  • (String)


3170
3171
3172
3173
3174
3175
3176
3177
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3170

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

#policy_scope ⇒ String

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

Returns:

  • (String)


3170
3171
3172
3173
3174
3175
3176
3177
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3170

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

#resource_arn ⇒ String

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

Returns:

  • (String)


3170
3171
3172
3173
3174
3175
3176
3177
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3170

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