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)


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_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)


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_idString

The policy ID.

Returns:

  • (String)


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_arnString

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

Returns:

  • (String)


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