Skip to content

Commit 0017a61

Browse files
committed
chore(docs): update readme(update example)
1 parent 046e379 commit 0017a61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ yarn add @gammarers/aws-codeconnections-host-custom-resource
2828
## Example
2929

3030
```typescript
31-
import { RDSDatabaseAutoRunningStopStack } from '@gammarers/aws-codeconnections-host-custom-resource';
31+
import { RDSDatabaseAutoRunningStopStack, CodeConnectionsHostProviderType } from '@gammarers/aws-codeconnections-host-custom-resource';
3232

3333
const codeConnectionsHostCustomResource = new CodeConnectionsHostCustomResource(this, 'CodeConnectionsHost', {
3434
name: 'gitlab.example.com', // required, connection host name (Minimum length of 1. Maximum length of 64.)
3535
providerEndpoint: 'https://gitlab.example.com', // required, your provider endpoint (Minimum length of 1. Maximum length of 512.)
36-
providerType: 'GitLabSelfManaged', // required, Bitbucket | GitHub | GitHubEnterpriseServer | GitLab | GitLabSelfManaged
36+
providerType: CodeConnectionsHostProviderType.GIT_LAB_SELF_MANAGED,
3737
});
3838

3939
// get host arn

0 commit comments

Comments
 (0)