@aws-cdk/aws-servicecatalogappregistry-alpha 2.3.0-alpha.0 → 2.7.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 +19 -4
- package/.jsii.tabl.json +72 -58
- package/LICENSE +1 -1
- package/NOTICE +1 -1
- package/README.md +17 -7
- package/lib/application.js +1 -1
- package/lib/attribute-group.js +1 -1
- package/package.json +15 -8
- package/rosetta/default.ts-fixture +3 -2
- package/rosetta/basic-constructs.ts-fixture +0 -22
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.7.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -2855,7 +2855,7 @@
|
|
|
2855
2855
|
"stability": "experimental"
|
|
2856
2856
|
},
|
|
2857
2857
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
2858
|
-
"jsiiVersion": "1.
|
|
2858
|
+
"jsiiVersion": "1.50.0 (build d1830a4)",
|
|
2859
2859
|
"keywords": [
|
|
2860
2860
|
"aws",
|
|
2861
2861
|
"cdk",
|
|
@@ -2869,12 +2869,15 @@
|
|
|
2869
2869
|
"compiledWithDeprecationWarnings": true,
|
|
2870
2870
|
"pacmak": {
|
|
2871
2871
|
"hasDefaultInterfaces": true
|
|
2872
|
+
},
|
|
2873
|
+
"rosetta": {
|
|
2874
|
+
"strict": true
|
|
2872
2875
|
}
|
|
2873
2876
|
}
|
|
2874
2877
|
},
|
|
2875
2878
|
"name": "@aws-cdk/aws-servicecatalogappregistry-alpha",
|
|
2876
2879
|
"readme": {
|
|
2877
|
-
"markdown": "# AWS ServiceCatalogAppRegistry 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[AWS Service Catalog App Registry](https://docs.aws.amazon.com/servicecatalog/latest/adminguide/appregistry.html)\nenables organizations to create and manage repositores of applications and associated resources.\n\n## Table Of Contents\n\n- [Application](#application)\n- [Attribute-Group](#attribute-group)\n- [Associations](#associations)\n - [Associating application with an attribute group](#attribute-group-association)\n - [Associating application with a stack](#resource-association)\n\nThe `@aws-cdk/aws-servicecatalogappregistry` package contains resources that enable users to automate governance and management of their AWS resources at scale.\n\n```ts nofixture\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n```\n\n## Application\n\nAn AppRegistry application enables you to define your applications and associated resources.\nThe application name must be unique at the account level, but is mutable.\n\n```ts\nconst application = new appreg.Application(this, 'MyFirstApplication', {\n applicationName: 'MyFirstApplicationName',\n description: 'description for my application', // the description is optional\n});\n```\n\nAn application that has been created outside of the stack can be imported into your CDK app.\nApplications can be imported by their ARN via the `Application.fromApplicationArn()` API:\n\n```ts\nconst importedApplication = appreg.Application.fromApplicationArn(this
|
|
2880
|
+
"markdown": "# AWS ServiceCatalogAppRegistry 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[AWS Service Catalog App Registry](https://docs.aws.amazon.com/servicecatalog/latest/adminguide/appregistry.html)\nenables organizations to create and manage repositores of applications and associated resources.\n\n## Table Of Contents\n\n- [Application](#application)\n- [Attribute-Group](#attribute-group)\n- [Associations](#associations)\n - [Associating application with an attribute group](#attribute-group-association)\n - [Associating application with a stack](#resource-association)\n\nThe `@aws-cdk/aws-servicecatalogappregistry` package contains resources that enable users to automate governance and management of their AWS resources at scale.\n\n```ts nofixture\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n```\n\n## Application\n\nAn AppRegistry application enables you to define your applications and associated resources.\nThe application name must be unique at the account level, but is mutable.\n\n```ts\nconst application = new appreg.Application(this, 'MyFirstApplication', {\n applicationName: 'MyFirstApplicationName',\n description: 'description for my application', // the description is optional\n});\n```\n\nAn application that has been created outside of the stack can be imported into your CDK app.\nApplications can be imported by their ARN via the `Application.fromApplicationArn()` API:\n\n```ts\nconst importedApplication = appreg.Application.fromApplicationArn(\n this,\n 'MyImportedApplication',\n 'arn:aws:servicecatalog:us-east-1:012345678910:/applications/0aqmvxvgmry0ecc4mjhwypun6i',\n);\n```\n\n## Attribute Group\n\nAn AppRegistry attribute group acts as a container for user-defined attributes for an application.\nMetadata is attached in a machine-readble format to integrate with automated workflows and tools.\n\n```ts\nconst attributeGroup = new appreg.AttributeGroup(this, 'MyFirstAttributeGroup', {\n attributeGroupName: 'MyFirstAttributeGroupName',\n description: 'description for my attribute group', // the description is optional,\n attributes: {\n project: 'foo',\n team: ['member1', 'member2', 'member3'],\n public: false,\n stages: {\n alpha: 'complete',\n beta: 'incomplete',\n release: 'not started'\n }\n }\n});\n```\n\nAn attribute group that has been created outside of the stack can be imported into your CDK app.\nAttribute groups can be imported by their ARN via the `AttributeGroup.fromAttributeGroupArn()` API:\n\n```ts\nconst importedAttributeGroup = appreg.AttributeGroup.fromAttributeGroupArn(\n this,\n 'MyImportedAttrGroup',\n 'arn:aws:servicecatalog:us-east-1:012345678910:/attribute-groups/0aqmvxvgmry0ecc4mjhwypun6i',\n);\n```\n\n## Associations\n\nYou can associate your appregistry application with attribute groups and resources.\nResources are CloudFormation stacks that you can associate with an application to group relevant\nstacks together to enable metadata rich insights into your applications and resources.\nA Cloudformation stack can only be associated with one appregistry application.\nIf a stack is associated with multiple applications in your app or is already associated with one,\nCDK will fail at deploy time.\n\n### Associating application with an attribute group\n\nYou can associate an attribute group with an application with the `associateAttributeGroup()` API:\n\n```ts\ndeclare const application: appreg.Application;\ndeclare const attributeGroup: appreg.AttributeGroup;\napplication.associateAttributeGroup(attributeGroup);\n```\n\n### Associating application with a Stack\n\nYou can associate a stack with an application with the `associateStack()` API:\n\n```ts\nconst app = new App();\nconst myStack = new Stack(app, 'MyStack');\n\ndeclare const application: appreg.Application;\napplication.associateStack(myStack);\n```\n"
|
|
2878
2881
|
},
|
|
2879
2882
|
"repository": {
|
|
2880
2883
|
"directory": "packages/individual-packages/aws-servicecatalogappregistry",
|
|
@@ -2918,6 +2921,9 @@
|
|
|
2918
2921
|
"assembly": "@aws-cdk/aws-servicecatalogappregistry-alpha",
|
|
2919
2922
|
"base": "aws-cdk-lib.Resource",
|
|
2920
2923
|
"docs": {
|
|
2924
|
+
"custom": {
|
|
2925
|
+
"exampleMetadata": "infused"
|
|
2926
|
+
},
|
|
2921
2927
|
"example": "const application = new appreg.Application(this, 'MyFirstApplication', {\n applicationName: 'MyFirstApplicationName',\n description: 'description for my application', // the description is optional\n});",
|
|
2922
2928
|
"stability": "experimental",
|
|
2923
2929
|
"summary": "A Service Catalog AppRegistry Application."
|
|
@@ -3115,6 +3121,9 @@
|
|
|
3115
3121
|
"assembly": "@aws-cdk/aws-servicecatalogappregistry-alpha",
|
|
3116
3122
|
"datatype": true,
|
|
3117
3123
|
"docs": {
|
|
3124
|
+
"custom": {
|
|
3125
|
+
"exampleMetadata": "infused"
|
|
3126
|
+
},
|
|
3118
3127
|
"example": "const application = new appreg.Application(this, 'MyFirstApplication', {\n applicationName: 'MyFirstApplicationName',\n description: 'description for my application', // the description is optional\n});",
|
|
3119
3128
|
"stability": "experimental",
|
|
3120
3129
|
"summary": "Properties for a Service Catalog AppRegistry Application."
|
|
@@ -3168,6 +3177,9 @@
|
|
|
3168
3177
|
"assembly": "@aws-cdk/aws-servicecatalogappregistry-alpha",
|
|
3169
3178
|
"base": "aws-cdk-lib.Resource",
|
|
3170
3179
|
"docs": {
|
|
3180
|
+
"custom": {
|
|
3181
|
+
"exampleMetadata": "infused"
|
|
3182
|
+
},
|
|
3171
3183
|
"example": "const attributeGroup = new appreg.AttributeGroup(this, 'MyFirstAttributeGroup', {\n attributeGroupName: 'MyFirstAttributeGroupName',\n description: 'description for my attribute group', // the description is optional,\n attributes: {\n project: 'foo',\n team: ['member1', 'member2', 'member3'],\n public: false,\n stages: {\n alpha: 'complete',\n beta: 'incomplete',\n release: 'not started'\n }\n }\n});",
|
|
3172
3184
|
"stability": "experimental",
|
|
3173
3185
|
"summary": "A Service Catalog AppRegistry Attribute Group."
|
|
@@ -3299,6 +3311,9 @@
|
|
|
3299
3311
|
"assembly": "@aws-cdk/aws-servicecatalogappregistry-alpha",
|
|
3300
3312
|
"datatype": true,
|
|
3301
3313
|
"docs": {
|
|
3314
|
+
"custom": {
|
|
3315
|
+
"exampleMetadata": "infused"
|
|
3316
|
+
},
|
|
3302
3317
|
"example": "const attributeGroup = new appreg.AttributeGroup(this, 'MyFirstAttributeGroup', {\n attributeGroupName: 'MyFirstAttributeGroupName',\n description: 'description for my attribute group', // the description is optional,\n attributes: {\n project: 'foo',\n team: ['member1', 'member2', 'member3'],\n public: false,\n stages: {\n alpha: 'complete',\n beta: 'incomplete',\n release: 'not started'\n }\n }\n});",
|
|
3303
3318
|
"stability": "experimental",
|
|
3304
3319
|
"summary": "Properties for a Service Catalog AppRegistry Attribute Group."
|
|
@@ -3535,6 +3550,6 @@
|
|
|
3535
3550
|
"symbolId": "lib/attribute-group:IAttributeGroup"
|
|
3536
3551
|
}
|
|
3537
3552
|
},
|
|
3538
|
-
"version": "2.
|
|
3553
|
+
"version": "2.7.0-alpha.0",
|
|
3539
3554
|
"fingerprint": "**********"
|
|
3540
3555
|
}
|
package/.jsii.tabl.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2",
|
|
3
|
-
"toolVersion": "1.
|
|
3
|
+
"toolVersion": "1.50.0",
|
|
4
4
|
"snippets": {
|
|
5
5
|
"b54d6876cfcf5d45525d97eccc213472c316d19cb54a049a8e77ef5c721dc848": {
|
|
6
6
|
"translations": {
|
|
@@ -73,12 +73,12 @@
|
|
|
73
73
|
"line": 40
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
|
-
"didCompile":
|
|
76
|
+
"didCompile": true,
|
|
77
77
|
"fqnsReferenced": [
|
|
78
78
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.Application",
|
|
79
79
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.ApplicationProps"
|
|
80
80
|
],
|
|
81
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport
|
|
81
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { App, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst application = new appreg.Application(this, 'MyFirstApplication', {\n applicationName: 'MyFirstApplicationName',\n description: 'description for my application', // the description is optional\n});\n/// !hide\n// Code snippet ended before !hide marker above\n \n }\n}\n",
|
|
82
82
|
"syntaxKindCounter": {
|
|
83
83
|
"10": 3,
|
|
84
84
|
"75": 5,
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
"243": 1,
|
|
92
92
|
"281": 2
|
|
93
93
|
},
|
|
94
|
-
"fqnsFingerprint": "
|
|
94
|
+
"fqnsFingerprint": "3171899d5ec14c0372417b37ca17c618069d7af74cbbd93ad02edcbd18a12bce"
|
|
95
95
|
},
|
|
96
|
-
"
|
|
96
|
+
"9b6891d44c11d0adc2704ead9776a0f8c3b1d427619189c4e8b8417647185e99": {
|
|
97
97
|
"translations": {
|
|
98
98
|
"python": {
|
|
99
99
|
"source": "imported_application = appreg.Application.from_application_arn(self, \"MyImportedApplication\", \"arn:aws:servicecatalog:us-east-1:012345678910:/applications/0aqmvxvgmry0ecc4mjhwypun6i\")",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"version": "1"
|
|
109
109
|
},
|
|
110
110
|
"$": {
|
|
111
|
-
"source": "const importedApplication = appreg.Application.fromApplicationArn(this
|
|
111
|
+
"source": "const importedApplication = appreg.Application.fromApplicationArn(\n this,\n 'MyImportedApplication',\n 'arn:aws:servicecatalog:us-east-1:012345678910:/applications/0aqmvxvgmry0ecc4mjhwypun6i',\n);",
|
|
112
112
|
"version": "0"
|
|
113
113
|
}
|
|
114
114
|
},
|
|
@@ -122,13 +122,13 @@
|
|
|
122
122
|
"line": 50
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
|
-
"didCompile":
|
|
125
|
+
"didCompile": true,
|
|
126
126
|
"fqnsReferenced": [
|
|
127
127
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.Application",
|
|
128
128
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.Application#fromApplicationArn",
|
|
129
129
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.IApplication"
|
|
130
130
|
],
|
|
131
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport
|
|
131
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { App, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst importedApplication = appreg.Application.fromApplicationArn(\n this,\n 'MyImportedApplication',\n 'arn:aws:servicecatalog:us-east-1:012345678910:/applications/0aqmvxvgmry0ecc4mjhwypun6i',\n);\n/// !hide\n// Code snippet ended before !hide marker above\n \n }\n}\n",
|
|
132
132
|
"syntaxKindCounter": {
|
|
133
133
|
"10": 2,
|
|
134
134
|
"75": 4,
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"242": 1,
|
|
140
140
|
"243": 1
|
|
141
141
|
},
|
|
142
|
-
"fqnsFingerprint": "
|
|
142
|
+
"fqnsFingerprint": "49498611d71819e12fa0047bee0c073a4aeb5a8d744cb6fbbab9fab2849a8986"
|
|
143
143
|
},
|
|
144
144
|
"9dc73a866361d4976a6b0e9f8dd7ae066771de818137f0849ab74e876da0a5d2": {
|
|
145
145
|
"translations": {
|
|
@@ -167,15 +167,15 @@
|
|
|
167
167
|
},
|
|
168
168
|
"field": {
|
|
169
169
|
"field": "markdown",
|
|
170
|
-
"line":
|
|
170
|
+
"line": 63
|
|
171
171
|
}
|
|
172
172
|
},
|
|
173
|
-
"didCompile":
|
|
173
|
+
"didCompile": true,
|
|
174
174
|
"fqnsReferenced": [
|
|
175
175
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.AttributeGroup",
|
|
176
176
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.AttributeGroupProps"
|
|
177
177
|
],
|
|
178
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport
|
|
178
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { App, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst attributeGroup = new appreg.AttributeGroup(this, 'MyFirstAttributeGroup', {\n attributeGroupName: 'MyFirstAttributeGroupName',\n description: 'description for my attribute group', // the description is optional,\n attributes: {\n project: 'foo',\n team: ['member1', 'member2', 'member3'],\n public: false,\n stages: {\n alpha: 'complete',\n beta: 'incomplete',\n release: 'not started'\n }\n }\n});\n/// !hide\n// Code snippet ended before !hide marker above\n \n }\n}\n",
|
|
179
179
|
"syntaxKindCounter": {
|
|
180
180
|
"10": 10,
|
|
181
181
|
"75": 13,
|
|
@@ -190,9 +190,9 @@
|
|
|
190
190
|
"243": 1,
|
|
191
191
|
"281": 10
|
|
192
192
|
},
|
|
193
|
-
"fqnsFingerprint": "
|
|
193
|
+
"fqnsFingerprint": "0e4ac5f81ea5afa85475d8318edb74ddfb995e1e509d90691382313762a3335f"
|
|
194
194
|
},
|
|
195
|
-
"
|
|
195
|
+
"4e75c5c139eca4bf39fe5d70473617bb8bd9479ebbd49d16bad21dbbf72ba0e0": {
|
|
196
196
|
"translations": {
|
|
197
197
|
"python": {
|
|
198
198
|
"source": "imported_attribute_group = appreg.AttributeGroup.from_attribute_group_arn(self, \"MyImportedAttrGroup\", \"arn:aws:servicecatalog:us-east-1:012345678910:/attribute-groups/0aqmvxvgmry0ecc4mjhwypun6i\")",
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
"version": "1"
|
|
208
208
|
},
|
|
209
209
|
"$": {
|
|
210
|
-
"source": "const importedAttributeGroup = appreg.AttributeGroup.fromAttributeGroupArn(this
|
|
210
|
+
"source": "const importedAttributeGroup = appreg.AttributeGroup.fromAttributeGroupArn(\n this,\n 'MyImportedAttrGroup',\n 'arn:aws:servicecatalog:us-east-1:012345678910:/attribute-groups/0aqmvxvgmry0ecc4mjhwypun6i',\n);",
|
|
211
211
|
"version": "0"
|
|
212
212
|
}
|
|
213
213
|
},
|
|
@@ -218,16 +218,16 @@
|
|
|
218
218
|
},
|
|
219
219
|
"field": {
|
|
220
220
|
"field": "markdown",
|
|
221
|
-
"line":
|
|
221
|
+
"line": 83
|
|
222
222
|
}
|
|
223
223
|
},
|
|
224
|
-
"didCompile":
|
|
224
|
+
"didCompile": true,
|
|
225
225
|
"fqnsReferenced": [
|
|
226
226
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.AttributeGroup",
|
|
227
227
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.AttributeGroup#fromAttributeGroupArn",
|
|
228
228
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.IAttributeGroup"
|
|
229
229
|
],
|
|
230
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport
|
|
230
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { App, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst importedAttributeGroup = appreg.AttributeGroup.fromAttributeGroupArn(\n this,\n 'MyImportedAttrGroup',\n 'arn:aws:servicecatalog:us-east-1:012345678910:/attribute-groups/0aqmvxvgmry0ecc4mjhwypun6i',\n);\n/// !hide\n// Code snippet ended before !hide marker above\n \n }\n}\n",
|
|
231
231
|
"syntaxKindCounter": {
|
|
232
232
|
"10": 2,
|
|
233
233
|
"75": 4,
|
|
@@ -238,24 +238,24 @@
|
|
|
238
238
|
"242": 1,
|
|
239
239
|
"243": 1
|
|
240
240
|
},
|
|
241
|
-
"fqnsFingerprint": "
|
|
241
|
+
"fqnsFingerprint": "aa28cdbc2cd9c43686abb1291414bd7d346aad87bd923764f60fea8ba289b319"
|
|
242
242
|
},
|
|
243
|
-
"
|
|
243
|
+
"6ebfacea43f8d4c86a25a0856ed09d93144c2c23d7c2e70cde3feb8238d02f1a": {
|
|
244
244
|
"translations": {
|
|
245
245
|
"python": {
|
|
246
|
-
"source": "application.associate_attribute_group(attribute_group)",
|
|
246
|
+
"source": "# application is of type Application\n# attribute_group is of type AttributeGroup\n\napplication.associate_attribute_group(attribute_group)",
|
|
247
247
|
"version": "1"
|
|
248
248
|
},
|
|
249
249
|
"csharp": {
|
|
250
|
-
"source": "application.AssociateAttributeGroup(attributeGroup);",
|
|
250
|
+
"source": "Application application;\nAttributeGroup attributeGroup;\n\napplication.AssociateAttributeGroup(attributeGroup);",
|
|
251
251
|
"version": "1"
|
|
252
252
|
},
|
|
253
253
|
"java": {
|
|
254
|
-
"source": "application.associateAttributeGroup(attributeGroup);",
|
|
254
|
+
"source": "Application application;\nAttributeGroup attributeGroup;\n\napplication.associateAttributeGroup(attributeGroup);",
|
|
255
255
|
"version": "1"
|
|
256
256
|
},
|
|
257
257
|
"$": {
|
|
258
|
-
"source": "application.associateAttributeGroup(attributeGroup);",
|
|
258
|
+
"source": "declare const application: appreg.Application;\ndeclare const attributeGroup: appreg.AttributeGroup;\napplication.associateAttributeGroup(attributeGroup);",
|
|
259
259
|
"version": "0"
|
|
260
260
|
}
|
|
261
261
|
},
|
|
@@ -266,36 +266,45 @@
|
|
|
266
266
|
},
|
|
267
267
|
"field": {
|
|
268
268
|
"field": "markdown",
|
|
269
|
-
"line":
|
|
269
|
+
"line": 104
|
|
270
270
|
}
|
|
271
271
|
},
|
|
272
|
-
"didCompile":
|
|
273
|
-
"fqnsReferenced": [
|
|
274
|
-
|
|
272
|
+
"didCompile": true,
|
|
273
|
+
"fqnsReferenced": [
|
|
274
|
+
"@aws-cdk/aws-servicecatalogappregistry-alpha.IAttributeGroup"
|
|
275
|
+
],
|
|
276
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const application: appreg.Application;\ndeclare const attributeGroup: appreg.AttributeGroup;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { App, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\napplication.associateAttributeGroup(attributeGroup);\n/// !hide\n// Code snippet ended before !hide marker above\n \n }\n}\n",
|
|
275
277
|
"syntaxKindCounter": {
|
|
276
|
-
"75":
|
|
278
|
+
"75": 9,
|
|
279
|
+
"130": 2,
|
|
280
|
+
"153": 2,
|
|
281
|
+
"169": 2,
|
|
277
282
|
"194": 1,
|
|
278
283
|
"196": 1,
|
|
279
|
-
"
|
|
284
|
+
"225": 2,
|
|
285
|
+
"226": 1,
|
|
286
|
+
"242": 2,
|
|
287
|
+
"243": 2,
|
|
288
|
+
"290": 1
|
|
280
289
|
},
|
|
281
|
-
"fqnsFingerprint": "
|
|
290
|
+
"fqnsFingerprint": "4b91baf19b390ebcf36bcd22d9100b7b49a5e1ac2a4da6c8627fd7e2aa814511"
|
|
282
291
|
},
|
|
283
|
-
"
|
|
292
|
+
"6a95794c607acc8f979c7337468dbc509729f34094ff1c4e92601bb01e6204ce": {
|
|
284
293
|
"translations": {
|
|
285
294
|
"python": {
|
|
286
|
-
"source": "
|
|
295
|
+
"source": "# application is of type Application\napp = App()\nmy_stack = Stack(app, \"MyStack\")\napplication.associate_stack(my_stack)",
|
|
287
296
|
"version": "1"
|
|
288
297
|
},
|
|
289
298
|
"csharp": {
|
|
290
|
-
"source": "
|
|
299
|
+
"source": "Application application;\nApp app = new App();\nStack myStack = new Stack(app, \"MyStack\");\napplication.AssociateStack(myStack);",
|
|
291
300
|
"version": "1"
|
|
292
301
|
},
|
|
293
302
|
"java": {
|
|
294
|
-
"source": "
|
|
303
|
+
"source": "Application application;\nApp app = new App();\nStack myStack = new Stack(app, \"MyStack\");\napplication.associateStack(myStack);",
|
|
295
304
|
"version": "1"
|
|
296
305
|
},
|
|
297
306
|
"$": {
|
|
298
|
-
"source": "const myStack = new
|
|
307
|
+
"source": "const app = new App();\nconst myStack = new Stack(app, 'MyStack');\n\ndeclare const application: appreg.Application;\napplication.associateStack(myStack);",
|
|
299
308
|
"version": "0"
|
|
300
309
|
}
|
|
301
310
|
},
|
|
@@ -306,26 +315,31 @@
|
|
|
306
315
|
},
|
|
307
316
|
"field": {
|
|
308
317
|
"field": "markdown",
|
|
309
|
-
"line":
|
|
318
|
+
"line": 114
|
|
310
319
|
}
|
|
311
320
|
},
|
|
312
|
-
"didCompile":
|
|
321
|
+
"didCompile": true,
|
|
313
322
|
"fqnsReferenced": [
|
|
323
|
+
"aws-cdk-lib.App",
|
|
314
324
|
"aws-cdk-lib.Stack"
|
|
315
325
|
],
|
|
316
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport
|
|
326
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n\n\ndeclare const application: appreg.Application;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { App, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst app = new App();\nconst myStack = new Stack(app, 'MyStack');\napplication.associateStack(myStack);\n/// !hide\n// Code snippet ended before !hide marker above\n \n }\n}\n",
|
|
317
327
|
"syntaxKindCounter": {
|
|
318
328
|
"10": 1,
|
|
319
|
-
"75":
|
|
320
|
-
"
|
|
329
|
+
"75": 11,
|
|
330
|
+
"130": 1,
|
|
331
|
+
"153": 1,
|
|
332
|
+
"169": 1,
|
|
333
|
+
"194": 1,
|
|
321
334
|
"196": 1,
|
|
322
|
-
"197":
|
|
323
|
-
"225":
|
|
335
|
+
"197": 2,
|
|
336
|
+
"225": 3,
|
|
324
337
|
"226": 1,
|
|
325
|
-
"242":
|
|
326
|
-
"243":
|
|
338
|
+
"242": 3,
|
|
339
|
+
"243": 3,
|
|
340
|
+
"290": 1
|
|
327
341
|
},
|
|
328
|
-
"fqnsFingerprint": "
|
|
342
|
+
"fqnsFingerprint": "9b28034e4673081ec3ca852e68669b808cc3a7550f88ed276e1396c57ea7354b"
|
|
329
343
|
},
|
|
330
344
|
"7c69a1b1e72af77b16c2d08aab6c56df0b8df087d657c873f6b4f415ed4b269f": {
|
|
331
345
|
"translations": {
|
|
@@ -355,12 +369,12 @@
|
|
|
355
369
|
"field": "example"
|
|
356
370
|
}
|
|
357
371
|
},
|
|
358
|
-
"didCompile":
|
|
372
|
+
"didCompile": true,
|
|
359
373
|
"fqnsReferenced": [
|
|
360
374
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.Application",
|
|
361
375
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.ApplicationProps"
|
|
362
376
|
],
|
|
363
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport
|
|
377
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { App, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst application = new appreg.Application(this, 'MyFirstApplication', {\n applicationName: 'MyFirstApplicationName',\n description: 'description for my application', // the description is optional\n});\n/// !hide\n// Code snippet ended before !hide marker above\n \n }\n}\n",
|
|
364
378
|
"syntaxKindCounter": {
|
|
365
379
|
"10": 3,
|
|
366
380
|
"75": 5,
|
|
@@ -373,7 +387,7 @@
|
|
|
373
387
|
"243": 1,
|
|
374
388
|
"281": 2
|
|
375
389
|
},
|
|
376
|
-
"fqnsFingerprint": "
|
|
390
|
+
"fqnsFingerprint": "3171899d5ec14c0372417b37ca17c618069d7af74cbbd93ad02edcbd18a12bce"
|
|
377
391
|
},
|
|
378
392
|
"556393d98427fe99c42f80175cf169f120d019b778303171d685ae1cc3561efd": {
|
|
379
393
|
"translations": {
|
|
@@ -403,12 +417,12 @@
|
|
|
403
417
|
"field": "example"
|
|
404
418
|
}
|
|
405
419
|
},
|
|
406
|
-
"didCompile":
|
|
420
|
+
"didCompile": true,
|
|
407
421
|
"fqnsReferenced": [
|
|
408
422
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.Application",
|
|
409
423
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.ApplicationProps"
|
|
410
424
|
],
|
|
411
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport
|
|
425
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { App, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst application = new appreg.Application(this, 'MyFirstApplication', {\n applicationName: 'MyFirstApplicationName',\n description: 'description for my application', // the description is optional\n});\n/// !hide\n// Code snippet ended before !hide marker above\n \n }\n}\n",
|
|
412
426
|
"syntaxKindCounter": {
|
|
413
427
|
"10": 3,
|
|
414
428
|
"75": 5,
|
|
@@ -421,7 +435,7 @@
|
|
|
421
435
|
"243": 1,
|
|
422
436
|
"281": 2
|
|
423
437
|
},
|
|
424
|
-
"fqnsFingerprint": "
|
|
438
|
+
"fqnsFingerprint": "3171899d5ec14c0372417b37ca17c618069d7af74cbbd93ad02edcbd18a12bce"
|
|
425
439
|
},
|
|
426
440
|
"cee2c8d7cf7a7cab5dc3ceb2bc700faae17da71a21d554d5a283dc3828526c08": {
|
|
427
441
|
"translations": {
|
|
@@ -451,12 +465,12 @@
|
|
|
451
465
|
"field": "example"
|
|
452
466
|
}
|
|
453
467
|
},
|
|
454
|
-
"didCompile":
|
|
468
|
+
"didCompile": true,
|
|
455
469
|
"fqnsReferenced": [
|
|
456
470
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.AttributeGroup",
|
|
457
471
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.AttributeGroupProps"
|
|
458
472
|
],
|
|
459
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport
|
|
473
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { App, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst attributeGroup = new appreg.AttributeGroup(this, 'MyFirstAttributeGroup', {\n attributeGroupName: 'MyFirstAttributeGroupName',\n description: 'description for my attribute group', // the description is optional,\n attributes: {\n project: 'foo',\n team: ['member1', 'member2', 'member3'],\n public: false,\n stages: {\n alpha: 'complete',\n beta: 'incomplete',\n release: 'not started'\n }\n }\n});\n/// !hide\n// Code snippet ended before !hide marker above\n \n }\n}\n",
|
|
460
474
|
"syntaxKindCounter": {
|
|
461
475
|
"10": 10,
|
|
462
476
|
"75": 13,
|
|
@@ -471,7 +485,7 @@
|
|
|
471
485
|
"243": 1,
|
|
472
486
|
"281": 10
|
|
473
487
|
},
|
|
474
|
-
"fqnsFingerprint": "
|
|
488
|
+
"fqnsFingerprint": "0e4ac5f81ea5afa85475d8318edb74ddfb995e1e509d90691382313762a3335f"
|
|
475
489
|
},
|
|
476
490
|
"c37bf93e3c49033a2d092c01a0d0a2a1d110115c83af67adde537aa056aff848": {
|
|
477
491
|
"translations": {
|
|
@@ -501,12 +515,12 @@
|
|
|
501
515
|
"field": "example"
|
|
502
516
|
}
|
|
503
517
|
},
|
|
504
|
-
"didCompile":
|
|
518
|
+
"didCompile": true,
|
|
505
519
|
"fqnsReferenced": [
|
|
506
520
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.AttributeGroup",
|
|
507
521
|
"@aws-cdk/aws-servicecatalogappregistry-alpha.AttributeGroupProps"
|
|
508
522
|
],
|
|
509
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport
|
|
523
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { App, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst attributeGroup = new appreg.AttributeGroup(this, 'MyFirstAttributeGroup', {\n attributeGroupName: 'MyFirstAttributeGroupName',\n description: 'description for my attribute group', // the description is optional,\n attributes: {\n project: 'foo',\n team: ['member1', 'member2', 'member3'],\n public: false,\n stages: {\n alpha: 'complete',\n beta: 'incomplete',\n release: 'not started'\n }\n }\n});\n/// !hide\n// Code snippet ended before !hide marker above\n \n }\n}\n",
|
|
510
524
|
"syntaxKindCounter": {
|
|
511
525
|
"10": 10,
|
|
512
526
|
"75": 13,
|
|
@@ -521,7 +535,7 @@
|
|
|
521
535
|
"243": 1,
|
|
522
536
|
"281": 10
|
|
523
537
|
},
|
|
524
|
-
"fqnsFingerprint": "
|
|
538
|
+
"fqnsFingerprint": "0e4ac5f81ea5afa85475d8318edb74ddfb995e1e509d90691382313762a3335f"
|
|
525
539
|
}
|
|
526
540
|
}
|
|
527
541
|
}
|
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright 2018-
|
|
189
|
+
Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/NOTICE
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
AWS Cloud Development Kit (AWS CDK)
|
|
2
|
-
Copyright 2018-
|
|
2
|
+
Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
package/README.md
CHANGED
|
@@ -48,8 +48,11 @@ An application that has been created outside of the stack can be imported into y
|
|
|
48
48
|
Applications can be imported by their ARN via the `Application.fromApplicationArn()` API:
|
|
49
49
|
|
|
50
50
|
```ts
|
|
51
|
-
const importedApplication = appreg.Application.fromApplicationArn(
|
|
52
|
-
|
|
51
|
+
const importedApplication = appreg.Application.fromApplicationArn(
|
|
52
|
+
this,
|
|
53
|
+
'MyImportedApplication',
|
|
54
|
+
'arn:aws:servicecatalog:us-east-1:012345678910:/applications/0aqmvxvgmry0ecc4mjhwypun6i',
|
|
55
|
+
);
|
|
53
56
|
```
|
|
54
57
|
|
|
55
58
|
## Attribute Group
|
|
@@ -78,8 +81,11 @@ An attribute group that has been created outside of the stack can be imported in
|
|
|
78
81
|
Attribute groups can be imported by their ARN via the `AttributeGroup.fromAttributeGroupArn()` API:
|
|
79
82
|
|
|
80
83
|
```ts
|
|
81
|
-
const importedAttributeGroup = appreg.AttributeGroup.fromAttributeGroupArn(
|
|
82
|
-
|
|
84
|
+
const importedAttributeGroup = appreg.AttributeGroup.fromAttributeGroupArn(
|
|
85
|
+
this,
|
|
86
|
+
'MyImportedAttrGroup',
|
|
87
|
+
'arn:aws:servicecatalog:us-east-1:012345678910:/attribute-groups/0aqmvxvgmry0ecc4mjhwypun6i',
|
|
88
|
+
);
|
|
83
89
|
```
|
|
84
90
|
|
|
85
91
|
## Associations
|
|
@@ -95,7 +101,9 @@ CDK will fail at deploy time.
|
|
|
95
101
|
|
|
96
102
|
You can associate an attribute group with an application with the `associateAttributeGroup()` API:
|
|
97
103
|
|
|
98
|
-
```ts
|
|
104
|
+
```ts
|
|
105
|
+
declare const application: appreg.Application;
|
|
106
|
+
declare const attributeGroup: appreg.AttributeGroup;
|
|
99
107
|
application.associateAttributeGroup(attributeGroup);
|
|
100
108
|
```
|
|
101
109
|
|
|
@@ -103,8 +111,10 @@ application.associateAttributeGroup(attributeGroup);
|
|
|
103
111
|
|
|
104
112
|
You can associate a stack with an application with the `associateStack()` API:
|
|
105
113
|
|
|
106
|
-
```ts
|
|
107
|
-
const
|
|
114
|
+
```ts
|
|
115
|
+
const app = new App();
|
|
116
|
+
const myStack = new Stack(app, 'MyStack');
|
|
108
117
|
|
|
118
|
+
declare const application: appreg.Application;
|
|
109
119
|
application.associateStack(myStack);
|
|
110
120
|
```
|
package/lib/application.js
CHANGED
|
@@ -113,7 +113,7 @@ class Application extends ApplicationBase {
|
|
|
113
113
|
}
|
|
114
114
|
exports.Application = Application;
|
|
115
115
|
_a = JSII_RTTI_SYMBOL_1;
|
|
116
|
-
Application[_a] = { fqn: "@aws-cdk/aws-servicecatalogappregistry-alpha.Application", version: "2.
|
|
116
|
+
Application[_a] = { fqn: "@aws-cdk/aws-servicecatalogappregistry-alpha.Application", version: "2.7.0-alpha.0" };
|
|
117
117
|
/**
|
|
118
118
|
* Generates a unique hash identfifer using SHA256 encryption algorithm
|
|
119
119
|
*/
|
package/lib/attribute-group.js
CHANGED
|
@@ -63,5 +63,5 @@ class AttributeGroup extends AttributeGroupBase {
|
|
|
63
63
|
}
|
|
64
64
|
exports.AttributeGroup = AttributeGroup;
|
|
65
65
|
_a = JSII_RTTI_SYMBOL_1;
|
|
66
|
-
AttributeGroup[_a] = { fqn: "@aws-cdk/aws-servicecatalogappregistry-alpha.AttributeGroup", version: "2.
|
|
66
|
+
AttributeGroup[_a] = { fqn: "@aws-cdk/aws-servicecatalogappregistry-alpha.AttributeGroup", version: "2.7.0-alpha.0" };
|
|
67
67
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0cmlidXRlLWdyb3VwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXR0cmlidXRlLWdyb3VwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLG1DQUFtQztBQUNuQyxxREFBc0Q7QUFDdEQsNkZBQThFO0FBMkI5RSxNQUFlLGtCQUFtQixTQUFRLEdBQUcsQ0FBQyxRQUFRO0NBR3JEOzs7Ozs7QUFHRCxNQUFhLGNBQWUsU0FBUSxrQkFBa0I7Ozs7SUF1QnBELFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0FBMEI7UUFDbEUsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQzs7UUFFakIsSUFBSSxDQUFDLDJCQUEyQixDQUFDLEtBQUssQ0FBQyxDQUFDO1FBRXhDLE1BQU0sY0FBYyxHQUFHLElBQUksaURBQWlCLENBQUMsSUFBSSxFQUFFLFVBQVUsRUFBRTtZQUM3RCxJQUFJLEVBQUUsS0FBS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aWJ1dGVHcm91cCBleHRlbmRzIGNkay5JUmVzb3VyY2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSBhdHRyaWJ1dGVHcm91cEFybjogc3RyaW5nO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgYXR0cmlidXRlR3JvdXBJZDogc3RyaW5nO1xufVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuZXhwb3J0IGludGVyZmFjZSBBdHRyaWJ1dGVHcm91cFByb3BzIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSBhdHRyaWJ1dGVHcm91cE5hbWU6IHN0cmluZztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgZGVzY3JpcHRpb24/OiBzdHJpbmc7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgYXR0cmlidXRlczogeyBba2V5OiBzdHJpbmddOiBhbnkgfTtcbn1cblxuYWJzdHJhY3QgY2xhc3MgQXR0cmlidXRlR3JvdXBCYXNlIGV4dGVuZHMgY2RrLlJlc291cmNlIGltcGxlbWVudHMgSUF0dHJpYnV0ZUdyb3VwIHtcbiAgcHVibGljIGFic3RyYWN0IHJlYWRvbmx5IGF0dHJpYnV0ZUdyb3VwQXJuOiBzdHJpbmc7XG4gIHB1YmxpYyBhYnN0cmFjdCByZWFkb25seSBhdHRyaWJ1dGVHcm91cElkOiBzdHJpbmc7XG59XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuZXhwb3J0IGNsYXNzIEF0dHJpYnV0ZUdyb3VwIGV4dGVuZHMgQXR0cmlidXRlR3JvdXBCYXNlIGltcGxlbWVudHMgSUF0dHJpYnV0ZUdyb3VwIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyBzdGF0aWMgZnJvbUF0dHJpYnV0ZUdyb3VwQXJuKHNjb3BlOiBDb25zdHJ1Y3QsIGlkOiBzdHJpbmcsIGF0dHJpYnV0ZUdyb3VwQXJuOiBzdHJpbmcpOiBJQXR0cmlidXRlR3JvdXAge1xuICAgIGNvbnN0IGFybiA9IGNkay5TdGFjay5vZihzY29wZSkuc3BsaXRBcm4oYXR0cmlidXRlR3JvdXBBcm4sIGNkay5Bcm5Gb3JtYXQuU0xBU0hfUkVTT1VSQ0VfU0xBU0hfUkVTT1VSQ0VfTkFNRSk7XG4gICAgY29uc3QgYXR0cmlidXRlR3JvdXBJZCA9IGFybi5yZXNvdXJjZU5hbWU7XG5cbiAgICBpZiAoIWF0dHJpYnV0ZUdyb3VwSWQpIHtcbiAgICA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lcyxcbiAgICB9KTtcblxuICAgIHRoaXMuYXR0cmlidXRlR3JvdXBBcm4gPSBhdHRyaWJ1dGVHcm91cC5hdHRyQXJuO1xuICAgIHRoaXMuYXR0cmlidXRlR3JvdXBJZCA9IGF0dHJpYnV0ZUdyb3VwLmF0dHJJZDtcbiAgfVxuXG4gIHByaXZhdGUgdmFsaWRhdGVBdHRyaWJ1dGVHcm91cFByb3BzKHByb3BzOiBBdHRyaWJ1dGVHcm91cFByb3BzKSB7XG4gICAgSW5wdXRWYWxpZGF0b3IudmFsaWRhdGVMZW5ndGgodGhpcy5ub2RlLnBhdGgsICdhdHRyaWJ1dGUgZ3JvdXAgbmFtZScsIDEsIDI1NiwgcHJvcHMuYXR0cmlidXRlR3JvdXBOYW1lKTtcbiAgICBJbnB1dFZhbGlkYXRvci52YWxpZGF0ZVJlZ2V4KHRoaXMubm9kZS5wYXRoLCAnYXR0cmlidXRlIGdyb3VwIG5hbWUnLCAvXlthLXpBLVowLTktX10rJC8sIHByb3BzLmF0dHJpYnV0ZUdyb3VwTmFtZSk7XG4gICAgSW5wdXRWYWxpZGF0b3IudmFsaWRhdGVMZW5ndGgodGhpcy5ub2RlLnBhdGgsICdhdHRyaWJ1dGUgZ3JvdXAgZGVzY3JpcHRpb24nLCAwLCAxMDI0LCBwcm9wcy5kZXNjcmlwdGlvbik7XG4gIH1cbn1cbiJdfQ==
|
package/package.json
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/aws-servicecatalogappregistry-alpha",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0-alpha.0",
|
|
4
4
|
"description": "The CDK Construct Library for AWS::ServiceCatalogAppRegistry",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
7
7
|
"jsii": {
|
|
8
8
|
"outdir": "dist",
|
|
9
9
|
"projectReferences": true,
|
|
10
|
+
"metadata": {
|
|
11
|
+
"jsii": {
|
|
12
|
+
"rosetta": {
|
|
13
|
+
"strict": true
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
10
17
|
"targets": {
|
|
11
18
|
"dotnet": {
|
|
12
19
|
"namespace": "Amazon.CDK.AWS.Servicecatalogappregistry.Alpha",
|
|
@@ -77,17 +84,17 @@
|
|
|
77
84
|
},
|
|
78
85
|
"license": "Apache-2.0",
|
|
79
86
|
"devDependencies": {
|
|
80
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
81
|
-
"@aws-cdk/cdk-integ-tools": "2.
|
|
82
|
-
"@aws-cdk/cfn2ts": "2.
|
|
83
|
-
"@aws-cdk/pkglint": "2.
|
|
84
|
-
"@types/jest": "^27.0
|
|
85
|
-
"aws-cdk-lib": "2.
|
|
87
|
+
"@aws-cdk/cdk-build-tools": "2.7.0",
|
|
88
|
+
"@aws-cdk/cdk-integ-tools": "2.7.0",
|
|
89
|
+
"@aws-cdk/cfn2ts": "2.7.0",
|
|
90
|
+
"@aws-cdk/pkglint": "2.7.0",
|
|
91
|
+
"@types/jest": "^27.4.0",
|
|
92
|
+
"aws-cdk-lib": "2.7.0",
|
|
86
93
|
"constructs": "^10.0.0"
|
|
87
94
|
},
|
|
88
95
|
"dependencies": {},
|
|
89
96
|
"peerDependencies": {
|
|
90
|
-
"aws-cdk-lib": "^2.
|
|
97
|
+
"aws-cdk-lib": "^2.7.0",
|
|
91
98
|
"constructs": "^10.0.0"
|
|
92
99
|
},
|
|
93
100
|
"engines": {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// Fixture with packages imported, but nothing else
|
|
2
|
-
import
|
|
2
|
+
import { App, Stack } from 'aws-cdk-lib';
|
|
3
|
+
import { Construct } from 'constructs';
|
|
3
4
|
import * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';
|
|
4
5
|
|
|
5
|
-
class Fixture extends
|
|
6
|
+
class Fixture extends Stack {
|
|
6
7
|
constructor(scope: Construct, id: string) {
|
|
7
8
|
super(scope, id);
|
|
8
9
|
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// Fixture with packages imported, but nothing else
|
|
2
|
-
import * as cdk from 'aws-cdk-lib';
|
|
3
|
-
import * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';
|
|
4
|
-
|
|
5
|
-
class Fixture extends cdk.Stack {
|
|
6
|
-
constructor(scope: Construct, id: string) {
|
|
7
|
-
super(scope, id);
|
|
8
|
-
|
|
9
|
-
const application = new appreg.Application(stack, 'MyApplication', {
|
|
10
|
-
applicationName: 'MyApplication',
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
const attributeGroup = new appreg.AttributeGroup(stack, 'MyAttributeGroup', {
|
|
14
|
-
attributeGroupName: 'testAttributeGroup',
|
|
15
|
-
attributes: {
|
|
16
|
-
key: 'value',
|
|
17
|
-
},
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
/// here
|
|
21
|
-
}
|
|
22
|
-
}
|