Class: Aws::CloudTrail::Types::GetResourcePolicyResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the CloudTrail channel attached to resource-based policy.

Returns:

  • (String)


2802
2803
2804
2805
2806
2807
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2802

class GetResourcePolicyResponse < Struct.new(
  :resource_arn,
  :resource_policy)
  SENSITIVE = []
  include Aws::Structure
end

#resource_policyString

A JSON-formatted string that contains the resource-based policy attached to the CloudTrail channel.

Returns:

  • (String)


2802
2803
2804
2805
2806
2807
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2802

class GetResourcePolicyResponse < Struct.new(
  :resource_arn,
  :resource_policy)
  SENSITIVE = []
  include Aws::Structure
end