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)


2428
2429
2430
2431
2432
2433
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2428

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)


2428
2429
2430
2431
2432
2433
# File 'lib/aws-sdk-cloudtrail/types.rb', line 2428

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