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)


15561
15562
15563
15564
15565
15566
15567
15568
# File 'lib/aws-sdk-ssm/types.rb', line 15561

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)


15561
15562
15563
15564
15565
15566
15567
15568
# File 'lib/aws-sdk-ssm/types.rb', line 15561

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

#policy_idString

The policy ID.

Returns:

  • (String)


15561
15562
15563
15564
15565
15566
15567
15568
# File 'lib/aws-sdk-ssm/types.rb', line 15561

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)


15561
15562
15563
15564
15565
15566
15567
15568
# File 'lib/aws-sdk-ssm/types.rb', line 15561

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