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)


1055
1056
1057
1058
1059
1060
# File 'lib/aws-sdk-cloudhsmv2/types.rb', line 1055

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)


1055
1056
1057
1058
1059
1060
# File 'lib/aws-sdk-cloudhsmv2/types.rb', line 1055

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