AssociationState constructor

const AssociationState({
  1. Input<bool?>? applyOnlyAtCronInterval,
  2. Input<String?>? arn,
  3. Input<String?>? associationId,
  4. Input<String?>? associationName,
  5. Input<String?>? automationTargetParameterName,
  6. Input<List<String>?>? calendarNames,
  7. Input<String?>? complianceSeverity,
  8. Input<String?>? documentVersion,
  9. Input<String?>? maxConcurrency,
  10. Input<String?>? maxErrors,
  11. Input<String?>? name,
  12. Input<AssociationOutputLocation?>? outputLocation,
  13. Input<Map<String, String>?>? parameters,
  14. Input<String?>? region,
  15. Input<String?>? scheduleExpression,
  16. Input<String?>? syncCompliance,
  17. Input<Map<String, String>?>? tags,
  18. Input<Map<String, String>?>? tagsAll,
  19. Input<List<AssociationTarget>?>? targets,
  20. Input<int?>? waitForSuccessTimeoutSeconds,
})

Creates a new AssociationState. applyOnlyAtCronInterval By default, when you create a new or update associations, the system runs it immediately and then according to the schedule you specified. Enable this option if you do not want an association to run immediately after you create or update it. This parameter is not supported for rate expressions. Default: false. arn The ARN of the SSM association associationId The ID of the SSM association. associationName The descriptive name for the association. automationTargetParameterName Specify the target for the association. This target is required for associations that use an Automation document and target resources by using rate controls. This should be set to the SSM document parameter that will define how your automation will branch out. calendarNames One or more Systems Manager Change Calendar names. The association runs only when the Change Calendar is open. complianceSeverity The compliance severity for the association. Can be one of the following: UNSPECIFIED, LOW, MEDIUM, HIGH or CRITICAL documentVersion The document version you want to associate with the target(s). Can be a specific version or the default version. maxConcurrency The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. maxErrors The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify a number, for example 10, or a percentage of the target set, for example 10%. If you specify a threshold of 3, the stop command is sent when the fourth error is returned. If you specify a threshold of 10% for 50 associations, the stop command is sent when the sixth error is returned. name The name of the SSM document to apply. outputLocation An output location block. Output Location is documented below. parameters A block of arbitrary string parameters to pass to the SSM document. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. scheduleExpression A cron or rate expression that specifies when the association runs. syncCompliance The mode for generating association compliance. You can specify AUTO or MANUAL. tags A map of tags to assign to the object. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. targets A block containing the targets of the SSM association. Targets are documented below. AWS currently supports a maximum of 5 targets. waitForSuccessTimeoutSeconds The number of seconds to wait for the association status to be Success. If Success status is not reached within the given time, create opration will fail.

Implementation

const AssociationState({
  this.applyOnlyAtCronInterval,
  this.arn,
  this.associationId,
  this.associationName,
  this.automationTargetParameterName,
  this.calendarNames,
  this.complianceSeverity,
  this.documentVersion,
  this.maxConcurrency,
  this.maxErrors,
  this.name,
  this.outputLocation,
  this.parameters,
  this.region,
  this.scheduleExpression,
  this.syncCompliance,
  this.tags,
  this.tagsAll,
  this.targets,
  this.waitForSuccessTimeoutSeconds,
});