software.amazon.awscdk.Include Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk Show documentation
Show all versions of cdk Show documentation
AWS Cloud Development Kit Core Library
package software.amazon.awscdk;
/**
* Includes a CloudFormation template into a stack.
*
* All elements of the template will be merged into
* the current stack, together with any elements created programmatically.
*/
@javax.annotation.Generated(value = "jsii-pacmak/0.10.5 (build 46bc9b0)", date = "2019-05-06T20:49:40.955Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.$Module.class, fqn = "@aws-cdk/cdk.Include")
public class Include extends software.amazon.awscdk.CfnElement {
protected Include(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
super(mode);
}
/**
* Creates an adopted template construct.
*
* The template will be incorporated into the stack as-is with no changes at all.
* This means that logical IDs of entities within this template may conflict with logical IDs of entities that are part of the
* stack.
*
* @param scope The parent construct of this template.
* @param id The ID of this construct.
*/
public Include(final software.amazon.awscdk.Construct scope, final java.lang.String id, final software.amazon.awscdk.IncludeProps props) {
super(software.amazon.jsii.JsiiObject.InitializationMode.Jsii);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* The included template.
*/
public com.fasterxml.jackson.databind.node.ObjectNode getTemplate() {
return this.jsiiGet("template", com.fasterxml.jackson.databind.node.ObjectNode.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy