CmdID

CmdID / aws / aws appconfig

aws appconfig create-extension

Creates an AppConfig extension. AWS CLI reference

1 example 6 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create an extension

The following create-extension example creates a new extension in AWS AppConfig.

aws appconfig create-extension --name S3-backup-extension --actions PRE_CREATE_HOSTED_CONFIGURATION_VERSION=[{Name=S3backup,Uri=arn:aws:lambda:us-west-2:123456789012:function:s3backupfunction,RoleArn=arn:aws:iam::123456789012:role/appconfigextensionrole}] --parameters S3bucket={Required=true}Identify
--nameA name for the extension.
--actionsThe actions defined in the extension.
--parametersThe parameters accepted by the extension.
Its output
{
    "Id": "1A2B3C4D",
    "Name": "S3-backup-extension",
    "VersionNumber": 1,
    "Arn": "arn:aws:appconfig:us-west-2:123456789012:extension/1A2B3C4D/1",
    "Actions": {
        "PRE_CREATE_HOSTED_CONFIGURATION_VERSION": [
            {
                "Name": "S3backup",
                "Uri": "arn:aws:lambda:us-west-2:123456789012:function:s3backupfunction",
                "RoleArn": "arn:aws:iam::123456789012:role/appconfigextensionrole"
            }
        ]
    },
    "Parameters": {
        "S3bucket": {
            "Required": true
        }
    }
}

For more information, see Working with AWS AppConfig extensions in the AWS AppConfig User Guide.

Options

6 in the AWS CLI reference
--actionsThe actions defined in the extension.
--descriptionInformation about the extension.
--latest-version-numberYou can omit this field when you create an extension.
--nameA name for the extension.
--parametersThe parameters accepted by the extension.
--tagsAdds one or more tags for the specified extension.