
commonMain.aws.sdk.kotlin.services.ssm.model.Association.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ssm.model
import aws.smithy.kotlin.runtime.SdkDsl
import aws.smithy.kotlin.runtime.time.Instant
/**
* Describes an association of a Amazon Web Services Systems Manager document (SSM document) and a managed node.
*/
public class Association private constructor(builder: Builder) {
/**
* The ID created by the system when you create an association. An association is a binding between a document and a set of targets with a schedule.
*/
public val associationId: kotlin.String? = builder.associationId
/**
* The association name.
*/
public val associationName: kotlin.String? = builder.associationName
/**
* The association version.
*/
public val associationVersion: kotlin.String? = builder.associationVersion
/**
* The version of the document used in the association. If you change a document version for a State Manager association, Systems Manager immediately runs the association unless you previously specifed the `apply-only-at-cron-interval` parameter.
*
* State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the `default` version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to `default`.
*/
public val documentVersion: kotlin.String? = builder.documentVersion
/**
* The number of hours that an association can run on specified targets. After the resulting cutoff time passes, associations that are currently running are cancelled, and no pending executions are started on remaining targets.
*/
public val duration: kotlin.Int? = builder.duration
/**
* The managed node ID.
*/
public val instanceId: kotlin.String? = builder.instanceId
/**
* The date on which the association was last run.
*/
public val lastExecutionDate: aws.smithy.kotlin.runtime.time.Instant? = builder.lastExecutionDate
/**
* The name of the SSM document.
*/
public val name: kotlin.String? = builder.name
/**
* Information about the association.
*/
public val overview: aws.sdk.kotlin.services.ssm.model.AssociationOverview? = builder.overview
/**
* A cron expression that specifies a schedule when the association runs. The schedule runs in Coordinated Universal Time (UTC).
*/
public val scheduleExpression: kotlin.String? = builder.scheduleExpression
/**
* Number of days to wait after the scheduled day to run an association.
*/
public val scheduleOffset: kotlin.Int? = builder.scheduleOffset
/**
* A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.
*/
public val targetMaps: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy