In State Manager, an association is the result of binding configuration information that defines the state you want your instances to be in to the instances themselves. This information specifies when and how you want instance-related operations to run that ensure your Amazon EC2 and hybrid infrastructure is in an intended or consistent state.
An association defines the state you want to apply to a set of targets. An association includes three components and one optional set of components:
When you performed the Setup Inventory actions, you created an association in State Manager.
Inventory-Association
.Inventory is accomplished through the following:
The activities defined in the AWS-GatherSoftwareInventory command document.
The parameters provided in the Parameters section are passed to the document at execution.
The targets are defined in the Targets section. In this example there is a single target, the tag key-value pair Environment:OELabIPM
.
The schedule for this activity is defined under Specify schedule and Specify with to use a CRON/Rate expression on a 30 minute interval.
There is the option to specify Output options.
Note
If you change the command document, the Parameters section will change to be appropriate to the new command document.
Note
The inventory activity can take up to 10 minutes to complete. While waiting for the inventory activity to complete, you can proceed with the next section.
You can use AWS Systems Manager Configuration Compliance to scan your fleet of managed instances for patch compliance and configuration inconsistencies. You can collect and aggregate data from multiple AWS accounts and Regions, and then drill down into specific resources that aren’t compliant.
By default, Configuration Compliance displays compliance data about Systems Manager Patch Manager patching and Systems Manager State Manager associations. You can also customize the service and create your own compliance types based on your IT or business requirements. You can also port data to Amazon Athena and Amazon QuickSight to generate fleet-wide reports.