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)


2390
2391
2392
2393
2394
2395
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2390

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)


2390
2391
2392
2393
2394
2395
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2390

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