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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


2753
2754
2755
2756
2757
2758
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2753

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)


2753
2754
2755
2756
2757
2758
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2753

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