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

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

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

/**
 * Class for JSON routines that are framework-aware.
 */
@javax.annotation.Generated(value = "jsii-pacmak/0.10.5 (build 46bc9b0)", date = "2019-05-06T20:49:40.942Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.$Module.class, fqn = "@aws-cdk/cdk.CloudFormationJSON")
public class CloudFormationJSON extends software.amazon.jsii.JsiiObject {
    protected CloudFormationJSON(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
        super(mode);
    }
    public CloudFormationJSON() {
        super(software.amazon.jsii.JsiiObject.InitializationMode.Jsii);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
    }

    /**
     * Turn an arbitrary structure potentially containing Tokens into a JSON string.
     * 
     * Returns a Token which will evaluate to CloudFormation expression that
     * will be evaluated by CloudFormation to the JSON representation of the
     * input structure.
     * 
     * All Tokens substituted in this way must return strings, or the evaluation
     * in CloudFormation will fail.
     * 
     * @param obj The object to stringify.
     * @param context The Construct from which to resolve any Tokens found in the object.
     */
    public static java.lang.String stringify(@javax.annotation.Nullable final java.lang.Object obj, final software.amazon.awscdk.IConstruct context) {
        return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.CloudFormationJSON.class, "stringify", java.lang.String.class, new Object[] { obj, java.util.Objects.requireNonNull(context, "context is required") });
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy