interface CfnExtensionProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppConfig.CfnExtensionProps |
Java | software.amazon.awscdk.services.appconfig.CfnExtensionProps |
Python | aws_cdk.aws_appconfig.CfnExtensionProps |
TypeScript | @aws-cdk/aws-appconfig » CfnExtensionProps |
Properties for defining a CfnExtension
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as appconfig from '@aws-cdk/aws-appconfig';
declare const actions: any;
const cfnExtensionProps: appconfig.CfnExtensionProps = {
actions: actions,
name: 'name',
// the properties below are optional
description: 'description',
latestVersionNumber: 123,
parameters: {
parametersKey: {
required: false,
// the properties below are optional
description: 'description',
},
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
actions | any | The actions defined in the extension. |
name | string | A name for the extension. |
description? | string | Information about the extension. |
latest | number | You can omit this field when you create an extension. |
parameters? | IResolvable | { [string]: IResolvable | Parameter } | The parameters accepted by the extension. |
tags? | Cfn [] | Adds one or more tags for the specified extension. |
actions
Type:
any
The actions defined in the extension.
name
Type:
string
A name for the extension.
Each extension name in your account must be unique. Extension versions use the same name.
description?
Type:
string
(optional)
Information about the extension.
latestVersionNumber?
Type:
number
(optional)
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?
Type:
IResolvable
| { [string]:
IResolvable
|
Parameter
}
(optional)
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.
tags?
Type:
Cfn
[]
(optional)
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.