Class: Aws::SSM::Types::DeleteResourcePolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

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.

Returns:

  • (String)


4989
4990
4991
4992
4993
4994
4995
4996
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 4989

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.

Returns:

  • (String)


4989
4990
4991
4992
4993
4994
4995
4996
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 4989

class DeleteResourcePolicyRequest < Struct.new(
  :resource_arn,
  :policy_id,
  :policy_hash,
  :deletion_mode)
  SENSITIVE = []
  include Aws::Structure
end

#policy_id ⇒ String

The policy ID.

Returns:

  • (String)


4989
4990
4991
4992
4993
4994
4995
4996
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 4989

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.

Returns:

  • (String)


4989
4990
4991
4992
4993
4994
4995
4996
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 4989

class DeleteResourcePolicyRequest < Struct.new(
  :resource_arn,
  :policy_id,
  :policy_hash,
  :deletion_mode)
  SENSITIVE = []
  include Aws::Structure
end