Class CfnExtension.Builder

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

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

    • create

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

      @Stability(Stable) public CfnExtension.Builder actions(Object actions)
      The actions defined in the extension.

      Parameters:
      actions - The actions defined in the extension. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnExtension.Builder name(String name)
      A name for the extension.

      Each extension name in your account must be unique. Extension versions use the same name.

      Parameters:
      name - A name for the extension. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnExtension.Builder description(String description)
      Information about the extension.

      Parameters:
      description - Information about the extension. This parameter is required.
      Returns:
      this
    • latestVersionNumber

      @Stability(Stable) public CfnExtension.Builder latestVersionNumber(Number latestVersionNumber)
      You can omit this field when you create an extension.

      When you create a new version, specify the most recent current version number. For example, you create version 3, enter 2 for this field.

      Parameters:
      latestVersionNumber - You can omit this field when you create an extension. This parameter is required.
      Returns:
      this
    • parameters

      @Stability(Stable) public CfnExtension.Builder parameters(IResolvable parameters)
      The parameters accepted by the extension.

      You specify parameter values when you associate the extension to an AWS AppConfig resource by using the CreateExtensionAssociation API action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.

      Parameters:
      parameters - The parameters accepted by the extension. This parameter is required.
      Returns:
      this
    • parameters

      @Stability(Stable) public CfnExtension.Builder parameters(Map<String,? extends Object> parameters)
      The parameters accepted by the extension.

      You specify parameter values when you associate the extension to an AWS AppConfig resource by using the CreateExtensionAssociation API action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.

      Parameters:
      parameters - The parameters accepted by the extension. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnExtension.Builder tags(List<? extends CfnTag> tags)
      Adds one or more tags for the specified extension.

      Tags are metadata that help you categorize resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define.

      Parameters:
      tags - Adds one or more tags for the specified extension. This parameter is required.
      Returns:
      this
    • build

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