Skip to content

Commit

Permalink
ci: rename ids to camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
NukaCody committed Nov 18, 2021
1 parent eada958 commit 2097216
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/transit-gateway-route-table-association.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ export interface ITransitGatewayRouteTableAssociation extends core.IResource {
* The ID of the transit gateway route table association
* @attribute
*/
readonly TransitGatewayRouteTableAssociationId: string;
readonly transitGatewayRouteTableAssociationId: string;
}

abstract class TransitGatewayRouteTableAssociationBase extends core.Resource implements ITransitGatewayRouteTableAssociation {
public abstract readonly TransitGatewayRouteTableAssociationId: string;
public abstract readonly transitGatewayRouteTableAssociationId: string;
}

/**
Expand All @@ -37,7 +37,7 @@ export interface TransitGatewayRouteTableAssociationProps {
* @resource AWS::EC2::TransitGatewayRouteTableAssociation
*/
export class TransitGatewayRouteTableAssociation extends TransitGatewayRouteTableAssociationBase {
public readonly TransitGatewayRouteTableAssociationId: string;
public readonly transitGatewayRouteTableAssociationId: string;

constructor(scope: core.Construct, id: string, props: TransitGatewayRouteTableAssociationProps) {
super(scope, id);
Expand All @@ -48,6 +48,6 @@ export class TransitGatewayRouteTableAssociation extends TransitGatewayRouteTabl
transitGatewayRouteTableId: props.transitGatewayRouteTable.transitGatewayRouteTableId,
});

this.TransitGatewayRouteTableAssociationId = resource.ref;
this.transitGatewayRouteTableAssociationId = resource.ref;
}
}
8 changes: 4 additions & 4 deletions src/transit-gateway-route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ export interface ITransitGatewayRoute extends core.IResource {
/**
* The ID of the transit gateway route
*/
readonly TransitGatewayRouteId: string;
readonly transitGatewayRouteId: string;
}

abstract class TransitGatewayRouteBase extends core.Resource implements ITransitGatewayRoute {
public abstract readonly TransitGatewayRouteId: string;
public abstract readonly transitGatewayRouteId: string;
}

/**
Expand Down Expand Up @@ -61,7 +61,7 @@ export interface TransitGatewayRouteProps {
* @resource AWS::EC2::TransitGatewayRoute
*/
export class TransitGatewayRoute extends TransitGatewayRouteBase {
public readonly TransitGatewayRouteId: string;
public readonly transitGatewayRouteId: string;

constructor(scope: core.Construct, id: string, props: TransitGatewayRouteProps) {
super(scope, id);
Expand All @@ -81,6 +81,6 @@ export class TransitGatewayRoute extends TransitGatewayRouteBase {
transitGatewayRouteTableId: props.transitGatewayRouteTable?.transitGatewayRouteTableId || '', //TODO Make Different Interface between internal representation and "app" level
});

this.TransitGatewayRouteId = resource.ref;
this.transitGatewayRouteId = resource.ref;
}
}

0 comments on commit 2097216

Please sign in to comment.