Class CfnAssociation.TargetProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ssm.CfnAssociation.TargetProperty.Jsii$Proxy
All Implemented Interfaces:
CfnAssociation.TargetProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnAssociation.TargetProperty

@Stability(Stable) @Internal public static final class CfnAssociation.TargetProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAssociation.TargetProperty
An implementation for CfnAssociation.TargetProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnAssociation.TargetProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnAssociation.TargetProperty.Builder.
  • Method Details

    • getKey

      public final String getKey()
      Description copied from interface: CfnAssociation.TargetProperty
      User-defined criteria for sending commands that target managed nodes that meet the criteria.
      Specified by:
      getKey in interface CfnAssociation.TargetProperty
    • getValues

      public final List<String> getValues()
      Description copied from interface: CfnAssociation.TargetProperty
      User-defined criteria that maps to Key .

      For example, if you specified tag:ServerRole , you could specify value:WebServer to run a command on instances that include EC2 tags of ServerRole,WebServer .

      Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50.

      Specified by:
      getValues in interface CfnAssociation.TargetProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object