@aws-cdk/aws-servicecatalogappregistry-alpha 2.6.0-alpha.0 → 2.10.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 +59 -4
- package/.jsii.tabl.json +83 -69
- 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.10.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -1185,6 +1185,19 @@
|
|
|
1185
1185
|
}
|
|
1186
1186
|
}
|
|
1187
1187
|
},
|
|
1188
|
+
"aws-cdk-lib.aws_forecast": {
|
|
1189
|
+
"targets": {
|
|
1190
|
+
"dotnet": {
|
|
1191
|
+
"namespace": "Amazon.CDK.AWS.Forecast"
|
|
1192
|
+
},
|
|
1193
|
+
"java": {
|
|
1194
|
+
"package": "software.amazon.awscdk.services.forecast"
|
|
1195
|
+
},
|
|
1196
|
+
"python": {
|
|
1197
|
+
"module": "aws_cdk.aws_forecast"
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
},
|
|
1188
1201
|
"aws-cdk-lib.aws_frauddetector": {
|
|
1189
1202
|
"targets": {
|
|
1190
1203
|
"dotnet": {
|
|
@@ -1367,6 +1380,19 @@
|
|
|
1367
1380
|
}
|
|
1368
1381
|
}
|
|
1369
1382
|
},
|
|
1383
|
+
"aws-cdk-lib.aws_inspectorv2": {
|
|
1384
|
+
"targets": {
|
|
1385
|
+
"dotnet": {
|
|
1386
|
+
"namespace": "Amazon.CDK.AWS.InspectorV2"
|
|
1387
|
+
},
|
|
1388
|
+
"java": {
|
|
1389
|
+
"package": "software.amazon.awscdk.services.inspectorv2"
|
|
1390
|
+
},
|
|
1391
|
+
"python": {
|
|
1392
|
+
"module": "aws_cdk.aws_inspectorv2"
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
},
|
|
1370
1396
|
"aws-cdk-lib.aws_iot": {
|
|
1371
1397
|
"targets": {
|
|
1372
1398
|
"dotnet": {
|
|
@@ -1536,6 +1562,19 @@
|
|
|
1536
1562
|
}
|
|
1537
1563
|
}
|
|
1538
1564
|
},
|
|
1565
|
+
"aws-cdk-lib.aws_kinesisanalyticsv2": {
|
|
1566
|
+
"targets": {
|
|
1567
|
+
"dotnet": {
|
|
1568
|
+
"namespace": "Amazon.CDK.AWS.KinesisAnalyticsV2"
|
|
1569
|
+
},
|
|
1570
|
+
"java": {
|
|
1571
|
+
"package": "software.amazon.awscdk.services.kinesisanalyticsv2"
|
|
1572
|
+
},
|
|
1573
|
+
"python": {
|
|
1574
|
+
"module": "aws_cdk.aws_kinesisanalyticsv2"
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1539
1578
|
"aws-cdk-lib.aws_kinesisfirehose": {
|
|
1540
1579
|
"targets": {
|
|
1541
1580
|
"dotnet": {
|
|
@@ -1549,6 +1588,19 @@
|
|
|
1549
1588
|
}
|
|
1550
1589
|
}
|
|
1551
1590
|
},
|
|
1591
|
+
"aws-cdk-lib.aws_kinesisvideo": {
|
|
1592
|
+
"targets": {
|
|
1593
|
+
"dotnet": {
|
|
1594
|
+
"namespace": "Amazon.CDK.AWS.KinesisVideo"
|
|
1595
|
+
},
|
|
1596
|
+
"java": {
|
|
1597
|
+
"package": "software.amazon.awscdk.services.kinesisvideo"
|
|
1598
|
+
},
|
|
1599
|
+
"python": {
|
|
1600
|
+
"module": "aws_cdk.aws_kinesisvideo"
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
},
|
|
1552
1604
|
"aws-cdk-lib.aws_kms": {
|
|
1553
1605
|
"targets": {
|
|
1554
1606
|
"dotnet": {
|
|
@@ -2855,7 +2907,7 @@
|
|
|
2855
2907
|
"stability": "experimental"
|
|
2856
2908
|
},
|
|
2857
2909
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
2858
|
-
"jsiiVersion": "1.
|
|
2910
|
+
"jsiiVersion": "1.52.1 (build 5ccc8f6)",
|
|
2859
2911
|
"keywords": [
|
|
2860
2912
|
"aws",
|
|
2861
2913
|
"cdk",
|
|
@@ -2869,12 +2921,15 @@
|
|
|
2869
2921
|
"compiledWithDeprecationWarnings": true,
|
|
2870
2922
|
"pacmak": {
|
|
2871
2923
|
"hasDefaultInterfaces": true
|
|
2924
|
+
},
|
|
2925
|
+
"rosetta": {
|
|
2926
|
+
"strict": true
|
|
2872
2927
|
}
|
|
2873
2928
|
}
|
|
2874
2929
|
},
|
|
2875
2930
|
"name": "@aws-cdk/aws-servicecatalogappregistry-alpha",
|
|
2876
2931
|
"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
|
|
2932
|
+
"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
2933
|
},
|
|
2879
2934
|
"repository": {
|
|
2880
2935
|
"directory": "packages/individual-packages/aws-servicecatalogappregistry",
|
|
@@ -3547,6 +3602,6 @@
|
|
|
3547
3602
|
"symbolId": "lib/attribute-group:IAttributeGroup"
|
|
3548
3603
|
}
|
|
3549
3604
|
},
|
|
3550
|
-
"version": "2.
|
|
3605
|
+
"version": "2.10.0-alpha.0",
|
|
3551
3606
|
"fingerprint": "**********"
|
|
3552
3607
|
}
|
package/.jsii.tabl.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2",
|
|
3
|
-
"toolVersion": "1.
|
|
3
|
+
"toolVersion": "1.52.1",
|
|
4
4
|
"snippets": {
|
|
5
5
|
"b54d6876cfcf5d45525d97eccc213472c316d19cb54a049a8e77ef5c721dc848": {
|
|
6
6
|
"translations": {
|
|
7
7
|
"python": {
|
|
8
8
|
"source": "import aws_cdk.aws_servicecatalogappregistry_alpha as appreg",
|
|
9
|
-
"version": "
|
|
9
|
+
"version": "2"
|
|
10
10
|
},
|
|
11
11
|
"csharp": {
|
|
12
12
|
"source": "using Amazon.CDK.AWS.Servicecatalogappregistry.Alpha;",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"translations": {
|
|
49
49
|
"python": {
|
|
50
50
|
"source": "application = appreg.Application(self, \"MyFirstApplication\",\n application_name=\"MyFirstApplicationName\",\n description=\"description for my application\"\n)",
|
|
51
|
-
"version": "
|
|
51
|
+
"version": "2"
|
|
52
52
|
},
|
|
53
53
|
"csharp": {
|
|
54
54
|
"source": "Application application = new Application(this, \"MyFirstApplication\", new ApplicationProps {\n ApplicationName = \"MyFirstApplicationName\",\n Description = \"description for my application\"\n});",
|
|
@@ -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,13 +91,13 @@
|
|
|
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\")",
|
|
100
|
-
"version": "
|
|
100
|
+
"version": "2"
|
|
101
101
|
},
|
|
102
102
|
"csharp": {
|
|
103
103
|
"source": "IApplication importedApplication = Application.FromApplicationArn(this, \"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,13 +139,13 @@
|
|
|
139
139
|
"242": 1,
|
|
140
140
|
"243": 1
|
|
141
141
|
},
|
|
142
|
-
"fqnsFingerprint": "
|
|
142
|
+
"fqnsFingerprint": "49498611d71819e12fa0047bee0c073a4aeb5a8d744cb6fbbab9fab2849a8986"
|
|
143
143
|
},
|
|
144
144
|
"9dc73a866361d4976a6b0e9f8dd7ae066771de818137f0849ab74e876da0a5d2": {
|
|
145
145
|
"translations": {
|
|
146
146
|
"python": {
|
|
147
147
|
"source": "attribute_group = appreg.AttributeGroup(self, \"MyFirstAttributeGroup\",\n attribute_group_name=\"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)",
|
|
148
|
-
"version": "
|
|
148
|
+
"version": "2"
|
|
149
149
|
},
|
|
150
150
|
"csharp": {
|
|
151
151
|
"source": "AttributeGroup attributeGroup = new AttributeGroup(this, \"MyFirstAttributeGroup\", new AttributeGroupProps {\n AttributeGroupName = \"MyFirstAttributeGroupName\",\n Description = \"description for my attribute group\", // the description is optional,\n Attributes = new Dictionary<string, object> {\n { \"project\", \"foo\" },\n { \"team\", new [] { \"member1\", \"member2\", \"member3\" } },\n { \"public\", false },\n { \"stages\", new Dictionary<string, string> {\n { \"alpha\", \"complete\" },\n { \"beta\", \"incomplete\" },\n { \"release\", \"not started\" }\n } }\n }\n});",
|
|
@@ -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,13 +190,13 @@
|
|
|
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\")",
|
|
199
|
-
"version": "
|
|
199
|
+
"version": "2"
|
|
200
200
|
},
|
|
201
201
|
"csharp": {
|
|
202
202
|
"source": "IAttributeGroup importedAttributeGroup = AttributeGroup.FromAttributeGroupArn(this, \"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)",
|
|
247
|
-
"version": "
|
|
246
|
+
"source": "# application: appreg.Application\n# attribute_group: appreg.AttributeGroup\n\napplication.associate_attribute_group(attribute_group)",
|
|
247
|
+
"version": "2"
|
|
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": "
|
|
287
|
-
"version": "
|
|
295
|
+
"source": "# application: appreg.Application\napp = App()\nmy_stack = Stack(app, \"MyStack\")\napplication.associate_stack(my_stack)",
|
|
296
|
+
"version": "2"
|
|
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,32 +315,37 @@
|
|
|
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": {
|
|
332
346
|
"python": {
|
|
333
347
|
"source": "application = appreg.Application(self, \"MyFirstApplication\",\n application_name=\"MyFirstApplicationName\",\n description=\"description for my application\"\n)",
|
|
334
|
-
"version": "
|
|
348
|
+
"version": "2"
|
|
335
349
|
},
|
|
336
350
|
"csharp": {
|
|
337
351
|
"source": "Application application = new Application(this, \"MyFirstApplication\", new ApplicationProps {\n ApplicationName = \"MyFirstApplicationName\",\n Description = \"description for my application\"\n});",
|
|
@@ -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,13 +387,13 @@
|
|
|
373
387
|
"243": 1,
|
|
374
388
|
"281": 2
|
|
375
389
|
},
|
|
376
|
-
"fqnsFingerprint": "
|
|
390
|
+
"fqnsFingerprint": "3171899d5ec14c0372417b37ca17c618069d7af74cbbd93ad02edcbd18a12bce"
|
|
377
391
|
},
|
|
378
392
|
"556393d98427fe99c42f80175cf169f120d019b778303171d685ae1cc3561efd": {
|
|
379
393
|
"translations": {
|
|
380
394
|
"python": {
|
|
381
395
|
"source": "application = appreg.Application(self, \"MyFirstApplication\",\n application_name=\"MyFirstApplicationName\",\n description=\"description for my application\"\n)",
|
|
382
|
-
"version": "
|
|
396
|
+
"version": "2"
|
|
383
397
|
},
|
|
384
398
|
"csharp": {
|
|
385
399
|
"source": "Application application = new Application(this, \"MyFirstApplication\", new ApplicationProps {\n ApplicationName = \"MyFirstApplicationName\",\n Description = \"description for my application\"\n});",
|
|
@@ -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,13 +435,13 @@
|
|
|
421
435
|
"243": 1,
|
|
422
436
|
"281": 2
|
|
423
437
|
},
|
|
424
|
-
"fqnsFingerprint": "
|
|
438
|
+
"fqnsFingerprint": "3171899d5ec14c0372417b37ca17c618069d7af74cbbd93ad02edcbd18a12bce"
|
|
425
439
|
},
|
|
426
440
|
"cee2c8d7cf7a7cab5dc3ceb2bc700faae17da71a21d554d5a283dc3828526c08": {
|
|
427
441
|
"translations": {
|
|
428
442
|
"python": {
|
|
429
443
|
"source": "attribute_group = appreg.AttributeGroup(self, \"MyFirstAttributeGroup\",\n attribute_group_name=\"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)",
|
|
430
|
-
"version": "
|
|
444
|
+
"version": "2"
|
|
431
445
|
},
|
|
432
446
|
"csharp": {
|
|
433
447
|
"source": "AttributeGroup attributeGroup = new AttributeGroup(this, \"MyFirstAttributeGroup\", new AttributeGroupProps {\n AttributeGroupName = \"MyFirstAttributeGroupName\",\n Description = \"description for my attribute group\", // the description is optional,\n Attributes = new Dictionary<string, object> {\n { \"project\", \"foo\" },\n { \"team\", new [] { \"member1\", \"member2\", \"member3\" } },\n { \"public\", false },\n { \"stages\", new Dictionary<string, string> {\n { \"alpha\", \"complete\" },\n { \"beta\", \"incomplete\" },\n { \"release\", \"not started\" }\n } }\n }\n});",
|
|
@@ -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,13 +485,13 @@
|
|
|
471
485
|
"243": 1,
|
|
472
486
|
"281": 10
|
|
473
487
|
},
|
|
474
|
-
"fqnsFingerprint": "
|
|
488
|
+
"fqnsFingerprint": "0e4ac5f81ea5afa85475d8318edb74ddfb995e1e509d90691382313762a3335f"
|
|
475
489
|
},
|
|
476
490
|
"c37bf93e3c49033a2d092c01a0d0a2a1d110115c83af67adde537aa056aff848": {
|
|
477
491
|
"translations": {
|
|
478
492
|
"python": {
|
|
479
493
|
"source": "attribute_group = appreg.AttributeGroup(self, \"MyFirstAttributeGroup\",\n attribute_group_name=\"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)",
|
|
480
|
-
"version": "
|
|
494
|
+
"version": "2"
|
|
481
495
|
},
|
|
482
496
|
"csharp": {
|
|
483
497
|
"source": "AttributeGroup attributeGroup = new AttributeGroup(this, \"MyFirstAttributeGroup\", new AttributeGroupProps {\n AttributeGroupName = \"MyFirstAttributeGroupName\",\n Description = \"description for my attribute group\", // the description is optional,\n Attributes = new Dictionary<string, object> {\n { \"project\", \"foo\" },\n { \"team\", new [] { \"member1\", \"member2\", \"member3\" } },\n { \"public\", false },\n { \"stages\", new Dictionary<string, string> {\n { \"alpha\", \"complete\" },\n { \"beta\", \"incomplete\" },\n { \"release\", \"not started\" }\n } }\n }\n});",
|
|
@@ -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/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.10.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.10.0-alpha.0" };
|
|
67
67
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0cmlidXRlLWdyb3VwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXR0cmlidXRlLWdyb3VwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLG1DQUFtQztBQUNuQyxxREFBc0Q7QUFDdEQsNkZBQThFO0FBMkI5RSxNQUFlLGtCQUFtQixTQUFRLEdBQUcsQ0FBQyxRQUFRO0NBR3JEOzs7Ozs7QUFHRCxNQUFhLGNBQWUsU0FBUSxrQkFBa0I7Ozs7SUF1QnBELFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0FBMEI7UUFDbEUsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQzs7UUFFakIsSUFBSSxDQUFDLDJCQUEyQixDQUFDLEtBQUssQ0FBQyxDQUFDO1FBRXhDLE1BQU0sY0FBYyxHQUFHLElBQUksaURBQWlCLENBQUMsSUFBSSxFQUFFLFVBQVUsRUFBRTtZQUM3RCxJQUFJLEVBQUUsS0FBSyxDQUFDLGtCQUFrQjtZQUM5QixXQUFXLEVBQUUsS0FBSyxDQUFDLFdBQVc7WUFDOUIsVUFBVSxFQUFFLEtBQUssQ0FBQyxVQUFVO1NBQzdCLENBQUMsQ0FBQztRQUVILElBQUksQ0FBQyxpQkFBaUIsR0FBRyxjQUFjLENBQUMsT0FBTyxDQUFDO1FBQ2hELElBQUksQ0FBQyxnQkFBZ0IsR0FBRyxjQUFjLENBQUMsTUFBTSxDQUFDO0tBQy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mlidXRlR3JvdXBJZDogc3RyaW5nO1xufVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuZXhwb3J0IGludGVyZmFjZSBBdHRyaWJ1dGVHcm91cFByb3BzIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSBhdHRyaWJ1dGVHcm91cE5hbWU6IHN0cmluZztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgZGVzY3JpcHRpb24/OiBzdHJpbmc7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgYXR0cmlidXRlczogeyBba2V5OiBzdHJpbmddOiBhbnkgfTtcbn1cblxuYWJzdHJhY3QgY2xhc3MgQXR0cmlidXRlR3JvdXBCYXNlIGV4dGVuZHMgY2RrLlJlc291cmNlIGltcGxlbWVudHMgSUF0dHJpYnV0ZUdyb3VwIHtcbiAgcHVibGljIGFic3RyYWN0IHJlYWRvbmx5IGF0dHJpYnV0ZUdyb3VwQXJuOiBzdHJpbmc7XG4gIHB1YmxpYyBhYnN0cmFjdCByZWFkb25seSBhdHRyaWJ1dGVHcm91cElkOiBzdHJpbmc7XG59XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuZXhwb3J0IGNsYXNzIEF0dHJpYnV0ZUdyb3VwIGV4dGVuZHMgQXR0cmlidXRlR3JvdXBCYXNlIGltcGxlbWVudHMgSUF0dHJpYnV0ZUdyb3VwIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyBzdGF0aWMgZnJvbUF0dHJpYnV0ZUdyb3VwQXJuKHNjb3BlOiBDb25zdHJ1Y3QsIGlkOiBzdHJpbmcsIGF0dHJpYnV0ZUdyb3VwQXJuOiBzdHJpbmcpOiBJQXR0cmlidXRlR3JvdXAge1xuICAgIGNvbnN0IGFybiA9IGNkay5TdGFjay5vZihzY29wZSkuc3BsaXRBcm4oYXR0cmlidXRlR3JvdXBBcm4sIGNkay5Bcm5Gb3JtYXQuU0xBU0hfUkVTT1VSQ0VfU0xBU0hfUkVTT1VSQ0VfTkFNRSk7XG4gICAgY29uc3QgYXR0cmlidXRlR3JvdXBJZCA9IGFybi5yZXNvdXJjZU5hbWU7XG5cbiAgICBpZiAoIWF0dHJpYnV0ZUdyb3VwSWQpIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcignTWlzc2luZyByZXF1aXJlZCBBdHRyaWJ1dGUgR3JvdXAgSUQgZnJvbSBBdHRyaWJ1dGUgR3JvdXAgQVJOOiAnICsgYXR0cmlidXRlR3JvdXBBcm4pO1xuICAgIH1cblxuICAgIGNsYXNzIEltcG9ydCBleHRlbmRzIEF0dHJpYnV0ZUdyb3VwQmFzZSB7XG4gICAgICBwdWJsaWMgcmVhZG9ubHkgYXR0cmlidXRlR3J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zKSB7XG4gICAgSW5wdXRWYWxpZGF0b3IudmFsaWRhdGVMZW5ndGgodGhpcy5ub2RlLnBhdGgsICdhdHRyaWJ1dGUgZ3JvdXAgbmFtZScsIDEsIDI1NiwgcHJvcHMuYXR0cmlidXRlR3JvdXBOYW1lKTtcbiAgICBJbnB1dFZhbGlkYXRvci52YWxpZGF0ZVJlZ2V4KHRoaXMubm9kZS5wYXRoLCAnYXR0cmlidXRlIGdyb3VwIG5hbWUnLCAvXlthLXpBLVowLTktX10rJC8sIHByb3BzLmF0dHJpYnV0ZUdyb3VwTmFtZSk7XG4gICAgSW5wdXRWYWxpZGF0b3IudmFsaWRhdGVMZW5ndGgodGhpcy5ub2RlLnBhdGgsICdhdHRyaWJ1dGUgZ3JvdXAgZGVzY3JpcHRpb24nLCAwLCAxMDI0LCBwcm9wcy5kZXNjcmlwdGlvbik7XG4gIH1cbn1cbiJdfQ==
|
package/package.json
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/aws-servicecatalogappregistry-alpha",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.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.10.0",
|
|
88
|
+
"@aws-cdk/cdk-integ-tools": "2.10.0",
|
|
89
|
+
"@aws-cdk/cfn2ts": "2.10.0",
|
|
90
|
+
"@aws-cdk/pkglint": "2.10.0",
|
|
91
|
+
"@types/jest": "^27.4.0",
|
|
92
|
+
"aws-cdk-lib": "2.10.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.10.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
|
-
}
|