Class: Aws::LambdaWeb::Types::PutResourcePolicyResponse

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

Overview

Contains the resource-based policy and its revision ID.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy ⇒ String

The JSON-formatted resource-based policy attached to the web function.

Returns:

  • (String)


1492
1493
1494
1495
1496
1497
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1492

class PutResourcePolicyResponse < Struct.new(
  :policy,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#revision_id ⇒ String

The revision ID of the policy. Use this value in subsequent PutResourcePolicy or DeleteResourcePolicy requests to prevent conflicts.

Returns:

  • (String)


1492
1493
1494
1495
1496
1497
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1492

class PutResourcePolicyResponse < Struct.new(
  :policy,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end