aws / amazon-ssm-agent

An agent to enable remote management of your EC2 instances, on-premises servers, or virtual machines (VMs).
https://aws.amazon.com/systems-manager/
Apache License 2.0
1.06k stars 326 forks source link

Configuring CloudWatch #454

Closed al786999 closed 1 year ago

al786999 commented 2 years ago

Hello, I have tried a few options under "Additional Arguments" to point Cloudwatch towards our document in the Parameter store which is appropriately named as AmazonCloudWatch-xyz but cannot find the correct format. Tried calling via parameter but error states "cannot use paramters in additional arguments" - is there anyway to install Cloudwatch and configure it (not using defaults) only using the AWS-ConfigureAWSPackage run command in SSM?

danr-amz commented 2 years ago

What customizations do you require?

Generally speaking, if you want to extend an existing document by adding custom pre- and/or post-processing steps, you might consider creating a new document and invoking the original document from your new one using the aws:runDocument plugin. (Or you could just copy the contents of the original document into a new document, then adjust the contents to suit your needs.)

Relevant doc pages: