Interface StringParameterProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, ParameterOptions
All Known Implementing Classes:
StringParameterProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:37.839Z") @Stability(Stable) public interface StringParameterProps extends software.amazon.jsii.JsiiSerializable, ParameterOptions
Properties needed to create a String SSM parameter.

Example:

 StringParameter.Builder.create(this, "Parameter")
         .allowedPattern(".*")
         .description("The value Foo")
         .parameterName("FooParameter")
         .stringValue("Foo")
         .tier(ParameterTier.ADVANCED)
         .build();
 
  • Method Details

    • getStringValue

      @Stability(Stable) @NotNull String getStringValue()
      The value of the parameter.

      It may not reference another parameter and {{}} cannot be used in the value.

    • getDataType

      @Stability(Stable) @Nullable default ParameterDataType getDataType()
      The data type of the parameter, such as text or aws:ec2:image.

      Default: ParameterDataType.TEXT

    • getType

      @Stability(Stable) @Nullable default ParameterType getType()
      The type of the string parameter.

      Default: ParameterType.STRING

    • builder

      @Stability(Stable) static StringParameterProps.Builder builder()
      Returns:
      a StringParameterProps.Builder of StringParameterProps