LambdaValidator

class aws_cdk.aws_appconfig_alpha.LambdaValidator

Bases: object

(deprecated) Defines an AWS Lambda validator.

Stability:

deprecated

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_appconfig_alpha as appconfig_alpha
from aws_cdk import aws_lambda as lambda_

# function_: lambda.Function

lambda_validator = appconfig_alpha.LambdaValidator.from_function(function_)
Stability:

deprecated

Attributes

content

(deprecated) The content of the validator.

Stability:

deprecated

type

(deprecated) The type of validator.

Stability:

deprecated

Static Methods

classmethod from_function(func)

(deprecated) Defines an AWS Lambda validator from a Lambda function.

This will call addPermission to your function to grant AWS AppConfig permissions.

Parameters:

func (Function) – The function that defines the validator.

Stability:

deprecated

Return type:

LambdaValidator