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
1093 1094 1095 1096 1097 1098 |
# File 'lib/aws-sdk-cloudhsmv2/types.rb', line 1093 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.
1093 1094 1095 1096 1097 1098 |
# File 'lib/aws-sdk-cloudhsmv2/types.rb', line 1093 class PutResourcePolicyRequest < Struct.new( :resource_arn, :policy) SENSITIVE = [] include Aws::Structure end |