Class CfnExtension.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExtension>
- Enclosing class:
CfnExtension
CfnExtension
.-
Method Summary
Modifier and TypeMethodDescriptionThe actions defined in the extension.build()
static CfnExtension.Builder
description
(String description) Information about the extension.latestVersionNumber
(Number latestVersionNumber) You can omit this field when you create an extension.A name for the extension.parameters
(Map<String, ? extends Object> parameters) The parameters accepted by the extension.parameters
(IResolvable parameters) The parameters accepted by the extension.Adds one or more tags for the specified extension.
-
Method Details
-
create
@Stability(Stable) public static CfnExtension.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnExtension.Builder
.
-
actions
The actions defined in the extension.- Parameters:
actions
- The actions defined in the extension. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
description
Information about the extension.- Parameters:
description
- Information about the extension. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnExtension>
- Returns:
- a newly built instance of
CfnExtension
.
-