Class CfnInclude

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.854Z") @Stability(Deprecated) @Deprecated public class CfnInclude extends CfnElement
Deprecated.
use the CfnInclude class from the cloudformation-include module instead
(deprecated) 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.

Example:

 CfnInclude.Builder.create(this, "ID")
         .template(Map.of(
                 "Resources", Map.of(
                         "Bucket", Map.of(
                                 "Type", "AWS::S3::Bucket",
                                 "Properties", Map.of(
                                         "BucketName", "my-shiny-bucket")))))
         .build();
 

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Deprecated.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct

    IConstruct.Jsii$Default

    Nested classes/interfaces inherited from interface software.constructs.IConstruct

    software.constructs.IConstruct.Jsii$Default
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CfnInclude(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    Deprecated.
     
    protected
    CfnInclude(software.amazon.jsii.JsiiObjectRef objRef)
    Deprecated.
     
     
    CfnInclude(software.constructs.Construct scope, String id, CfnIncludeProps props)
    Deprecated.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.node.ObjectNode
    Deprecated.

    Methods inherited from class software.amazon.awscdk.core.CfnElement

    getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId

    Methods inherited from class software.amazon.awscdk.core.Construct

    getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate

    Methods inherited from class software.constructs.Construct

    toString

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • CfnInclude

      protected CfnInclude(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • CfnInclude

      protected CfnInclude(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • CfnInclude

      @Stability(Deprecated) @Deprecated public CfnInclude(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnIncludeProps props)
      Deprecated.
      (deprecated) 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.

      Parameters:
      scope - The parent construct of this template. This parameter is required.
      id - The ID of this construct. This parameter is required.
      props - Initialization properties. This parameter is required.
  • Method Details

    • getTemplate

      @Stability(Deprecated) @Deprecated @NotNull public com.fasterxml.jackson.databind.node.ObjectNode getTemplate()
      Deprecated.
      (deprecated) The included template.