Skip to content

Commit 713007a

Browse files
authored
Merge pull request #35 from gammarers/feature/re-resource-naming
feat: re resource naming
2 parents 3f615c8 + 8d70578 commit 713007a

File tree

5 files changed

+17
-12
lines changed

5 files changed

+17
-12
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/upgrade-main.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
1818
releaseToNpm: true,
1919
npmAccess: javascript.NpmAccess.PUBLIC,
2020
minNodeVersion: '18.0.0',
21-
workflowNodeVersion: '22.5.x',
21+
workflowNodeVersion: '22.x',
2222
depsUpgradeOptions: {
2323
workflowOptions: {
2424
labels: ['auto-approve', 'auto-merge'],

src/index.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
import { ResourceAutoNaming, ResourceDefaultNaming, ResourceNaming, ResourceNamingType } from '@gammarers/aws-resource-naming';
1+
import {
2+
ResourceAutoNaming,
3+
ResourceDefaultNaming,
4+
ResourceNaming,
5+
ResourceNamingType as CodeConnectionsHostCustomResourceResourceNamingType,
6+
} from '@gammarers/aws-resource-naming';
27
import * as cdk from 'aws-cdk-lib';
38
import * as iam from 'aws-cdk-lib/aws-iam';
49
import * as cr from 'aws-cdk-lib/custom-resources';
510
import { Construct } from 'constructs';
611

7-
export { ResourceAutoNaming, ResourceDefaultNaming, ResourceNamingType };
12+
export { CodeConnectionsHostCustomResourceResourceNamingType };
813

914
// Bitbucket | GitHub | GitHubEnterpriseServer | GitLab | GitLabSelfManaged
1015
export enum CodeConnectionsHostProviderType {
@@ -64,7 +69,7 @@ export enum ResponseField {
6469
//}
6570

6671
export interface CustomNaming {
67-
readonly type: ResourceNamingType.CUSTOM;
72+
readonly type: CodeConnectionsHostCustomResourceResourceNamingType.CUSTOM;
6873
// readonly names: Names; // CUSTOM の場合に必須
6974
readonly functionName: string; // フラット化
7075
readonly functionRoleName: string; // フラット化

0 commit comments

Comments
 (0)