Class: Aws::Continuum::Types::PutResourcePolicyInput

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

Overview

Specifies the resource and its new policy.

Constant Summary collapse

SENSITIVE =
[:policy]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The ARN of a resource in the caller's account.

Returns:

  • (String)


3574
3575
3576
3577
3578
3579
3580
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 3574

class PutResourcePolicyInput < Struct.new(
  :arn,
  :policy,
  :expected_revision_id)
  SENSITIVE = [:policy]
  include Aws::Structure
end

#expected_revision_id ⇒ String

Optional optimistic-concurrency token for the currently observed policy.

Returns:

  • (String)


3574
3575
3576
3577
3578
3579
3580
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 3574

class PutResourcePolicyInput < Struct.new(
  :arn,
  :policy,
  :expected_revision_id)
  SENSITIVE = [:policy]
  include Aws::Structure
end

#policy ⇒ String

Omit or supply an empty Statement array to clear resource-policy grants and store the canonical empty-statement policy. Cross-account access is denied; same-account access remains subject to identity policies. Use an explicit Deny statement to deny same-account principals too.

Returns:

  • (String)


3574
3575
3576
3577
3578
3579
3580
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 3574

class PutResourcePolicyInput < Struct.new(
  :arn,
  :policy,
  :expected_revision_id)
  SENSITIVE = [:policy]
  include Aws::Structure
end