Skip to content

Commit

Permalink
refactor(ecs): rename NamespaceOptions to CloudMapNamespaceOptions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
piradeepk authored and Elad Ben-Israel committed Jun 24, 2019
1 parent 089fc93 commit 573e585
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-ecs/lib/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class Cluster extends Resource implements ICluster {
* NOTE: HttpNamespaces are not supported, as ECS always requires a DNSConfig when registering an instance to a Cloud
* Map service.
*/
public addDefaultCloudMapNamespace(options: NamespaceOptions): cloudmap.INamespace {
public addDefaultCloudMapNamespace(options: CloudMapNamespaceOptions): cloudmap.INamespace {
if (this._defaultCloudMapNamespace !== undefined) {
throw new Error("Can only add default namespace once.");
}
Expand Down Expand Up @@ -468,7 +468,7 @@ export interface AddCapacityOptions extends AddAutoScalingGroupCapacityOptions,
readonly machineImage?: ec2.IMachineImage;
}

export interface NamespaceOptions {
export interface CloudMapNamespaceOptions {
/**
* The domain name for the namespace, such as foo.com
*/
Expand Down

0 comments on commit 573e585

Please sign in to comment.