Class: Aws::CloudHSMV2::Types::PutResourcePolicyRequest

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 you want to associate with a resource.

For an example policy, see [ Working with shared backups] in the CloudHSM User Guide

[1]: docs.aws.amazon.com/cloudhsm/latest/userguide/sharing.html

Returns:

  • (String)


1037
1038
1039
1040
1041
1042
# File 'lib/aws-sdk-cloudhsmv2/types.rb', line 1037

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

#resource_arnString

Amazon Resource Name (ARN) of the resource to which you want to attach a policy.

Returns:

  • (String)


1037
1038
1039
1040
1041
1042
# File 'lib/aws-sdk-cloudhsmv2/types.rb', line 1037

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