Class CfnFunctionDefinitionVersion.Builder

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

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

    • create

      @Stability(Stable) public static CfnFunctionDefinitionVersion.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 CfnFunctionDefinitionVersion.Builder.
    • functionDefinitionId

      @Stability(Stable) public CfnFunctionDefinitionVersion.Builder functionDefinitionId(String functionDefinitionId)
      The ID of the function definition associated with this version.

      This value is a GUID.

      Parameters:
      functionDefinitionId - The ID of the function definition associated with this version. This parameter is required.
      Returns:
      this
    • functions

      @Stability(Stable) public CfnFunctionDefinitionVersion.Builder functions(IResolvable functions)
      The functions in this version.

      Parameters:
      functions - The functions in this version. This parameter is required.
      Returns:
      this
    • functions

      @Stability(Stable) public CfnFunctionDefinitionVersion.Builder functions(List<? extends Object> functions)
      The functions in this version.

      Parameters:
      functions - The functions in this version. This parameter is required.
      Returns:
      this
    • defaultConfig

      @Stability(Stable) public CfnFunctionDefinitionVersion.Builder defaultConfig(IResolvable defaultConfig)
      The default configuration that applies to all Lambda functions in the group.

      Individual Lambda functions can override these settings.

      Parameters:
      defaultConfig - The default configuration that applies to all Lambda functions in the group. This parameter is required.
      Returns:
      this
    • defaultConfig

      @Stability(Stable) public CfnFunctionDefinitionVersion.Builder defaultConfig(CfnFunctionDefinitionVersion.DefaultConfigProperty defaultConfig)
      The default configuration that applies to all Lambda functions in the group.

      Individual Lambda functions can override these settings.

      Parameters:
      defaultConfig - The default configuration that applies to all Lambda functions in the group. This parameter is required.
      Returns:
      this
    • build

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