Class: Aws::SSM::Types::PutResourcePolicyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

A policy you want to associate with a resource.

Returns:

  • (String)

14941
14942
14943
14944
14945
14946
14947
14948
# File 'lib/aws-sdk-ssm/types.rb', line 14941

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

#policy_hashString

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.

Returns:

  • (String)

14941
14942
14943
14944
14945
14946
14947
14948
# File 'lib/aws-sdk-ssm/types.rb', line 14941

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

#policy_idString

The policy ID.

Returns:

  • (String)

14941
14942
14943
14944
14945
14946
14947
14948
# File 'lib/aws-sdk-ssm/types.rb', line 14941

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

#resource_arnString

Amazon Resource Name (ARN) of the resource to which you want to attach a policy.

Returns:

  • (String)

14941
14942
14943
14944
14945
14946
14947
14948
# File 'lib/aws-sdk-ssm/types.rb', line 14941

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