CmdID / aws / aws appconfig
aws appconfig create-extension-association
When you create an extension or configure an Amazon Web Services authored extension, you associate the extension with an AppConfig application, environment, or configuration profile. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To create an extension association
The following create-extension-association example creates a new extension association in AWS AppConfig.
aws appconfig create-extension-association --extension-identifier S3-backup-extension --resource-identifier "arn:aws:appconfig:us-west-2:123456789012:application/Finance" --parameters S3bucket=FinanceConfigurationBackupIdentify--extension-identifierThe name, the ID, or the Amazon Resource Name (ARN) of the extension.--resource-identifierThe ARN of an application, configuration profile, or environment.--parametersThe parameter names and values defined in the extensions.Its output
{
"Id": "a1b2c3d4",
"ExtensionArn": "arn:aws:appconfig:us-west-2:123456789012:extension/S3-backup-extension/1",
"ResourceArn": "arn:aws:appconfig:us-west-2:123456789012:application/Finance",
"Parameters": {
"S3bucket": "FinanceConfigurationBackup"
},
"ExtensionVersionNumber": 1
}For more information, see Working with AWS AppConfig extensions in the AWS AppConfig User Guide.
Options
--extension-identifierThe name, the ID, or the Amazon Resource Name (ARN) of the extension.--extension-version-numberThe version number of the extension.--parametersThe parameter names and values defined in the extensions.--resource-identifierThe ARN of an application, configuration profile, or environment.--tagsAdds one or more tags for the specified extension association.