Class: Aws::Lambda::Types::PublicAccessBlockConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::PublicAccessBlockConfig
- Defined in:
- gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb
Overview
An object that defines the public-access settings for a function.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#block_public_policy ⇒ Boolean
To block the creation of resource-based policies that would grant public access to your function, set
BlockPublicPolicy
totrue
. -
#restrict_public_resource ⇒ Boolean
To block public access to your function, even if its resource-based policy allows it, set
RestrictPublicResource
totrue
.
Instance Attribute Details
#block_public_policy ⇒ Boolean
To block the creation of resource-based policies that would grant
public access to your function, set BlockPublicPolicy
to true
.
To allow the creation of resource-based policies that would grant
public access to your function, set BlockPublicPolicy
to false
.
5051 5052 5053 5054 5055 5056 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 5051 class PublicAccessBlockConfig < Struct.new( :block_public_policy, :restrict_public_resource) SENSITIVE = [] include Aws::Structure end |
#restrict_public_resource ⇒ Boolean
To block public access to your function, even if its resource-based
policy allows it, set RestrictPublicResource
to true
. To allow
public access to a function with a resource-based policy that
permits it, set RestrictPublicResource
to false
.
5051 5052 5053 5054 5055 5056 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 5051 class PublicAccessBlockConfig < Struct.new( :block_public_policy, :restrict_public_resource) SENSITIVE = [] include Aws::Structure end |