@intentius/chant-lexicon-aws 0.18.19 → 0.18.21
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/dist/components/__tests__/mock-cloud-executor.d.ts +5 -0
- package/dist/components/__tests__/mock-cloud-executor.d.ts.map +1 -1
- package/dist/components/apply.d.ts +9 -1
- package/dist/components/apply.d.ts.map +1 -1
- package/dist/components/cloud-executor.d.ts +5 -0
- package/dist/components/cloud-executor.d.ts.map +1 -1
- package/dist/generated/index.d.ts +4 -1
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/integrity.json +4 -4
- package/dist/manifest.json +1 -1
- package/dist/meta.json +100 -5
- package/dist/plugin.d.ts.map +1 -1
- package/dist/types/index.d.ts +73 -14
- package/package.json +2 -2
- package/src/components/__tests__/mock-cloud-executor.ts +17 -0
- package/src/components/apply.test.ts +22 -0
- package/src/components/apply.ts +37 -1
- package/src/components/cloud-executor.ts +7 -0
- package/src/generated/index.d.ts +73 -14
- package/src/generated/index.ts +4 -1
- package/src/generated/lexicon-aws.json +100 -5
- package/src/plugin.ts +5 -3
|
@@ -985,6 +985,15 @@
|
|
|
985
985
|
},
|
|
986
986
|
"Ipv6Addresses": {
|
|
987
987
|
"default": null
|
|
988
|
+
},
|
|
989
|
+
"FlowLogsEnabled": {
|
|
990
|
+
"default": false
|
|
991
|
+
},
|
|
992
|
+
"FlowLogsS3Bucket": {
|
|
993
|
+
"maxLength": 255
|
|
994
|
+
},
|
|
995
|
+
"FlowLogsS3Prefix": {
|
|
996
|
+
"maxLength": 255
|
|
988
997
|
}
|
|
989
998
|
},
|
|
990
999
|
"primaryIdentifier": [
|
|
@@ -20790,6 +20799,9 @@
|
|
|
20790
20799
|
"LatestVersion_Patch": "LatestVersion.Patch"
|
|
20791
20800
|
},
|
|
20792
20801
|
"propertyConstraints": {
|
|
20802
|
+
"Arn": {
|
|
20803
|
+
"pattern": "^arn:[^:]+:imagebuilder:[^:]+:[^:]+:container-recipe/.+$"
|
|
20804
|
+
},
|
|
20793
20805
|
"PlatformOverride": {
|
|
20794
20806
|
"enum": [
|
|
20795
20807
|
"Windows",
|
|
@@ -30935,6 +30947,11 @@
|
|
|
30935
30947
|
"attrs": {
|
|
30936
30948
|
"Arn": "Arn"
|
|
30937
30949
|
},
|
|
30950
|
+
"propertyConstraints": {
|
|
30951
|
+
"Arn": {
|
|
30952
|
+
"pattern": "^arn:[^:]+:imagebuilder:[^:]+:[^:]+:distribution-configuration/.+$"
|
|
30953
|
+
}
|
|
30954
|
+
},
|
|
30938
30955
|
"createOnly": [
|
|
30939
30956
|
"Name"
|
|
30940
30957
|
],
|
|
@@ -46723,6 +46740,9 @@
|
|
|
46723
46740
|
"LatestVersion_Patch": "LatestVersion.Patch"
|
|
46724
46741
|
},
|
|
46725
46742
|
"propertyConstraints": {
|
|
46743
|
+
"Arn": {
|
|
46744
|
+
"pattern": "^arn:[^:]+:imagebuilder:[^:]+:[^:]+:component/.+$"
|
|
46745
|
+
},
|
|
46726
46746
|
"Type": {
|
|
46727
46747
|
"enum": [
|
|
46728
46748
|
"BUILD",
|
|
@@ -46788,6 +46808,9 @@
|
|
|
46788
46808
|
"propertyConstraints": {
|
|
46789
46809
|
"ImageId": {
|
|
46790
46810
|
"format": "AWS::EC2::Image.Id"
|
|
46811
|
+
},
|
|
46812
|
+
"Arn": {
|
|
46813
|
+
"pattern": "^arn:[^:]+:imagebuilder:[^:]+:[^:]+:image/.+$"
|
|
46791
46814
|
}
|
|
46792
46815
|
},
|
|
46793
46816
|
"createOnly": [
|
|
@@ -46869,6 +46892,9 @@
|
|
|
46869
46892
|
"Arn": "Arn"
|
|
46870
46893
|
},
|
|
46871
46894
|
"propertyConstraints": {
|
|
46895
|
+
"Arn": {
|
|
46896
|
+
"pattern": "^arn:[^:]+:imagebuilder:[^:]+:[^:]+:lifecycle-policy/.+$"
|
|
46897
|
+
},
|
|
46872
46898
|
"Status": {
|
|
46873
46899
|
"enum": [
|
|
46874
46900
|
"DISABLED",
|
|
@@ -47051,6 +47077,9 @@
|
|
|
47051
47077
|
"DeploymentId": "DeploymentId"
|
|
47052
47078
|
},
|
|
47053
47079
|
"propertyConstraints": {
|
|
47080
|
+
"Arn": {
|
|
47081
|
+
"pattern": "^arn:[^:]+:imagebuilder:[^:]+:[^:]+:image-pipeline/.+$"
|
|
47082
|
+
},
|
|
47054
47083
|
"Status": {
|
|
47055
47084
|
"enum": [
|
|
47056
47085
|
"DISABLED",
|
|
@@ -47132,6 +47161,11 @@
|
|
|
47132
47161
|
"LatestVersion_Minor": "LatestVersion.Minor",
|
|
47133
47162
|
"LatestVersion_Patch": "LatestVersion.Patch"
|
|
47134
47163
|
},
|
|
47164
|
+
"propertyConstraints": {
|
|
47165
|
+
"Arn": {
|
|
47166
|
+
"pattern": "^arn:[^:]+:imagebuilder:[^:]+:[^:]+:image-recipe/.+$"
|
|
47167
|
+
}
|
|
47168
|
+
},
|
|
47135
47169
|
"createOnly": [
|
|
47136
47170
|
"Name",
|
|
47137
47171
|
"Version",
|
|
@@ -48105,6 +48139,9 @@
|
|
|
48105
48139
|
"Arn": "Arn"
|
|
48106
48140
|
},
|
|
48107
48141
|
"propertyConstraints": {
|
|
48142
|
+
"Arn": {
|
|
48143
|
+
"pattern": "^arn:[^:]+:imagebuilder:[^:]+:[^:]+:infrastructure-configuration/.+$"
|
|
48144
|
+
},
|
|
48108
48145
|
"SecurityGroupIds": {
|
|
48109
48146
|
"format": "AWS::EC2::SecurityGroup.Ids"
|
|
48110
48147
|
},
|
|
@@ -61110,11 +61147,6 @@
|
|
|
61110
61147
|
"kind": "property",
|
|
61111
61148
|
"lexicon": "aws"
|
|
61112
61149
|
},
|
|
61113
|
-
"MetadataProperties": {
|
|
61114
|
-
"resourceType": "AWS::SageMaker::ModelPackage.MetadataProperties",
|
|
61115
|
-
"kind": "property",
|
|
61116
|
-
"lexicon": "aws"
|
|
61117
|
-
},
|
|
61118
61150
|
"MetadataTableConfiguration": {
|
|
61119
61151
|
"resourceType": "AWS::S3::Bucket.MetadataTableConfiguration",
|
|
61120
61152
|
"kind": "property",
|
|
@@ -98386,6 +98418,69 @@
|
|
|
98386
98418
|
"kind": "property",
|
|
98387
98419
|
"lexicon": "aws"
|
|
98388
98420
|
},
|
|
98421
|
+
"TrialComponent": {
|
|
98422
|
+
"resourceType": "AWS::SageMaker::TrialComponent",
|
|
98423
|
+
"kind": "resource",
|
|
98424
|
+
"lexicon": "aws",
|
|
98425
|
+
"attrs": {
|
|
98426
|
+
"TrialComponentArn": "TrialComponentArn",
|
|
98427
|
+
"CreationTime": "CreationTime",
|
|
98428
|
+
"LastModifiedTime": "LastModifiedTime",
|
|
98429
|
+
"LineageGroupArn": "LineageGroupArn"
|
|
98430
|
+
},
|
|
98431
|
+
"propertyConstraints": {
|
|
98432
|
+
"TrialComponentArn": {
|
|
98433
|
+
"pattern": "^arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:experiment-trial-component/",
|
|
98434
|
+
"maxLength": 256
|
|
98435
|
+
},
|
|
98436
|
+
"TrialComponentName": {
|
|
98437
|
+
"pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,119}$",
|
|
98438
|
+
"minLength": 1,
|
|
98439
|
+
"maxLength": 120
|
|
98440
|
+
},
|
|
98441
|
+
"DisplayName": {
|
|
98442
|
+
"pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,119}$",
|
|
98443
|
+
"minLength": 1,
|
|
98444
|
+
"maxLength": 120
|
|
98445
|
+
},
|
|
98446
|
+
"CreationTime": {
|
|
98447
|
+
"format": "date-time"
|
|
98448
|
+
},
|
|
98449
|
+
"LastModifiedTime": {
|
|
98450
|
+
"format": "date-time"
|
|
98451
|
+
},
|
|
98452
|
+
"LineageGroupArn": {
|
|
98453
|
+
"maxLength": 256
|
|
98454
|
+
}
|
|
98455
|
+
},
|
|
98456
|
+
"createOnly": [
|
|
98457
|
+
"TrialComponentName",
|
|
98458
|
+
"MetadataProperties"
|
|
98459
|
+
],
|
|
98460
|
+
"primaryIdentifier": [
|
|
98461
|
+
"TrialComponentArn"
|
|
98462
|
+
],
|
|
98463
|
+
"tagging": {
|
|
98464
|
+
"taggable": true,
|
|
98465
|
+
"tagOnCreate": true,
|
|
98466
|
+
"tagUpdatable": true
|
|
98467
|
+
}
|
|
98468
|
+
},
|
|
98469
|
+
"TrialComponentStatus": {
|
|
98470
|
+
"resourceType": "AWS::SageMaker::TrialComponent.TrialComponentStatus",
|
|
98471
|
+
"kind": "property",
|
|
98472
|
+
"lexicon": "aws"
|
|
98473
|
+
},
|
|
98474
|
+
"TrialComponent_MetadataProperties": {
|
|
98475
|
+
"resourceType": "AWS::SageMaker::TrialComponent.MetadataProperties",
|
|
98476
|
+
"kind": "property",
|
|
98477
|
+
"lexicon": "aws"
|
|
98478
|
+
},
|
|
98479
|
+
"TrialComponent_TrialComponentStatus": {
|
|
98480
|
+
"resourceType": "AWS::SageMaker::TrialComponent.TrialComponentStatus",
|
|
98481
|
+
"kind": "property",
|
|
98482
|
+
"lexicon": "aws"
|
|
98483
|
+
},
|
|
98389
98484
|
"Trigger": {
|
|
98390
98485
|
"resourceType": "AWS::Glue::Trigger",
|
|
98391
98486
|
"kind": "resource",
|
package/src/plugin.ts
CHANGED
|
@@ -475,6 +475,7 @@ aws cloudformation wait stack-update-complete --stack-name my-app-prod`,
|
|
|
475
475
|
environment: string;
|
|
476
476
|
buildOutput: string;
|
|
477
477
|
entityNames: string[];
|
|
478
|
+
stack?: string;
|
|
478
479
|
owned?: boolean;
|
|
479
480
|
}): Promise<Record<string, ResourceMetadata>> {
|
|
480
481
|
const { getRuntime } = await import("@intentius/chant/runtime-adapter");
|
|
@@ -490,9 +491,10 @@ aws cloudformation wait stack-update-complete --stack-name my-app-prod`,
|
|
|
490
491
|
);
|
|
491
492
|
}
|
|
492
493
|
|
|
493
|
-
// Derive stack name
|
|
494
|
-
//
|
|
495
|
-
|
|
494
|
+
// Derive stack name. A multi-stack project passes the explicit CloudFormation
|
|
495
|
+
// stack this observation targets (see `stacks` in ChantConfig); otherwise the
|
|
496
|
+
// single-stack convention is the stack named after the environment (#932).
|
|
497
|
+
const stackName = options.stack ?? `${options.environment}`;
|
|
496
498
|
|
|
497
499
|
// Describe stack resources. Inject --endpoint-url from AWS_ENDPOINT_URL so a
|
|
498
500
|
// local emulator (Floci) is observed instead of real AWS (#926) — behold
|