CfnExtensionProps

class aws_cdk.aws_appconfig.CfnExtensionProps(*, actions, name, description=None, latest_version_number=None, parameters=None, tags=None)

Bases: object

Properties for defining a CfnExtension.

Parameters:
  • actions (Any) – The actions defined in the extension.

  • name (str) – A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.

  • description (Optional[str]) – Information about the extension.

  • latest_version_number (Union[int, float, None]) – 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 (Union[IResolvable, Mapping[str, Union[IResolvable, ParameterProperty, Dict[str, Any]]], None]) – 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 (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appconfig as appconfig

# actions: Any

cfn_extension_props = appconfig.CfnExtensionProps(
    actions=actions,
    name="name",

    # the properties below are optional
    description="description",
    latest_version_number=123,
    parameters={
        "parameters_key": appconfig.CfnExtension.ParameterProperty(
            required=False,

            # the properties below are optional
            description="description",
            dynamic=False
        )
    },
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

actions

The actions defined in the extension.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html#cfn-appconfig-extension-actions

description

Information about the extension.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html#cfn-appconfig-extension-description

latest_version_number

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html#cfn-appconfig-extension-latestversionnumber

name

A name for the extension.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html#cfn-appconfig-extension-name

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html#cfn-appconfig-extension-parameters

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html#cfn-appconfig-extension-tags