Class: Aws::CloudHSMV2::Types::PutResourcePolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudHSMV2::Types::PutResourcePolicyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudhsmv2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy ⇒ String
The policy you want to associate with a resource.
-
#resource_arn ⇒ String
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
Instance Attribute Details
#policy ⇒ String
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
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_arn ⇒ String
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
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 |