Class AssociationState


  • public final class AssociationState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AssociationState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> applyOnlyAtCronInterval()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> associationId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> associationName()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> automationTargetParameterName()  
      static AssociationState.Builder builder()  
      static AssociationState.Builder builder​(AssociationState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> calendarNames()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> complianceSeverity()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> documentVersion()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> maxConcurrency()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> maxErrors()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<AssociationOutputLocationArgs>> outputLocation()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> parameters()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> scheduleExpression()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> syncCompliance()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<AssociationTargetArgs>>> targets()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> waitForSuccessTimeoutSeconds()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • applyOnlyAtCronInterval

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> applyOnlyAtCronInterval()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        The ARN of the SSM association
      • associationId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> associationId()
        Returns:
        The ID of the SSM association.
      • associationName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> associationName()
        Returns:
        The descriptive name for the association.
      • automationTargetParameterName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> automationTargetParameterName()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> calendarNames()
        Returns:
        One or more Systems Manager Change Calendar names. The association runs only when the Change Calendar is open.
      • complianceSeverity

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> complianceSeverity()
        Returns:
        The compliance severity for the association. Can be one of the following: `UNSPECIFIED`, `LOW`, `MEDIUM`, `HIGH` or `CRITICAL`
      • documentVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> documentVersion()
        Returns:
        The document version you want to associate with the target(s). Can be a specific version or the default version.
      • maxConcurrency

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> maxConcurrency()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> maxErrors()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        The name of the SSM document to apply.
      • outputLocation

        public java.util.Optional<com.pulumi.core.Output<AssociationOutputLocationArgs>> outputLocation()
        Returns:
        An output location block. Output Location is documented below.
      • parameters

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> parameters()
        Returns:
        A block of arbitrary string parameters to pass to the SSM document.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • scheduleExpression

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> scheduleExpression()
        Returns:
        A [cron or rate expression](https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html) that specifies when the association runs.
      • syncCompliance

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> syncCompliance()
        Returns:
        The mode for generating association compliance. You can specify `AUTO` or `MANUAL`.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Returns:
        A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
      • targets

        public java.util.Optional<com.pulumi.core.Output<java.util.List<AssociationTargetArgs>>> targets()
        Returns:
        A block containing the targets of the SSM association. Targets are documented below. AWS currently supports a maximum of 5 targets.
      • waitForSuccessTimeoutSeconds

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> waitForSuccessTimeoutSeconds()
        Returns:
        The number of seconds to wait for the association status to be `Success`. If `Success` status is not reached within the given time, create operation will fail. Output Location (`outputLocation`) is an S3 bucket where you want to store the results of this association: