CmdID / aws / aws appconfig
aws appconfig update-extension
Updates an AppConfig extension. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To update an AWS AppConfig extension
The following update-extension example adds an additional parameter Key to an extension in AWS AppConfig.
aws appconfig update-extension --extension-identifier S3-backup-extension --parameters S3bucket={Required=true},CampaignID={Required=false}Identify--extension-identifierThe name, the ID, or the Amazon Resource Name (ARN) of the extension.--parametersOne or more parameters for the actions called 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": {
"CampaignID": {
"Required": false
},
"S3bucket": {
"Required": true
}
}
}For more information, see Working with AWS AppConfig extensions in the AWS AppConfig User Guide.
Options
--actionsThe actions defined in the extension.--descriptionInformation about the extension.--extension-identifierThe name, the ID, or the Amazon Resource Name (ARN) of the extension.--parametersOne or more parameters for the actions called by the extension.--version-numberThe extension version number.