Show / Hide Table of Contents

Class CfnInclude

(deprecated) Includes a CloudFormation template into a stack.

Inheritance
System.Object
Construct
CfnElement
CfnInclude
Implements
IConstruct
Constructs.IConstruct
IDependable
Inherited Members
CfnElement.IsCfnElement(Object)
CfnElement.OverrideLogicalId(String)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
Namespace: Amazon.CDK
Assembly: Amazon.CDK.dll
Syntax (csharp)
public class CfnInclude : CfnElement, IConstruct, IDependable
Syntax (vb)
Public Class CfnInclude
    Inherits CfnElement
    Implements IConstruct, IDependable
Remarks

All elements of the template will be merged into the current stack, together with any elements created programmatically.

Stability: Deprecated

ExampleMetadata: infused

Examples
new CfnInclude(this, "ID", new CfnIncludeProps {
    Template = new Dictionary<string, IDictionary<string, IDictionary<string, object>>> {
        { "Resources", new Struct {
            Bucket = new Struct {
                Type = "AWS::S3::Bucket",
                Properties = new Struct {
                    BucketName = "my-shiny-bucket"
                }
            }
        } }
    }
});

Synopsis

Constructors

CfnInclude(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

CfnInclude(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

CfnInclude(Construct, String, ICfnIncludeProps)

(deprecated) Creates an adopted template construct.

Properties

Template

(deprecated) The included template.

Constructors

CfnInclude(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected CfnInclude(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

CfnInclude(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected CfnInclude(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

CfnInclude(Construct, String, ICfnIncludeProps)

(deprecated) Creates an adopted template construct.

public CfnInclude(Construct scope, string id, ICfnIncludeProps props)
Parameters
scope Constructs.Construct

The parent construct of this template.

id System.String

The ID of this construct.

props ICfnIncludeProps

Initialization properties.

Remarks

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.

Stability: Deprecated

Properties

Template

(deprecated) The included template.

public virtual JObject Template { get; }
Property Value

Newtonsoft.Json.Linq.JObject

Remarks

Stability: Deprecated

Implements

IConstruct
Constructs.IConstruct
IDependable
Back to top Generated by DocFX