- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
There is not a single AWS Service that will respond to changes in the values of SSM parameters. Usually values of SSM parameters are considered infrastructure. So the values of these parameters usually come from CloudFormation templates (or terraform modules). The purpose of these parameters is often their use as defaults for the parameters in other CloudFormation templates.
That being said: The routing change can be easily modelled as an infrastructure change. If you setup your infrastructure as CloudFormation template to use an SSM parameter (this can be done in 2 ways, input parameter default or a dynamic reference). The internals of the CloudFormation template could arrange the proper routing. Deploying the template would use the value of the parameter, but if the parameter changes you need to redeploy the template (making sure you will use the latest value of the SSM parameter).
This could be automated if you set up an EventBridge rule to listen for changes to the parameter in question. The rule could then trigger a lambda. The lambda could then take care of redeploying the unchanged template.
Documentation can be found here:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 anni fa