From b1653b8da55e66aad59ee11f25bb8d24087fd874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Konrad=20Paw=C5=82aszek?= Date: Tue, 27 Jun 2023 09:10:24 +0200 Subject: [PATCH] feat: exposing name property in IFlow (#12) Exposes `name` property in the `IFlow` interface. --- API.md | 11 +++++++++++ src/core/flows/flow-base.ts | 1 + 2 files changed, 12 insertions(+) diff --git a/API.md b/API.md index 0058325f..4b5d6888 100644 --- a/API.md +++ b/API.md @@ -12014,6 +12014,7 @@ public onRunStarted(id: string, options?: OnEventOptions): Rule | env | aws-cdk-lib.ResourceEnvironment | The environment this resource belongs to. | | stack | aws-cdk-lib.Stack | The stack in which this resource is defined. | | arn | string | *No description.* | +| name | string | *No description.* | | type | FlowType | *No description.* | --- @@ -12071,6 +12072,16 @@ public readonly arn: string; --- +##### `name`Required + +```typescript +public readonly name: string; +``` + +- *Type:* string + +--- + ##### `type`Required ```typescript diff --git a/src/core/flows/flow-base.ts b/src/core/flows/flow-base.ts index 5b042386..6ae62563 100644 --- a/src/core/flows/flow-base.ts +++ b/src/core/flows/flow-base.ts @@ -17,6 +17,7 @@ import { ISource } from '../vertices/source'; export interface IFlow extends IResource { readonly arn: string; + readonly name: string; readonly type: FlowType; onRunStarted(id: string, options?: OnEventOptions): Rule;