@aws-cdk/aws-codestar-alpha 2.9.0-alpha.0 → 2.13.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +22 -6
- package/.jsii.tabl.json +40 -31
- package/README.md +3 -3
- package/lib/github-repository.d.ts +17 -68
- package/lib/github-repository.js +10 -11
- package/package.json +15 -8
- package/rosetta/default.ts-fixture +10 -0
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"aws-cdk-lib": "^2.
|
|
11
|
+
"aws-cdk-lib": "^2.13.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -1523,6 +1523,19 @@
|
|
|
1523
1523
|
}
|
|
1524
1524
|
}
|
|
1525
1525
|
},
|
|
1526
|
+
"aws-cdk-lib.aws_kafkaconnect": {
|
|
1527
|
+
"targets": {
|
|
1528
|
+
"dotnet": {
|
|
1529
|
+
"namespace": "Amazon.CDK.AWS.KafkaConnect"
|
|
1530
|
+
},
|
|
1531
|
+
"java": {
|
|
1532
|
+
"package": "software.amazon.awscdk.services.kafkaconnect"
|
|
1533
|
+
},
|
|
1534
|
+
"python": {
|
|
1535
|
+
"module": "aws_cdk.aws_kafkaconnect"
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
},
|
|
1526
1539
|
"aws-cdk-lib.aws_kendra": {
|
|
1527
1540
|
"targets": {
|
|
1528
1541
|
"dotnet": {
|
|
@@ -2907,7 +2920,7 @@
|
|
|
2907
2920
|
"stability": "experimental"
|
|
2908
2921
|
},
|
|
2909
2922
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
2910
|
-
"jsiiVersion": "1.
|
|
2923
|
+
"jsiiVersion": "1.54.0 (build b1b977a)",
|
|
2911
2924
|
"keywords": [
|
|
2912
2925
|
"aws",
|
|
2913
2926
|
"cdk",
|
|
@@ -2921,12 +2934,15 @@
|
|
|
2921
2934
|
"compiledWithDeprecationWarnings": true,
|
|
2922
2935
|
"pacmak": {
|
|
2923
2936
|
"hasDefaultInterfaces": true
|
|
2937
|
+
},
|
|
2938
|
+
"rosetta": {
|
|
2939
|
+
"strict": true
|
|
2924
2940
|
}
|
|
2925
2941
|
}
|
|
2926
2942
|
},
|
|
2927
2943
|
"name": "@aws-cdk/aws-codestar-alpha",
|
|
2928
2944
|
"readme": {
|
|
2929
|
-
"markdown": "# AWS::CodeStar Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\n## GitHub Repository\n\nTo create a new GitHub Repository and commit the assets from S3 bucket into the repository after it is created:\n\n```ts\nimport * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n\nnew codestar.GitHubRepository(
|
|
2945
|
+
"markdown": "# AWS::CodeStar Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\n## GitHub Repository\n\nTo create a new GitHub Repository and commit the assets from S3 bucket into the repository after it is created:\n\n```ts\nimport * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n\nnew codestar.GitHubRepository(this, 'GitHubRepo', {\n owner: 'aws',\n repositoryName: 'aws-cdk',\n accessToken: SecretValue.secretsManager('my-github-token', {\n jsonField: 'token',\n }),\n contentsBucket: s3.Bucket.fromBucketName(this, 'Bucket', 'bucket-name'),\n contentsKey: 'import.zip',\n});\n```\n\n## Update or Delete the GitHubRepository\n\nAt this moment, updates to the `GitHubRepository` are not supported and the repository will not be deleted upon the deletion of the CloudFormation stack. You will need to update or delete the GitHub repository manually.\n"
|
|
2930
2946
|
},
|
|
2931
2947
|
"repository": {
|
|
2932
2948
|
"directory": "packages/individual-packages/aws-codestar",
|
|
@@ -2971,7 +2987,7 @@
|
|
|
2971
2987
|
"custom": {
|
|
2972
2988
|
"exampleMetadata": "infused"
|
|
2973
2989
|
},
|
|
2974
|
-
"example": "import * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n\nnew codestar.GitHubRepository(
|
|
2990
|
+
"example": "import * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n\nnew codestar.GitHubRepository(this, 'GitHubRepo', {\n owner: 'aws',\n repositoryName: 'aws-cdk',\n accessToken: SecretValue.secretsManager('my-github-token', {\n jsonField: 'token',\n }),\n contentsBucket: s3.Bucket.fromBucketName(this, 'Bucket', 'bucket-name'),\n contentsKey: 'import.zip',\n});",
|
|
2975
2991
|
"stability": "experimental",
|
|
2976
2992
|
"summary": "The GitHubRepository resource."
|
|
2977
2993
|
},
|
|
@@ -3057,7 +3073,7 @@
|
|
|
3057
3073
|
"custom": {
|
|
3058
3074
|
"exampleMetadata": "infused"
|
|
3059
3075
|
},
|
|
3060
|
-
"example": "import * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n\nnew codestar.GitHubRepository(
|
|
3076
|
+
"example": "import * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n\nnew codestar.GitHubRepository(this, 'GitHubRepo', {\n owner: 'aws',\n repositoryName: 'aws-cdk',\n accessToken: SecretValue.secretsManager('my-github-token', {\n jsonField: 'token',\n }),\n contentsBucket: s3.Bucket.fromBucketName(this, 'Bucket', 'bucket-name'),\n contentsKey: 'import.zip',\n});",
|
|
3061
3077
|
"stability": "experimental",
|
|
3062
3078
|
"summary": "Construction properties of {@link GitHubRepository}."
|
|
3063
3079
|
},
|
|
@@ -3312,6 +3328,6 @@
|
|
|
3312
3328
|
"symbolId": "lib/github-repository:RepositoryVisibility"
|
|
3313
3329
|
}
|
|
3314
3330
|
},
|
|
3315
|
-
"version": "2.
|
|
3331
|
+
"version": "2.13.0-alpha.0",
|
|
3316
3332
|
"fingerprint": "**********"
|
|
3317
3333
|
}
|
package/.jsii.tabl.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2",
|
|
3
|
-
"toolVersion": "1.
|
|
3
|
+
"toolVersion": "1.54.0",
|
|
4
4
|
"snippets": {
|
|
5
|
-
"
|
|
5
|
+
"08aca27e6c6b0ba7d882ef99efbe9a82246c6084e0134ba28fdef4449ef1ada5": {
|
|
6
6
|
"translations": {
|
|
7
7
|
"python": {
|
|
8
|
-
"source": "import aws_cdk.aws_codestar_alpha as codestar\nimport aws_cdk.aws_s3 as s3\n\ncodestar.GitHubRepository(
|
|
8
|
+
"source": "import aws_cdk.aws_codestar_alpha as codestar\nimport aws_cdk.aws_s3 as s3\n\n\ncodestar.GitHubRepository(self, \"GitHubRepo\",\n owner=\"aws\",\n repository_name=\"aws-cdk\",\n access_token=SecretValue.secrets_manager(\"my-github-token\",\n json_field=\"token\"\n ),\n contents_bucket=s3.Bucket.from_bucket_name(self, \"Bucket\", \"bucket-name\"),\n contents_key=\"import.zip\"\n)",
|
|
9
9
|
"version": "2"
|
|
10
10
|
},
|
|
11
11
|
"csharp": {
|
|
12
|
-
"source": "using Amazon.CDK.AWS.Codestar.Alpha;\nusing Amazon.CDK.AWS.S3;\n\nnew GitHubRepository(
|
|
12
|
+
"source": "using Amazon.CDK.AWS.Codestar.Alpha;\nusing Amazon.CDK.AWS.S3;\n\n\nnew GitHubRepository(this, \"GitHubRepo\", new GitHubRepositoryProps {\n Owner = \"aws\",\n RepositoryName = \"aws-cdk\",\n AccessToken = SecretValue.SecretsManager(\"my-github-token\", new SecretsManagerSecretOptions {\n JsonField = \"token\"\n }),\n ContentsBucket = Bucket.FromBucketName(this, \"Bucket\", \"bucket-name\"),\n ContentsKey = \"import.zip\"\n});",
|
|
13
13
|
"version": "1"
|
|
14
14
|
},
|
|
15
15
|
"java": {
|
|
16
|
-
"source": "import software.amazon.awscdk.services.codestar.alpha.*;\nimport software.amazon.awscdk.services.s3.*;\n\nGitHubRepository.Builder.create(
|
|
16
|
+
"source": "import software.amazon.awscdk.services.codestar.alpha.*;\nimport software.amazon.awscdk.services.s3.*;\n\n\nGitHubRepository.Builder.create(this, \"GitHubRepo\")\n .owner(\"aws\")\n .repositoryName(\"aws-cdk\")\n .accessToken(SecretValue.secretsManager(\"my-github-token\", SecretsManagerSecretOptions.builder()\n .jsonField(\"token\")\n .build()))\n .contentsBucket(Bucket.fromBucketName(this, \"Bucket\", \"bucket-name\"))\n .contentsKey(\"import.zip\")\n .build();",
|
|
17
17
|
"version": "1"
|
|
18
18
|
},
|
|
19
19
|
"$": {
|
|
20
|
-
"source": "import * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n\nnew codestar.GitHubRepository(
|
|
20
|
+
"source": "import * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n\nnew codestar.GitHubRepository(this, 'GitHubRepo', {\n owner: 'aws',\n repositoryName: 'aws-cdk',\n accessToken: SecretValue.secretsManager('my-github-token', {\n jsonField: 'token',\n }),\n contentsBucket: s3.Bucket.fromBucketName(this, 'Bucket', 'bucket-name'),\n contentsKey: 'import.zip',\n});",
|
|
21
21
|
"version": "0"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
@@ -31,21 +31,24 @@
|
|
|
31
31
|
"line": 22
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"didCompile":
|
|
34
|
+
"didCompile": true,
|
|
35
35
|
"fqnsReferenced": [
|
|
36
36
|
"@aws-cdk/aws-codestar-alpha.GitHubRepository",
|
|
37
37
|
"@aws-cdk/aws-codestar-alpha.GitHubRepositoryProps",
|
|
38
38
|
"aws-cdk-lib.SecretValue",
|
|
39
|
+
"aws-cdk-lib.SecretValue#secretsManager",
|
|
40
|
+
"aws-cdk-lib.SecretsManagerSecretOptions",
|
|
39
41
|
"aws-cdk-lib.aws_s3.Bucket",
|
|
40
42
|
"aws-cdk-lib.aws_s3.Bucket#fromBucketName",
|
|
41
43
|
"aws-cdk-lib.aws_s3.IBucket"
|
|
42
44
|
],
|
|
43
|
-
"fullSource": "
|
|
45
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nnew codestar.GitHubRepository(this, 'GitHubRepo', {\n owner: 'aws',\n repositoryName: 'aws-cdk',\n accessToken: SecretValue.secretsManager('my-github-token', {\n jsonField: 'token',\n }),\n contentsBucket: s3.Bucket.fromBucketName(this, 'Bucket', 'bucket-name'),\n contentsKey: 'import.zip',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
44
46
|
"syntaxKindCounter": {
|
|
45
47
|
"10": 10,
|
|
46
|
-
"75":
|
|
48
|
+
"75": 15,
|
|
49
|
+
"104": 2,
|
|
47
50
|
"193": 2,
|
|
48
|
-
"194":
|
|
51
|
+
"194": 4,
|
|
49
52
|
"196": 2,
|
|
50
53
|
"197": 1,
|
|
51
54
|
"226": 1,
|
|
@@ -55,24 +58,24 @@
|
|
|
55
58
|
"281": 6,
|
|
56
59
|
"290": 1
|
|
57
60
|
},
|
|
58
|
-
"fqnsFingerprint": "
|
|
61
|
+
"fqnsFingerprint": "f3ac293765d2f2a5e1d21847b6e8149920e0350b9adc7b9a0a7827406e17161c"
|
|
59
62
|
},
|
|
60
|
-
"
|
|
63
|
+
"0e5ab43957b24f9fbab4cb922d46799749f1c4aae071bf104ef0cd07348a30bd": {
|
|
61
64
|
"translations": {
|
|
62
65
|
"python": {
|
|
63
|
-
"source": "import aws_cdk.aws_codestar_alpha as codestar\nimport aws_cdk.aws_s3 as s3\n\ncodestar.GitHubRepository(
|
|
66
|
+
"source": "import aws_cdk.aws_codestar_alpha as codestar\nimport aws_cdk.aws_s3 as s3\n\n\ncodestar.GitHubRepository(self, \"GitHubRepo\",\n owner=\"aws\",\n repository_name=\"aws-cdk\",\n access_token=SecretValue.secrets_manager(\"my-github-token\",\n json_field=\"token\"\n ),\n contents_bucket=s3.Bucket.from_bucket_name(self, \"Bucket\", \"bucket-name\"),\n contents_key=\"import.zip\"\n)",
|
|
64
67
|
"version": "2"
|
|
65
68
|
},
|
|
66
69
|
"csharp": {
|
|
67
|
-
"source": "using Amazon.CDK.AWS.Codestar.Alpha;\nusing Amazon.CDK.AWS.S3;\n\nnew GitHubRepository(
|
|
70
|
+
"source": "using Amazon.CDK.AWS.Codestar.Alpha;\nusing Amazon.CDK.AWS.S3;\n\n\nnew GitHubRepository(this, \"GitHubRepo\", new GitHubRepositoryProps {\n Owner = \"aws\",\n RepositoryName = \"aws-cdk\",\n AccessToken = SecretValue.SecretsManager(\"my-github-token\", new SecretsManagerSecretOptions {\n JsonField = \"token\"\n }),\n ContentsBucket = Bucket.FromBucketName(this, \"Bucket\", \"bucket-name\"),\n ContentsKey = \"import.zip\"\n});",
|
|
68
71
|
"version": "1"
|
|
69
72
|
},
|
|
70
73
|
"java": {
|
|
71
|
-
"source": "import software.amazon.awscdk.services.codestar.alpha.*;\nimport software.amazon.awscdk.services.s3.*;\n\nGitHubRepository.Builder.create(
|
|
74
|
+
"source": "import software.amazon.awscdk.services.codestar.alpha.*;\nimport software.amazon.awscdk.services.s3.*;\n\n\nGitHubRepository.Builder.create(this, \"GitHubRepo\")\n .owner(\"aws\")\n .repositoryName(\"aws-cdk\")\n .accessToken(SecretValue.secretsManager(\"my-github-token\", SecretsManagerSecretOptions.builder()\n .jsonField(\"token\")\n .build()))\n .contentsBucket(Bucket.fromBucketName(this, \"Bucket\", \"bucket-name\"))\n .contentsKey(\"import.zip\")\n .build();",
|
|
72
75
|
"version": "1"
|
|
73
76
|
},
|
|
74
77
|
"$": {
|
|
75
|
-
"source": "import * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n\nnew codestar.GitHubRepository(
|
|
78
|
+
"source": "import * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n\nnew codestar.GitHubRepository(this, 'GitHubRepo', {\n owner: 'aws',\n repositoryName: 'aws-cdk',\n accessToken: SecretValue.secretsManager('my-github-token', {\n jsonField: 'token',\n }),\n contentsBucket: s3.Bucket.fromBucketName(this, 'Bucket', 'bucket-name'),\n contentsKey: 'import.zip',\n});",
|
|
76
79
|
"version": "0"
|
|
77
80
|
}
|
|
78
81
|
},
|
|
@@ -85,21 +88,24 @@
|
|
|
85
88
|
"field": "example"
|
|
86
89
|
}
|
|
87
90
|
},
|
|
88
|
-
"didCompile":
|
|
91
|
+
"didCompile": true,
|
|
89
92
|
"fqnsReferenced": [
|
|
90
93
|
"@aws-cdk/aws-codestar-alpha.GitHubRepository",
|
|
91
94
|
"@aws-cdk/aws-codestar-alpha.GitHubRepositoryProps",
|
|
92
95
|
"aws-cdk-lib.SecretValue",
|
|
96
|
+
"aws-cdk-lib.SecretValue#secretsManager",
|
|
97
|
+
"aws-cdk-lib.SecretsManagerSecretOptions",
|
|
93
98
|
"aws-cdk-lib.aws_s3.Bucket",
|
|
94
99
|
"aws-cdk-lib.aws_s3.Bucket#fromBucketName",
|
|
95
100
|
"aws-cdk-lib.aws_s3.IBucket"
|
|
96
101
|
],
|
|
97
|
-
"fullSource": "
|
|
102
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nnew codestar.GitHubRepository(this, 'GitHubRepo', {\n owner: 'aws',\n repositoryName: 'aws-cdk',\n accessToken: SecretValue.secretsManager('my-github-token', {\n jsonField: 'token',\n }),\n contentsBucket: s3.Bucket.fromBucketName(this, 'Bucket', 'bucket-name'),\n contentsKey: 'import.zip',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
98
103
|
"syntaxKindCounter": {
|
|
99
104
|
"10": 10,
|
|
100
|
-
"75":
|
|
105
|
+
"75": 15,
|
|
106
|
+
"104": 2,
|
|
101
107
|
"193": 2,
|
|
102
|
-
"194":
|
|
108
|
+
"194": 4,
|
|
103
109
|
"196": 2,
|
|
104
110
|
"197": 1,
|
|
105
111
|
"226": 1,
|
|
@@ -109,24 +115,24 @@
|
|
|
109
115
|
"281": 6,
|
|
110
116
|
"290": 1
|
|
111
117
|
},
|
|
112
|
-
"fqnsFingerprint": "
|
|
118
|
+
"fqnsFingerprint": "f3ac293765d2f2a5e1d21847b6e8149920e0350b9adc7b9a0a7827406e17161c"
|
|
113
119
|
},
|
|
114
|
-
"
|
|
120
|
+
"b2c45949efe39cb2b851297e64553c29136455a562c27964c29b3fac49b7ab22": {
|
|
115
121
|
"translations": {
|
|
116
122
|
"python": {
|
|
117
|
-
"source": "import aws_cdk.aws_codestar_alpha as codestar\nimport aws_cdk.aws_s3 as s3\n\ncodestar.GitHubRepository(
|
|
123
|
+
"source": "import aws_cdk.aws_codestar_alpha as codestar\nimport aws_cdk.aws_s3 as s3\n\n\ncodestar.GitHubRepository(self, \"GitHubRepo\",\n owner=\"aws\",\n repository_name=\"aws-cdk\",\n access_token=SecretValue.secrets_manager(\"my-github-token\",\n json_field=\"token\"\n ),\n contents_bucket=s3.Bucket.from_bucket_name(self, \"Bucket\", \"bucket-name\"),\n contents_key=\"import.zip\"\n)",
|
|
118
124
|
"version": "2"
|
|
119
125
|
},
|
|
120
126
|
"csharp": {
|
|
121
|
-
"source": "using Amazon.CDK.AWS.Codestar.Alpha;\nusing Amazon.CDK.AWS.S3;\n\nnew GitHubRepository(
|
|
127
|
+
"source": "using Amazon.CDK.AWS.Codestar.Alpha;\nusing Amazon.CDK.AWS.S3;\n\n\nnew GitHubRepository(this, \"GitHubRepo\", new GitHubRepositoryProps {\n Owner = \"aws\",\n RepositoryName = \"aws-cdk\",\n AccessToken = SecretValue.SecretsManager(\"my-github-token\", new SecretsManagerSecretOptions {\n JsonField = \"token\"\n }),\n ContentsBucket = Bucket.FromBucketName(this, \"Bucket\", \"bucket-name\"),\n ContentsKey = \"import.zip\"\n});",
|
|
122
128
|
"version": "1"
|
|
123
129
|
},
|
|
124
130
|
"java": {
|
|
125
|
-
"source": "import software.amazon.awscdk.services.codestar.alpha.*;\nimport software.amazon.awscdk.services.s3.*;\n\nGitHubRepository.Builder.create(
|
|
131
|
+
"source": "import software.amazon.awscdk.services.codestar.alpha.*;\nimport software.amazon.awscdk.services.s3.*;\n\n\nGitHubRepository.Builder.create(this, \"GitHubRepo\")\n .owner(\"aws\")\n .repositoryName(\"aws-cdk\")\n .accessToken(SecretValue.secretsManager(\"my-github-token\", SecretsManagerSecretOptions.builder()\n .jsonField(\"token\")\n .build()))\n .contentsBucket(Bucket.fromBucketName(this, \"Bucket\", \"bucket-name\"))\n .contentsKey(\"import.zip\")\n .build();",
|
|
126
132
|
"version": "1"
|
|
127
133
|
},
|
|
128
134
|
"$": {
|
|
129
|
-
"source": "import * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n\nnew codestar.GitHubRepository(
|
|
135
|
+
"source": "import * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n\nnew codestar.GitHubRepository(this, 'GitHubRepo', {\n owner: 'aws',\n repositoryName: 'aws-cdk',\n accessToken: SecretValue.secretsManager('my-github-token', {\n jsonField: 'token',\n }),\n contentsBucket: s3.Bucket.fromBucketName(this, 'Bucket', 'bucket-name'),\n contentsKey: 'import.zip',\n});",
|
|
130
136
|
"version": "0"
|
|
131
137
|
}
|
|
132
138
|
},
|
|
@@ -139,21 +145,24 @@
|
|
|
139
145
|
"field": "example"
|
|
140
146
|
}
|
|
141
147
|
},
|
|
142
|
-
"didCompile":
|
|
148
|
+
"didCompile": true,
|
|
143
149
|
"fqnsReferenced": [
|
|
144
150
|
"@aws-cdk/aws-codestar-alpha.GitHubRepository",
|
|
145
151
|
"@aws-cdk/aws-codestar-alpha.GitHubRepositoryProps",
|
|
146
152
|
"aws-cdk-lib.SecretValue",
|
|
153
|
+
"aws-cdk-lib.SecretValue#secretsManager",
|
|
154
|
+
"aws-cdk-lib.SecretsManagerSecretOptions",
|
|
147
155
|
"aws-cdk-lib.aws_s3.Bucket",
|
|
148
156
|
"aws-cdk-lib.aws_s3.Bucket#fromBucketName",
|
|
149
157
|
"aws-cdk-lib.aws_s3.IBucket"
|
|
150
158
|
],
|
|
151
|
-
"fullSource": "
|
|
159
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as codestar from '@aws-cdk/aws-codestar-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3'\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nnew codestar.GitHubRepository(this, 'GitHubRepo', {\n owner: 'aws',\n repositoryName: 'aws-cdk',\n accessToken: SecretValue.secretsManager('my-github-token', {\n jsonField: 'token',\n }),\n contentsBucket: s3.Bucket.fromBucketName(this, 'Bucket', 'bucket-name'),\n contentsKey: 'import.zip',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
152
160
|
"syntaxKindCounter": {
|
|
153
161
|
"10": 10,
|
|
154
|
-
"75":
|
|
162
|
+
"75": 15,
|
|
163
|
+
"104": 2,
|
|
155
164
|
"193": 2,
|
|
156
|
-
"194":
|
|
165
|
+
"194": 4,
|
|
157
166
|
"196": 2,
|
|
158
167
|
"197": 1,
|
|
159
168
|
"226": 1,
|
|
@@ -163,7 +172,7 @@
|
|
|
163
172
|
"281": 6,
|
|
164
173
|
"290": 1
|
|
165
174
|
},
|
|
166
|
-
"fqnsFingerprint": "
|
|
175
|
+
"fqnsFingerprint": "f3ac293765d2f2a5e1d21847b6e8149920e0350b9adc7b9a0a7827406e17161c"
|
|
167
176
|
}
|
|
168
177
|
}
|
|
169
178
|
}
|
package/README.md
CHANGED
|
@@ -23,13 +23,13 @@ To create a new GitHub Repository and commit the assets from S3 bucket into the
|
|
|
23
23
|
import * as codestar from '@aws-cdk/aws-codestar-alpha';
|
|
24
24
|
import * as s3 from 'aws-cdk-lib/aws-s3'
|
|
25
25
|
|
|
26
|
-
new codestar.GitHubRepository(
|
|
26
|
+
new codestar.GitHubRepository(this, 'GitHubRepo', {
|
|
27
27
|
owner: 'aws',
|
|
28
28
|
repositoryName: 'aws-cdk',
|
|
29
|
-
accessToken:
|
|
29
|
+
accessToken: SecretValue.secretsManager('my-github-token', {
|
|
30
30
|
jsonField: 'token',
|
|
31
31
|
}),
|
|
32
|
-
contentsBucket: s3.Bucket.fromBucketName(
|
|
32
|
+
contentsBucket: s3.Bucket.fromBucketName(this, 'Bucket', 'bucket-name'),
|
|
33
33
|
contentsKey: 'import.zip',
|
|
34
34
|
});
|
|
35
35
|
```
|
|
@@ -2,140 +2,89 @@ import * as s3 from 'aws-cdk-lib/aws-s3';
|
|
|
2
2
|
import * as cdk from 'aws-cdk-lib';
|
|
3
3
|
import { Construct } from 'constructs';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* @experimental
|
|
5
|
+
* GitHubRepository resource interface
|
|
8
6
|
*/
|
|
9
7
|
export interface IGitHubRepository extends cdk.IResource {
|
|
10
8
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @experimental
|
|
9
|
+
* the repository owner
|
|
14
10
|
*/
|
|
15
11
|
readonly owner: string;
|
|
16
12
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* @experimental
|
|
13
|
+
* the repository name
|
|
20
14
|
*/
|
|
21
15
|
readonly repo: string;
|
|
22
16
|
}
|
|
23
17
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* @experimental
|
|
18
|
+
* Construction properties of {@link GitHubRepository}.
|
|
27
19
|
*/
|
|
28
20
|
export interface GitHubRepositoryProps {
|
|
29
21
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* If this
|
|
22
|
+
* The GitHub user name for the owner of the GitHub repository to be created. If this
|
|
33
23
|
* repository should be owned by a GitHub organization, provide its name
|
|
34
|
-
*
|
|
35
|
-
* @experimental
|
|
36
24
|
*/
|
|
37
25
|
readonly owner: string;
|
|
38
26
|
/**
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* @experimental
|
|
27
|
+
* The name of the repository you want to create in GitHub with AWS CloudFormation stack creation
|
|
42
28
|
*/
|
|
43
29
|
readonly repositoryName: string;
|
|
44
30
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* @experimental
|
|
31
|
+
* The GitHub user's personal access token for the GitHub repository
|
|
48
32
|
*/
|
|
49
33
|
readonly accessToken: cdk.SecretValue;
|
|
50
34
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* @experimental
|
|
35
|
+
* The name of the Amazon S3 bucket that contains the ZIP file with the content to be committed to the new repository
|
|
54
36
|
*/
|
|
55
37
|
readonly contentsBucket: s3.IBucket;
|
|
56
38
|
/**
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* @experimental
|
|
39
|
+
* The S3 object key or file name for the ZIP file
|
|
60
40
|
*/
|
|
61
41
|
readonly contentsKey: string;
|
|
62
42
|
/**
|
|
63
|
-
*
|
|
43
|
+
* The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket
|
|
64
44
|
*
|
|
65
45
|
* @default - not specified
|
|
66
|
-
* @experimental
|
|
67
46
|
*/
|
|
68
47
|
readonly contentsS3Version?: string;
|
|
69
48
|
/**
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
* You can use GitHub issues to track information
|
|
49
|
+
* Indicates whether to enable issues for the GitHub repository. You can use GitHub issues to track information
|
|
73
50
|
* and bugs for your repository.
|
|
74
51
|
*
|
|
75
52
|
* @default true
|
|
76
|
-
* @experimental
|
|
77
53
|
*/
|
|
78
54
|
readonly enableIssues?: boolean;
|
|
79
55
|
/**
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
* If so, you choose who can see and commit to
|
|
56
|
+
* Indicates whether the GitHub repository is a private repository. If so, you choose who can see and commit to
|
|
83
57
|
* this repository.
|
|
84
58
|
*
|
|
85
59
|
* @default RepositoryVisibility.PUBLIC
|
|
86
|
-
* @experimental
|
|
87
60
|
*/
|
|
88
61
|
readonly visibility?: RepositoryVisibility;
|
|
89
62
|
/**
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* This description is displayed in GitHub after the repository
|
|
63
|
+
* A comment or description about the new repository. This description is displayed in GitHub after the repository
|
|
93
64
|
* is created.
|
|
94
65
|
*
|
|
95
66
|
* @default - no description
|
|
96
|
-
* @experimental
|
|
97
67
|
*/
|
|
98
68
|
readonly description?: string;
|
|
99
69
|
}
|
|
100
70
|
/**
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* @experimental
|
|
71
|
+
* The GitHubRepository resource
|
|
104
72
|
*/
|
|
105
73
|
export declare class GitHubRepository extends cdk.Resource implements IGitHubRepository {
|
|
106
|
-
/**
|
|
107
|
-
* (experimental) the repository owner.
|
|
108
|
-
*
|
|
109
|
-
* @experimental
|
|
110
|
-
*/
|
|
111
74
|
readonly owner: string;
|
|
112
|
-
/**
|
|
113
|
-
* (experimental) the repository name.
|
|
114
|
-
*
|
|
115
|
-
* @experimental
|
|
116
|
-
*/
|
|
117
75
|
readonly repo: string;
|
|
118
|
-
/**
|
|
119
|
-
* @experimental
|
|
120
|
-
*/
|
|
121
76
|
constructor(scope: Construct, id: string, props: GitHubRepositoryProps);
|
|
122
77
|
}
|
|
123
78
|
/**
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
* @experimental
|
|
79
|
+
* Visibility of the GitHubRepository
|
|
127
80
|
*/
|
|
128
81
|
export declare enum RepositoryVisibility {
|
|
129
82
|
/**
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
* @experimental
|
|
83
|
+
* private repository
|
|
133
84
|
*/
|
|
134
85
|
PRIVATE = 0,
|
|
135
86
|
/**
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
* @experimental
|
|
87
|
+
* public repository
|
|
139
88
|
*/
|
|
140
89
|
PUBLIC = 1
|
|
141
90
|
}
|
package/lib/github-repository.js
CHANGED
|
@@ -7,14 +7,9 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
const cdk = require("aws-cdk-lib");
|
|
8
8
|
const codestar = require("aws-cdk-lib/aws-codestar");
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* @experimental
|
|
10
|
+
* The GitHubRepository resource
|
|
13
11
|
*/
|
|
14
12
|
class GitHubRepository extends cdk.Resource {
|
|
15
|
-
/**
|
|
16
|
-
* @experimental
|
|
17
|
-
*/
|
|
18
13
|
constructor(scope, id, props) {
|
|
19
14
|
var _b;
|
|
20
15
|
super(scope, id);
|
|
@@ -40,15 +35,19 @@ class GitHubRepository extends cdk.Resource {
|
|
|
40
35
|
}
|
|
41
36
|
exports.GitHubRepository = GitHubRepository;
|
|
42
37
|
_a = JSII_RTTI_SYMBOL_1;
|
|
43
|
-
GitHubRepository[_a] = { fqn: "@aws-cdk/aws-codestar-alpha.GitHubRepository", version: "2.
|
|
38
|
+
GitHubRepository[_a] = { fqn: "@aws-cdk/aws-codestar-alpha.GitHubRepository", version: "2.13.0-alpha.0" };
|
|
44
39
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* @experimental
|
|
40
|
+
* Visibility of the GitHubRepository
|
|
48
41
|
*/
|
|
49
42
|
var RepositoryVisibility;
|
|
50
43
|
(function (RepositoryVisibility) {
|
|
44
|
+
/**
|
|
45
|
+
* private repository
|
|
46
|
+
*/
|
|
51
47
|
RepositoryVisibility[RepositoryVisibility["PRIVATE"] = 0] = "PRIVATE";
|
|
48
|
+
/**
|
|
49
|
+
* public repository
|
|
50
|
+
*/
|
|
52
51
|
RepositoryVisibility[RepositoryVisibility["PUBLIC"] = 1] = "PUBLIC";
|
|
53
52
|
})(RepositoryVisibility = exports.RepositoryVisibility || (exports.RepositoryVisibility = {}));
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0aHViLXJlcG9zaXRvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJnaXRodWItcmVwb3NpdG9yeS50cyJdLCJuYW1lcyI6W10sIm1h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UzNWZXJzaW9uLFxuICAgICAgICB9LFxuICAgICAgfSxcbiAgICAgIGVuYWJsZUlzc3VlczogcHJvcHMuZW5hYmxlSXNzdWVzID8/IHRydWUsXG4gICAgICBpc1ByaXZhdGU6IHByb3BzLnZpc2liaWxpdHkgPT09IFJlcG9zaXRvcnlWaXNpYmlsaXR5LlBSSVZBVEUgPyB0cnVlIDogZmFsc2UsXG4gICAgICByZXBvc2l0b3J5RGVzY3JpcHRpb246IHByb3BzLmRlc2NyaXB0aW9uLFxuICAgIH0pO1xuXG4gICAgdGhpcy5vd25lciA9IGNkay5Gbi5zZWxlY3QoMCwgY2RrLkZuLnNwbGl0KCcvJywgcmVzb3VyY2UucmVmKSk7XG4gICAgdGhpcy5yZXBvID0gY2RrLkZuLnNlbGVjdCgxLCBjZGsuRm4uc3BsaXQoJy8nLCByZXNvdXJjZS5yZWYpKTtcbiAgfVxufVxuXG4vKipcbiAqIFZpc2liaWxpdHkgb2YgdGhlIEdpdEh1YlJlcG9zaXRvcnlcbiAqL1xuZXhwb3J0IGVudW0gUmVwb3NpdG9yeVZpc2liaWxpdHkge1xuICAvKipcbiAgICogcHJpdmF0ZSByZXBvc2l0b3J5XG4gICAqL1xuICBQUklWQVRFLFxuICAvKipcbiAgICogcHVibGljIHJlcG9zaXRvcnlcbiAgICovXG4gIFBVQkxJQyxcbn1cbiJdfQ==
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/aws-codestar-alpha",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The CDK Construct Library for AWS::CodeStar",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -33,7 +33,14 @@
|
|
|
33
33
|
"packageName": "awscdkcodestaralpha"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"projectReferences": true
|
|
36
|
+
"projectReferences": true,
|
|
37
|
+
"metadata": {
|
|
38
|
+
"jsii": {
|
|
39
|
+
"rosetta": {
|
|
40
|
+
"strict": true
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
37
44
|
},
|
|
38
45
|
"repository": {
|
|
39
46
|
"type": "git",
|
|
@@ -76,17 +83,17 @@
|
|
|
76
83
|
},
|
|
77
84
|
"license": "Apache-2.0",
|
|
78
85
|
"devDependencies": {
|
|
79
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
80
|
-
"@aws-cdk/cdk-integ-tools": "2.
|
|
81
|
-
"@aws-cdk/cfn2ts": "2.
|
|
82
|
-
"@aws-cdk/pkglint": "2.
|
|
86
|
+
"@aws-cdk/cdk-build-tools": "2.13.0",
|
|
87
|
+
"@aws-cdk/cdk-integ-tools": "2.13.0",
|
|
88
|
+
"@aws-cdk/cfn2ts": "2.13.0",
|
|
89
|
+
"@aws-cdk/pkglint": "2.13.0",
|
|
83
90
|
"@types/jest": "^27.4.0",
|
|
84
|
-
"aws-cdk-lib": "2.
|
|
91
|
+
"aws-cdk-lib": "2.13.0",
|
|
85
92
|
"constructs": "^10.0.0"
|
|
86
93
|
},
|
|
87
94
|
"dependencies": {},
|
|
88
95
|
"peerDependencies": {
|
|
89
|
-
"aws-cdk-lib": "^2.
|
|
96
|
+
"aws-cdk-lib": "^2.13.0",
|
|
90
97
|
"constructs": "^10.0.0"
|
|
91
98
|
},
|
|
92
99
|
"engines": {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Fixture with packages imported, but nothing else
|
|
2
|
+
import { SecretValue, Stack } from 'aws-cdk-lib';
|
|
3
|
+
import { Construct } from 'constructs';
|
|
4
|
+
|
|
5
|
+
class Fixture extends Stack {
|
|
6
|
+
constructor(scope: Construct, id: string) {
|
|
7
|
+
super(scope, id);
|
|
8
|
+
/// here
|
|
9
|
+
}
|
|
10
|
+
}
|