Skip to content

Commit

Permalink
Rename stack-element.ts to cfn-element.ts.
Browse files Browse the repository at this point in the history
  • Loading branch information
skinny85 committed Mar 5, 2019
1 parent c56f8d6 commit 0b74b99
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/cdk/lib/cloudformation/cfn-condition.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Construct } from '../core/construct';
import { ResolveContext } from '../core/tokens';
import { Referenceable } from './stack-element';
import { Referenceable } from './cfn-element';

export interface CfnConditionProps {
expression?: IConditionExpression;
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/cdk/lib/cloudformation/cfn-output.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Construct } from '../core/construct';
import { CfnElement } from './stack-element';
import { CfnElement } from './cfn-element';

export interface CfnOutputProps {
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/cdk/lib/cloudformation/cfn-parameter.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Construct } from '../core/construct';
import { Token } from '../core/tokens';
import { Ref, Referenceable } from './stack-element';
import { Ref, Referenceable } from './cfn-element';

export interface CfnParameterProps {
/**
Expand Down
4 changes: 3 additions & 1 deletion packages/@aws-cdk/cdk/lib/cloudformation/cfn-resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import { capitalizePropertyNames, ignoreEmpty, PostResolveToken } from '../core/
import { CfnCondition } from './cfn-condition';
import { CfnReference } from './cfn-tokens';
import { CreationPolicy, DeletionPolicy, UpdatePolicy } from './resource-policy';
import { Referenceable } from './stack-element';
// import required to be here, otherwise causes a cycle when running the generated JavaScript
// tslint:disable-next-line:ordered-imports
import { Referenceable } from './cfn-element';

export interface CfnResourceProps {
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/cdk/lib/cloudformation/include.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Construct } from '../core/construct';
import { CfnElement } from './stack-element';
import { CfnElement } from './cfn-element';

export interface IncludeProps {
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/cdk/lib/cloudformation/logical-id.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { makeUniqueId } from '../util/uniqueid';
import { CfnElement } from './stack-element';
import { CfnElement } from './cfn-element';

const PATH_SEP = '/';

Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/cdk/lib/cloudformation/mapping.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Construct } from '../core/construct';
import { Referenceable } from './cfn-element';
import { Fn } from './fn';
import { Referenceable } from './stack-element';

export interface MappingProps {
mapping?: { [k1: string]: { [k2: string]: any } };
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/cdk/lib/cloudformation/rule.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Construct } from '../core/construct';
import { capitalizePropertyNames } from '../core/util';
import { IConditionExpression } from './cfn-condition';
import { Referenceable } from './stack-element';
import { Referenceable } from './cfn-element';

/**
* A rule can include a RuleCondition property and must include an Assertions property.
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/cdk/lib/cloudformation/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,9 @@ function cfnElements(node: IConstruct, into: CfnElement[] = []): CfnElement[] {

// These imports have to be at the end to prevent circular imports
import { ArnComponents, arnFromComponents, parseArn } from './arn';
import { CfnElement } from './cfn-element';
import { CfnResource } from './cfn-resource';
import { Aws, ScopedAws } from './pseudo';
import { CfnElement } from './stack-element';

/**
* Find all resources in a set of constructs
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/cdk/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export * from './cloudformation/cfn-resource';
export * from './cloudformation/resource-policy';
export * from './cloudformation/rule';
export * from './cloudformation/stack';
export * from './cloudformation/stack-element';
export * from './cloudformation/cfn-element';
export * from './cloudformation/dynamic-reference';
export * from './cloudformation/tag';
export * from './cloudformation/removal-policy';
Expand Down

0 comments on commit 0b74b99

Please sign in to comment.