All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.SSMParameterProvider Maven / Gradle / Ivy

There is a newer version: 0.36.1
Show newest version
package software.amazon.awscdk;

/**
 * Context provider that will read values from the SSM parameter store in the indicated account and region.
 */
@javax.annotation.Generated(value = "jsii-pacmak/0.10.5 (build 46bc9b0)", date = "2019-05-06T20:49:40.957Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.$Module.class, fqn = "@aws-cdk/cdk.SSMParameterProvider")
public class SSMParameterProvider extends software.amazon.jsii.JsiiObject {
    protected SSMParameterProvider(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
        super(mode);
    }
    public SSMParameterProvider(final software.amazon.awscdk.Construct context, final software.amazon.awscdk.SSMParameterProviderProps props) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.Jsii);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(context, "context is required"), java.util.Objects.requireNonNull(props, "props is required") });
    }

    /**
     * Return the SSM parameter string with the indicated key.
     */
    @javax.annotation.Nullable
    public java.lang.Object parameterValue(@javax.annotation.Nullable final java.lang.String defaultValue) {
        return this.jsiiCall("parameterValue", java.lang.Object.class, new Object[] { defaultValue });
    }

    /**
     * Return the SSM parameter string with the indicated key.
     */
    @javax.annotation.Nullable
    public java.lang.Object parameterValue() {
        return this.jsiiCall("parameterValue", java.lang.Object.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy