1 | import { Construct } from 'constructs';
|
2 | import { CfnElement } from './cfn-element';
|
3 | /**
|
4 | * Construction properties for {@link CfnInclude}.
|
5 | *
|
6 | * @deprecated use the CfnInclude class from the cloudformation-include module instead
|
7 | */
|
8 | export interface CfnIncludeProps {
|
9 | /**
|
10 | * The CloudFormation template to include in the stack (as is).
|
11 | */
|
12 | readonly template: object;
|
13 | }
|
14 | /**
|
15 | * Includes a CloudFormation template into a stack. All elements of the template will be merged into
|
16 | * the current stack, together with any elements created programmatically.
|
17 | *
|
18 | * @deprecated use the CfnInclude class from the cloudformation-include module instead
|
19 | */
|
20 | export declare class CfnInclude extends CfnElement {
|
21 | /**
|
22 | * The included template.
|
23 | */
|
24 | readonly template: object;
|
25 | /**
|
26 | * Creates an adopted template construct. The template will be incorporated into the stack as-is with no changes at all.
|
27 | * This means that logical IDs of entities within this template may conflict with logical IDs of entities that are part of the
|
28 | * stack.
|
29 | * @param scope The parent construct of this template
|
30 | * @param id The ID of this construct
|
31 | * @param props Initialization properties.
|
32 | */
|
33 | constructor(scope: Construct, id: string, props: CfnIncludeProps);
|
34 | /**
|
35 | * @internal
|
36 | */
|
37 | _toCloudFormation(): object;
|
38 | }
|