Class: Aws::CloudTrail::Types::PutResourcePolicyResponse

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 the resource-based policy.

Returns:

  • (String)


4350
4351
4352
4353
4354
4355
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 4350

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

#resource_policyString

The JSON-formatted string of the Amazon Web Services resource-based policy attached to the CloudTrail channel.

Returns:

  • (String)


4350
4351
4352
4353
4354
4355
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 4350

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