Class CfnAlias.Builder

java.lang.Object
software.amazon.awscdk.services.lambda.CfnAlias.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlias>
Enclosing class:
CfnAlias

@Stability(Stable) public static final class CfnAlias.Builder extends Object implements software.amazon.jsii.Builder<CfnAlias>
A fluent builder for CfnAlias.
  • Method Details

    • create

      @Stability(Stable) public static CfnAlias.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnAlias.Builder.
    • functionName

      @Stability(Stable) public CfnAlias.Builder functionName(String functionName)
      The name of the Lambda function.

      Name formats - Function name - MyFunction .

      • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction .
      • Partial ARN - 123456789012:function:MyFunction .

      The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

      Parameters:
      functionName - The name of the Lambda function. This parameter is required.
      Returns:
      this
    • functionVersion

      @Stability(Stable) public CfnAlias.Builder functionVersion(String functionVersion)
      The function version that the alias invokes.

      Parameters:
      functionVersion - The function version that the alias invokes. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnAlias.Builder name(String name)
      The name of the alias.

      Parameters:
      name - The name of the alias. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnAlias.Builder description(String description)
      A description of the alias.

      Parameters:
      description - A description of the alias. This parameter is required.
      Returns:
      this
    • provisionedConcurrencyConfig

      @Stability(Stable) public CfnAlias.Builder provisionedConcurrencyConfig(CfnAlias.ProvisionedConcurrencyConfigurationProperty provisionedConcurrencyConfig)
      Specifies a provisioned concurrency configuration for a function's alias.

      Parameters:
      provisionedConcurrencyConfig - Specifies a provisioned concurrency configuration for a function's alias. This parameter is required.
      Returns:
      this
    • provisionedConcurrencyConfig

      @Stability(Stable) public CfnAlias.Builder provisionedConcurrencyConfig(IResolvable provisionedConcurrencyConfig)
      Specifies a provisioned concurrency configuration for a function's alias.

      Parameters:
      provisionedConcurrencyConfig - Specifies a provisioned concurrency configuration for a function's alias. This parameter is required.
      Returns:
      this
    • routingConfig

      @Stability(Stable) public CfnAlias.Builder routingConfig(IResolvable routingConfig)
      The routing configuration of the alias.

      Parameters:
      routingConfig - The routing configuration of the alias. This parameter is required.
      Returns:
      this
    • routingConfig

      @Stability(Stable) public CfnAlias.Builder routingConfig(CfnAlias.AliasRoutingConfigurationProperty routingConfig)
      The routing configuration of the alias.

      Parameters:
      routingConfig - The routing configuration of the alias. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnAlias build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnAlias>
      Returns:
      a newly built instance of CfnAlias.