-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed shared package (as a real package) and just literally share t…
…he Typescript file
- Loading branch information
1 parent
90f2a1d
commit 58f250c
Showing
10 changed files
with
118 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
**/*.js | ||
**/*.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
We just want to be able to share some common string definitions | ||
between both our actual stack and the client library. | ||
|
||
There is very little "code" here - so we are not worried about | ||
the fact these functions end up duplicated into both packages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
export function vpcIdParameterName(infrastructureStackId: string) { | ||
return `/${infrastructureStackId}/VPC/vpcId`; | ||
} | ||
|
||
export function vpcAvailabilityZonesParameterName( | ||
infrastructureStackId: string, | ||
) { | ||
return `/${infrastructureStackId}/VPC/availabilityZones`; | ||
} | ||
|
||
export function vpcPublicSubnetIdsParameterName(infrastructureStackId: string) { | ||
return `/${infrastructureStackId}/VPC/publicSubnetIds`; | ||
} | ||
|
||
export function vpcPublicSubnetRouteTableIdsParameterName( | ||
infrastructureStackId: string, | ||
) { | ||
return `/${infrastructureStackId}/VPC/publicSubnetRouteTableIds`; | ||
} | ||
|
||
export function vpcPrivateSubnetIdsParameterName( | ||
infrastructureStackId: string, | ||
) { | ||
return `/${infrastructureStackId}/VPC/privateSubnetIds`; | ||
} | ||
|
||
export function vpcPrivateSubnetRouteTableIdsParameterName( | ||
infrastructureStackId: string, | ||
) { | ||
return `/${infrastructureStackId}/VPC/privateSubnetRouteTableIds`; | ||
} | ||
|
||
export function vpcIsolatedSubnetIdsParameterName( | ||
infrastructureStackId: string, | ||
) { | ||
return `/${infrastructureStackId}/VPC/isolatedSubnetIds`; | ||
} | ||
|
||
export function vpcIsolatedSubnetRouteTableIdsParameterName( | ||
infrastructureStackId: string, | ||
) { | ||
return `/${infrastructureStackId}/VPC/isolatedSubnetRouteTableIds`; | ||
} | ||
|
||
export function vpcSecurityGroupIdParameterName(infrastructureStackId: string) { | ||
return `/${infrastructureStackId}/VPC/securityGroupId`; | ||
} | ||
|
||
export function vpcInternalSecurityGroupIdParameterName( | ||
infrastructureStackId: string, | ||
) { | ||
return `/${infrastructureStackId}/VPC/internalSecurityGroupId`; | ||
} | ||
|
||
export function secretsManagerSecretsPrefixParameterName( | ||
infrastructureStackId: string, | ||
) { | ||
return `/${infrastructureStackId}/SecretsManager/secretsPrefix`; | ||
} | ||
|
||
export function namespaceNameParameterName(infrastructureStackId: string) { | ||
return `/${infrastructureStackId}/HttpNamespace/namespaceName`; | ||
} | ||
|
||
export function namespaceIdParameterName(infrastructureStackId: string) { | ||
return `/${infrastructureStackId}/HttpNamespace/namespaceId`; | ||
} | ||
|
||
export function namespaceArnParameterName(infrastructureStackId: string) { | ||
return `/${infrastructureStackId}/HttpNamespace/namespaceArn`; | ||
} | ||
|
||
export function databaseEdgeDbDsnNoPasswordOrDatabaseParameterName( | ||
infrastructureStackId: string, | ||
dbName: string, | ||
) { | ||
return `/${infrastructureStackId}/Database/${dbName}/EdgeDb/dsnNoPasswordOrDatabase`; | ||
} | ||
|
||
export function databaseEdgeDbAdminPasswordSecretArnParameterName( | ||
infrastructureStackId: string, | ||
dbName: string, | ||
) { | ||
return `/${infrastructureStackId}/Database/${dbName}/EdgeDb/adminPasswordSecretArn`; | ||
} | ||
|
||
export function databaseEdgeDbSecurityGroupIdParameterName( | ||
infrastructureStackId: string, | ||
dbName: string, | ||
) { | ||
return `/${infrastructureStackId}/Database/${dbName}/EdgeDb/securityGroupId`; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters