Class: Aws::SSM::Types::PutResourcePolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSM::Types::PutResourcePolicyRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-ssm/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy ⇒ String
A policy you want to associate with a resource.
-
#policy_hash ⇒ String
ID of the current policy version.
-
#policy_id ⇒ String
The policy ID.
-
#resource_arn ⇒ String
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
Instance Attribute Details
#policy ⇒ String
A policy you want to associate with a resource.
16074 16075 16076 16077 16078 16079 16080 16081 |
# File 'lib/aws-sdk-ssm/types.rb', line 16074 class PutResourcePolicyRequest < Struct.new( :resource_arn, :policy, :policy_id, :policy_hash) SENSITIVE = [] include Aws::Structure end |
#policy_hash ⇒ String
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
16074 16075 16076 16077 16078 16079 16080 16081 |
# File 'lib/aws-sdk-ssm/types.rb', line 16074 class PutResourcePolicyRequest < Struct.new( :resource_arn, :policy, :policy_id, :policy_hash) SENSITIVE = [] include Aws::Structure end |
#policy_id ⇒ String
The policy ID.
16074 16075 16076 16077 16078 16079 16080 16081 |
# File 'lib/aws-sdk-ssm/types.rb', line 16074 class PutResourcePolicyRequest < Struct.new( :resource_arn, :policy, :policy_id, :policy_hash) SENSITIVE = [] include Aws::Structure end |
#resource_arn ⇒ String
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
16074 16075 16076 16077 16078 16079 16080 16081 |
# File 'lib/aws-sdk-ssm/types.rb', line 16074 class PutResourcePolicyRequest < Struct.new( :resource_arn, :policy, :policy_id, :policy_hash) SENSITIVE = [] include Aws::Structure end |