Class Parameter

    • Method Detail

      • parameterKey

        public final String parameterKey()

        The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template.

        Returns:
        The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template.
      • parameterValue

        public final String parameterValue()

        The input value associated with the parameter.

        Returns:
        The input value associated with the parameter.
      • usePreviousValue

        public final Boolean usePreviousValue()

        During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.

        Returns:
        During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.
      • resolvedValue

        public final String resolvedValue()

        Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.

        Returns:
        Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)