95 lines
4.2 KiB
TypeScript
95 lines
4.2 KiB
TypeScript
import * as cdk from "../../core/lib";
|
|
import * as constructs from "constructs";
|
|
import * as cfn_parse from "../../core/lib/helpers-internal";
|
|
import { FlowTemplateReference, IFlowTemplateRef } from "../../interfaces/generated/aws-iotthingsgraph-interfaces.generated";
|
|
/**
|
|
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html.
|
|
*
|
|
* @cloudformationResource AWS::IoTThingsGraph::FlowTemplate
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html
|
|
*/
|
|
export declare class CfnFlowTemplate extends cdk.CfnResource implements cdk.IInspectable, IFlowTemplateRef {
|
|
/**
|
|
* The CloudFormation resource type name for this resource class.
|
|
*/
|
|
static readonly CFN_RESOURCE_TYPE_NAME: string;
|
|
/**
|
|
* Build a CfnFlowTemplate from CloudFormation properties
|
|
*
|
|
* A factory method that creates a new instance of this class from an object
|
|
* containing the CloudFormation properties of this resource.
|
|
* Used in the @aws-cdk/cloudformation-include module.
|
|
*
|
|
* @internal
|
|
*/
|
|
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnFlowTemplate;
|
|
/**
|
|
* Checks whether the given object is a CfnFlowTemplate
|
|
*/
|
|
static isCfnFlowTemplate(x: any): x is CfnFlowTemplate;
|
|
private _compatibleNamespaceVersion?;
|
|
private _definition;
|
|
protected readonly cfnPropertyNames: Record<string, string>;
|
|
/**
|
|
* Create a new `AWS::IoTThingsGraph::FlowTemplate`.
|
|
*
|
|
* @param scope Scope in which this resource is defined
|
|
* @param id Construct identifier for this resource (unique in its scope)
|
|
* @param props Resource properties
|
|
*/
|
|
constructor(scope: constructs.Construct, id: string, props: CfnFlowTemplateProps);
|
|
get flowTemplateRef(): FlowTemplateReference;
|
|
get compatibleNamespaceVersion(): number | undefined;
|
|
set compatibleNamespaceVersion(value: number | undefined);
|
|
get definition(): CfnFlowTemplate.DefinitionDocumentProperty | cdk.IResolvable;
|
|
set definition(value: CfnFlowTemplate.DefinitionDocumentProperty | cdk.IResolvable);
|
|
/**
|
|
* @cloudformationAttribute Id
|
|
*/
|
|
get attrId(): string;
|
|
protected get cfnProperties(): Record<string, any>;
|
|
/**
|
|
* Examines the CloudFormation resource and discloses attributes
|
|
*
|
|
* @param inspector tree inspector to collect and process attributes
|
|
*/
|
|
inspect(inspector: cdk.TreeInspector): void;
|
|
protected renderProperties(props: Record<string, any>): Record<string, any>;
|
|
}
|
|
export declare namespace CfnFlowTemplate {
|
|
/**
|
|
* @struct
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotthingsgraph-flowtemplate-definitiondocument.html
|
|
*/
|
|
interface DefinitionDocumentProperty {
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotthingsgraph-flowtemplate-definitiondocument.html#cfn-iotthingsgraph-flowtemplate-definitiondocument-language
|
|
*/
|
|
readonly language: string;
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotthingsgraph-flowtemplate-definitiondocument.html#cfn-iotthingsgraph-flowtemplate-definitiondocument-text
|
|
*/
|
|
readonly text: string;
|
|
}
|
|
}
|
|
/**
|
|
* Properties for defining a `CfnFlowTemplate`
|
|
*
|
|
* @struct
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html
|
|
*/
|
|
export interface CfnFlowTemplateProps {
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html#cfn-iotthingsgraph-flowtemplate-compatiblenamespaceversion
|
|
*/
|
|
readonly compatibleNamespaceVersion?: number;
|
|
/**
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html#cfn-iotthingsgraph-flowtemplate-definition
|
|
*/
|
|
readonly definition: CfnFlowTemplate.DefinitionDocumentProperty | cdk.IResolvable;
|
|
}
|
|
export type { IFlowTemplateRef, FlowTemplateReference };
|