Class: Aws::LambdaWeb::Types::PutResourcePolicyRequest

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

Overview

The request to add or update a resource-based policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy ⇒ String

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

Returns:

  • (String)


1662
1663
1664
1665
1666
1667
1668
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1662

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

#resource_arn ⇒ String

The Amazon Resource Name (ARN) of the web function.

Returns:

  • (String)


1662
1663
1664
1665
1666
1667
1668
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1662

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

#revision_id ⇒ String

The revision ID of the existing policy. Use this to prevent conflicts when updating a policy concurrently. If you don't specify a value, the update proceeds without checking the current revision.

Returns:

  • (String)


1662
1663
1664
1665
1666
1667
1668
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1662

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