Class: Aws::BedrockAgent::Types::PutResourcePolicyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#expected_revision_id ⇒ String

The expected revision identifier of the resource policy. Use this to prevent conflicts when multiple users update the same policy concurrently. Specify the revisionId from the most recent GetResourcePolicy or PutResourcePolicy response.

Returns:

  • (String)


9531
9532
9533
9534
9535
9536
9537
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 9531

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

#policy ⇒ String

The JSON-formatted resource policy to associate with the knowledge base.

Returns:

  • (String)


9531
9532
9533
9534
9535
9536
9537
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 9531

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

#resource_arn ⇒ String

The Amazon Resource Name (ARN) of the knowledge base to attach the resource policy to.

Returns:

  • (String)


9531
9532
9533
9534
9535
9536
9537
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 9531

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