Class: Aws::CloudHSMV2::Types::PutResourcePolicyResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudhsmv2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

The policy attached to a resource.

Returns:

  • (String)


1111
1112
1113
1114
1115
1116
# File 'lib/aws-sdk-cloudhsmv2/types.rb', line 1111

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

#resource_arnString

Amazon Resource Name (ARN) of the resource to which a policy is attached.

Returns:

  • (String)


1111
1112
1113
1114
1115
1116
# File 'lib/aws-sdk-cloudhsmv2/types.rb', line 1111

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