Class: Aws::SSM::Types::DeleteResourcePolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSM::Types::DeleteResourcePolicyRequest
- Defined in:
- gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#deletion_mode ⇒ String
Specifies the intended outcome of the operation.
-
#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 the policies are attached.
Instance Attribute Details
#deletion_mode ⇒ String
Specifies the intended outcome of the operation. Applies only to the
Document resource type. The operation ignores this parameter for
other resource types. Optional. Defaults to RemoveSharing.
RemoveSharing– Deletes the resource policy and removes sharing of the document.RollbackMigration– Reverts the document to Custom sharing, preserving existing consumer access, instead of removing the policy.
5045 5046 5047 5048 5049 5050 5051 5052 |
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 5045 class DeleteResourcePolicyRequest < Struct.new( :resource_arn, :policy_id, :policy_hash, :deletion_mode) SENSITIVE = [] include Aws::Structure end |
#policy_hash ⇒ String
ID of the current policy version. The hash helps to prevent multiple calls from attempting to overwrite a policy.
5045 5046 5047 5048 5049 5050 5051 5052 |
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 5045 class DeleteResourcePolicyRequest < Struct.new( :resource_arn, :policy_id, :policy_hash, :deletion_mode) SENSITIVE = [] include Aws::Structure end |
#policy_id ⇒ String
The policy ID.
5045 5046 5047 5048 5049 5050 5051 5052 |
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 5045 class DeleteResourcePolicyRequest < Struct.new( :resource_arn, :policy_id, :policy_hash, :deletion_mode) SENSITIVE = [] include Aws::Structure end |
#resource_arn ⇒ String
Amazon Resource Name (ARN) of the resource to which the policies are attached.
5045 5046 5047 5048 5049 5050 5051 5052 |
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 5045 class DeleteResourcePolicyRequest < Struct.new( :resource_arn, :policy_id, :policy_hash, :deletion_mode) SENSITIVE = [] include Aws::Structure end |