@aws-cdk/cloud-assembly-schema 2.5.0 → 2.9.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 CHANGED
@@ -16,7 +16,7 @@
16
16
  "stability": "stable"
17
17
  },
18
18
  "homepage": "https://github.com/aws/aws-cdk",
19
- "jsiiVersion": "1.50.0 (build d1830a4)",
19
+ "jsiiVersion": "1.52.1 (build 5ccc8f6)",
20
20
  "keywords": [
21
21
  "aws",
22
22
  "cdk"
@@ -196,7 +196,7 @@
196
196
  "docs": {
197
197
  "stability": "stable",
198
198
  "summary": "A manifest for a single artifact within the cloud assembly.",
199
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst artifactManifest: cloud_assembly_schema.ArtifactManifest = {\n type: cloud_assembly_schema.ArtifactType.NONE,\n\n // the properties below are optional\n dependencies: ['dependencies'],\n displayName: 'displayName',\n environment: 'environment',\n metadata: {\n metadataKey: [{\n type: 'type',\n\n // the properties below are optional\n data: 'data',\n trace: ['trace'],\n }],\n },\n properties: {\n templateFile: 'templateFile',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n cloudFormationExecutionRoleArn: 'cloudFormationExecutionRoleArn',\n parameters: {\n parametersKey: 'parameters',\n },\n requiresBootstrapStackVersion: 123,\n stackName: 'stackName',\n stackTemplateAssetObjectUrl: 'stackTemplateAssetObjectUrl',\n tags: {\n tagsKey: 'tags',\n },\n terminationProtection: false,\n validateOnSynth: false,\n },\n};",
199
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst artifactManifest: cloud_assembly_schema.ArtifactManifest = {\n type: cloud_assembly_schema.ArtifactType.NONE,\n\n // the properties below are optional\n dependencies: ['dependencies'],\n displayName: 'displayName',\n environment: 'environment',\n metadata: {\n metadataKey: [{\n type: 'type',\n\n // the properties below are optional\n data: 'data',\n trace: ['trace'],\n }],\n },\n properties: {\n templateFile: 'templateFile',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n cloudFormationExecutionRoleArn: 'cloudFormationExecutionRoleArn',\n lookupRole: {\n arn: 'arn',\n\n // the properties below are optional\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n requiresBootstrapStackVersion: 123,\n },\n parameters: {\n parametersKey: 'parameters',\n },\n requiresBootstrapStackVersion: 123,\n stackName: 'stackName',\n stackTemplateAssetObjectUrl: 'stackTemplateAssetObjectUrl',\n tags: {\n tagsKey: 'tags',\n },\n terminationProtection: false,\n validateOnSynth: false,\n },\n};",
200
200
  "custom": {
201
201
  "exampleMetadata": "fixture=_generated"
202
202
  }
@@ -466,7 +466,7 @@
466
466
  "docs": {
467
467
  "stability": "stable",
468
468
  "summary": "A manifest which describes the cloud assembly.",
469
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst assemblyManifest: cloud_assembly_schema.AssemblyManifest = {\n version: 'version',\n\n // the properties below are optional\n artifacts: {\n artifactsKey: {\n type: cloud_assembly_schema.ArtifactType.NONE,\n\n // the properties below are optional\n dependencies: ['dependencies'],\n displayName: 'displayName',\n environment: 'environment',\n metadata: {\n metadataKey: [{\n type: 'type',\n\n // the properties below are optional\n data: 'data',\n trace: ['trace'],\n }],\n },\n properties: {\n templateFile: 'templateFile',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n cloudFormationExecutionRoleArn: 'cloudFormationExecutionRoleArn',\n parameters: {\n parametersKey: 'parameters',\n },\n requiresBootstrapStackVersion: 123,\n stackName: 'stackName',\n stackTemplateAssetObjectUrl: 'stackTemplateAssetObjectUrl',\n tags: {\n tagsKey: 'tags',\n },\n terminationProtection: false,\n validateOnSynth: false,\n },\n },\n },\n missing: [{\n key: 'key',\n props: {\n account: 'account',\n filters: {\n filtersKey: ['filters'],\n },\n region: 'region',\n\n // the properties below are optional\n lookupRoleArn: 'lookupRoleArn',\n owners: ['owners'],\n },\n provider: cloud_assembly_schema.ContextProvider.AMI_PROVIDER,\n }],\n runtime: {\n libraries: {\n librariesKey: 'libraries',\n },\n },\n};",
469
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst assemblyManifest: cloud_assembly_schema.AssemblyManifest = {\n version: 'version',\n\n // the properties below are optional\n artifacts: {\n artifactsKey: {\n type: cloud_assembly_schema.ArtifactType.NONE,\n\n // the properties below are optional\n dependencies: ['dependencies'],\n displayName: 'displayName',\n environment: 'environment',\n metadata: {\n metadataKey: [{\n type: 'type',\n\n // the properties below are optional\n data: 'data',\n trace: ['trace'],\n }],\n },\n properties: {\n templateFile: 'templateFile',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n cloudFormationExecutionRoleArn: 'cloudFormationExecutionRoleArn',\n lookupRole: {\n arn: 'arn',\n\n // the properties below are optional\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n requiresBootstrapStackVersion: 123,\n },\n parameters: {\n parametersKey: 'parameters',\n },\n requiresBootstrapStackVersion: 123,\n stackName: 'stackName',\n stackTemplateAssetObjectUrl: 'stackTemplateAssetObjectUrl',\n tags: {\n tagsKey: 'tags',\n },\n terminationProtection: false,\n validateOnSynth: false,\n },\n },\n },\n missing: [{\n key: 'key',\n props: {\n account: 'account',\n filters: {\n filtersKey: ['filters'],\n },\n region: 'region',\n\n // the properties below are optional\n lookupRoleArn: 'lookupRoleArn',\n owners: ['owners'],\n },\n provider: cloud_assembly_schema.ContextProvider.AMI_PROVIDER,\n }],\n runtime: {\n libraries: {\n librariesKey: 'libraries',\n },\n },\n};",
470
470
  "custom": {
471
471
  "exampleMetadata": "fixture=_generated"
472
472
  }
@@ -662,7 +662,7 @@
662
662
  "kind": "interface",
663
663
  "locationInModule": {
664
664
  "filename": "lib/cloud-assembly/artifact-schema.ts",
665
- "line": 99
665
+ "line": 139
666
666
  },
667
667
  "name": "AssetManifestProperties",
668
668
  "properties": [
@@ -675,7 +675,7 @@
675
675
  "immutable": true,
676
676
  "locationInModule": {
677
677
  "filename": "lib/cloud-assembly/artifact-schema.ts",
678
- "line": 103
678
+ "line": 143
679
679
  },
680
680
  "name": "file",
681
681
  "type": {
@@ -693,7 +693,7 @@
693
693
  "immutable": true,
694
694
  "locationInModule": {
695
695
  "filename": "lib/cloud-assembly/artifact-schema.ts",
696
- "line": 123
696
+ "line": 163
697
697
  },
698
698
  "name": "bootstrapStackVersionSsmParameter",
699
699
  "optional": true,
@@ -711,7 +711,7 @@
711
711
  "immutable": true,
712
712
  "locationInModule": {
713
713
  "filename": "lib/cloud-assembly/artifact-schema.ts",
714
- "line": 110
714
+ "line": 150
715
715
  },
716
716
  "name": "requiresBootstrapStackVersion",
717
717
  "optional": true,
@@ -800,7 +800,7 @@
800
800
  "docs": {
801
801
  "stability": "stable",
802
802
  "summary": "Artifact properties for CloudFormation stacks.",
803
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst awsCloudFormationStackProperties: cloud_assembly_schema.AwsCloudFormationStackProperties = {\n templateFile: 'templateFile',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n cloudFormationExecutionRoleArn: 'cloudFormationExecutionRoleArn',\n parameters: {\n parametersKey: 'parameters',\n },\n requiresBootstrapStackVersion: 123,\n stackName: 'stackName',\n stackTemplateAssetObjectUrl: 'stackTemplateAssetObjectUrl',\n tags: {\n tagsKey: 'tags',\n },\n terminationProtection: false,\n validateOnSynth: false,\n};",
803
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst awsCloudFormationStackProperties: cloud_assembly_schema.AwsCloudFormationStackProperties = {\n templateFile: 'templateFile',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n cloudFormationExecutionRoleArn: 'cloudFormationExecutionRoleArn',\n lookupRole: {\n arn: 'arn',\n\n // the properties below are optional\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n requiresBootstrapStackVersion: 123,\n },\n parameters: {\n parametersKey: 'parameters',\n },\n requiresBootstrapStackVersion: 123,\n stackName: 'stackName',\n stackTemplateAssetObjectUrl: 'stackTemplateAssetObjectUrl',\n tags: {\n tagsKey: 'tags',\n },\n terminationProtection: false,\n validateOnSynth: false,\n};",
804
804
  "custom": {
805
805
  "exampleMetadata": "fixture=_generated"
806
806
  }
@@ -809,7 +809,7 @@
809
809
  "kind": "interface",
810
810
  "locationInModule": {
811
811
  "filename": "lib/cloud-assembly/artifact-schema.ts",
812
- "line": 5
812
+ "line": 38
813
813
  },
814
814
  "name": "AwsCloudFormationStackProperties",
815
815
  "properties": [
@@ -822,7 +822,7 @@
822
822
  "immutable": true,
823
823
  "locationInModule": {
824
824
  "filename": "lib/cloud-assembly/artifact-schema.ts",
825
- "line": 9
825
+ "line": 42
826
826
  },
827
827
  "name": "templateFile",
828
828
  "type": {
@@ -839,7 +839,7 @@
839
839
  "immutable": true,
840
840
  "locationInModule": {
841
841
  "filename": "lib/cloud-assembly/artifact-schema.ts",
842
- "line": 43
842
+ "line": 76
843
843
  },
844
844
  "name": "assumeRoleArn",
845
845
  "optional": true,
@@ -857,7 +857,7 @@
857
857
  "immutable": true,
858
858
  "locationInModule": {
859
859
  "filename": "lib/cloud-assembly/artifact-schema.ts",
860
- "line": 50
860
+ "line": 83
861
861
  },
862
862
  "name": "assumeRoleExternalId",
863
863
  "optional": true,
@@ -876,7 +876,7 @@
876
876
  "immutable": true,
877
877
  "locationInModule": {
878
878
  "filename": "lib/cloud-assembly/artifact-schema.ts",
879
- "line": 86
879
+ "line": 126
880
880
  },
881
881
  "name": "bootstrapStackVersionSsmParameter",
882
882
  "optional": true,
@@ -894,7 +894,7 @@
894
894
  "immutable": true,
895
895
  "locationInModule": {
896
896
  "filename": "lib/cloud-assembly/artifact-schema.ts",
897
- "line": 57
897
+ "line": 90
898
898
  },
899
899
  "name": "cloudFormationExecutionRoleArn",
900
900
  "optional": true,
@@ -902,6 +902,24 @@
902
902
  "primitive": "string"
903
903
  }
904
904
  },
905
+ {
906
+ "abstract": true,
907
+ "docs": {
908
+ "default": "- No role is assumed (current credentials are used)",
909
+ "stability": "stable",
910
+ "summary": "The role to use to look up values from the target AWS account."
911
+ },
912
+ "immutable": true,
913
+ "locationInModule": {
914
+ "filename": "lib/cloud-assembly/artifact-schema.ts",
915
+ "line": 97
916
+ },
917
+ "name": "lookupRole",
918
+ "optional": true,
919
+ "type": {
920
+ "fqn": "@aws-cdk/cloud-assembly-schema.BootstrapRole"
921
+ }
922
+ },
905
923
  {
906
924
  "abstract": true,
907
925
  "docs": {
@@ -912,7 +930,7 @@
912
930
  "immutable": true,
913
931
  "locationInModule": {
914
932
  "filename": "lib/cloud-assembly/artifact-schema.ts",
915
- "line": 16
933
+ "line": 49
916
934
  },
917
935
  "name": "parameters",
918
936
  "optional": true,
@@ -935,7 +953,7 @@
935
953
  "immutable": true,
936
954
  "locationInModule": {
937
955
  "filename": "lib/cloud-assembly/artifact-schema.ts",
938
- "line": 71
956
+ "line": 111
939
957
  },
940
958
  "name": "requiresBootstrapStackVersion",
941
959
  "optional": true,
@@ -953,7 +971,7 @@
953
971
  "immutable": true,
954
972
  "locationInModule": {
955
973
  "filename": "lib/cloud-assembly/artifact-schema.ts",
956
- "line": 29
974
+ "line": 62
957
975
  },
958
976
  "name": "stackName",
959
977
  "optional": true,
@@ -971,7 +989,7 @@
971
989
  "immutable": true,
972
990
  "locationInModule": {
973
991
  "filename": "lib/cloud-assembly/artifact-schema.ts",
974
- "line": 64
992
+ "line": 104
975
993
  },
976
994
  "name": "stackTemplateAssetObjectUrl",
977
995
  "optional": true,
@@ -989,7 +1007,7 @@
989
1007
  "immutable": true,
990
1008
  "locationInModule": {
991
1009
  "filename": "lib/cloud-assembly/artifact-schema.ts",
992
- "line": 23
1010
+ "line": 56
993
1011
  },
994
1012
  "name": "tags",
995
1013
  "optional": true,
@@ -1012,7 +1030,7 @@
1012
1030
  "immutable": true,
1013
1031
  "locationInModule": {
1014
1032
  "filename": "lib/cloud-assembly/artifact-schema.ts",
1015
- "line": 36
1033
+ "line": 69
1016
1034
  },
1017
1035
  "name": "terminationProtection",
1018
1036
  "optional": true,
@@ -1030,7 +1048,7 @@
1030
1048
  "immutable": true,
1031
1049
  "locationInModule": {
1032
1050
  "filename": "lib/cloud-assembly/artifact-schema.ts",
1033
- "line": 93
1051
+ "line": 133
1034
1052
  },
1035
1053
  "name": "validateOnSynth",
1036
1054
  "optional": true,
@@ -1117,6 +1135,98 @@
1117
1135
  ],
1118
1136
  "symbolId": "lib/assets/aws-destination:AwsDestination"
1119
1137
  },
1138
+ "@aws-cdk/cloud-assembly-schema.BootstrapRole": {
1139
+ "assembly": "@aws-cdk/cloud-assembly-schema",
1140
+ "datatype": true,
1141
+ "docs": {
1142
+ "stability": "stable",
1143
+ "summary": "Information needed to access an IAM role created as part of the bootstrap process.",
1144
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst bootstrapRole: cloud_assembly_schema.BootstrapRole = {\n arn: 'arn',\n\n // the properties below are optional\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n requiresBootstrapStackVersion: 123,\n};",
1145
+ "custom": {
1146
+ "exampleMetadata": "fixture=_generated"
1147
+ }
1148
+ },
1149
+ "fqn": "@aws-cdk/cloud-assembly-schema.BootstrapRole",
1150
+ "kind": "interface",
1151
+ "locationInModule": {
1152
+ "filename": "lib/cloud-assembly/artifact-schema.ts",
1153
+ "line": 6
1154
+ },
1155
+ "name": "BootstrapRole",
1156
+ "properties": [
1157
+ {
1158
+ "abstract": true,
1159
+ "docs": {
1160
+ "stability": "stable",
1161
+ "summary": "The ARN of the IAM role created as part of bootrapping e.g. lookupRoleArn."
1162
+ },
1163
+ "immutable": true,
1164
+ "locationInModule": {
1165
+ "filename": "lib/cloud-assembly/artifact-schema.ts",
1166
+ "line": 11
1167
+ },
1168
+ "name": "arn",
1169
+ "type": {
1170
+ "primitive": "string"
1171
+ }
1172
+ },
1173
+ {
1174
+ "abstract": true,
1175
+ "docs": {
1176
+ "default": "- No external ID",
1177
+ "stability": "stable",
1178
+ "summary": "External ID to use when assuming the bootstrap role."
1179
+ },
1180
+ "immutable": true,
1181
+ "locationInModule": {
1182
+ "filename": "lib/cloud-assembly/artifact-schema.ts",
1183
+ "line": 18
1184
+ },
1185
+ "name": "assumeRoleExternalId",
1186
+ "optional": true,
1187
+ "type": {
1188
+ "primitive": "string"
1189
+ }
1190
+ },
1191
+ {
1192
+ "abstract": true,
1193
+ "docs": {
1194
+ "default": "- Discover SSM parameter by reading stack",
1195
+ "stability": "stable",
1196
+ "summary": "Name of SSM parameter with bootstrap stack version."
1197
+ },
1198
+ "immutable": true,
1199
+ "locationInModule": {
1200
+ "filename": "lib/cloud-assembly/artifact-schema.ts",
1201
+ "line": 32
1202
+ },
1203
+ "name": "bootstrapStackVersionSsmParameter",
1204
+ "optional": true,
1205
+ "type": {
1206
+ "primitive": "string"
1207
+ }
1208
+ },
1209
+ {
1210
+ "abstract": true,
1211
+ "docs": {
1212
+ "default": "- No bootstrap stack required",
1213
+ "stability": "stable",
1214
+ "summary": "Version of bootstrap stack required to use this role."
1215
+ },
1216
+ "immutable": true,
1217
+ "locationInModule": {
1218
+ "filename": "lib/cloud-assembly/artifact-schema.ts",
1219
+ "line": 25
1220
+ },
1221
+ "name": "requiresBootstrapStackVersion",
1222
+ "optional": true,
1223
+ "type": {
1224
+ "primitive": "number"
1225
+ }
1226
+ }
1227
+ ],
1228
+ "symbolId": "lib/cloud-assembly/artifact-schema:BootstrapRole"
1229
+ },
1120
1230
  "@aws-cdk/cloud-assembly-schema.ContainerImageAssetMetadataEntry": {
1121
1231
  "assembly": "@aws-cdk/cloud-assembly-schema",
1122
1232
  "datatype": true,
@@ -3110,7 +3220,7 @@
3110
3220
  "kind": "interface",
3111
3221
  "locationInModule": {
3112
3222
  "filename": "lib/cloud-assembly/artifact-schema.ts",
3113
- "line": 139
3223
+ "line": 179
3114
3224
  },
3115
3225
  "name": "NestedCloudAssemblyProperties",
3116
3226
  "properties": [
@@ -3123,7 +3233,7 @@
3123
3233
  "immutable": true,
3124
3234
  "locationInModule": {
3125
3235
  "filename": "lib/cloud-assembly/artifact-schema.ts",
3126
- "line": 143
3236
+ "line": 183
3127
3237
  },
3128
3238
  "name": "directoryName",
3129
3239
  "type": {
@@ -3140,7 +3250,7 @@
3140
3250
  "immutable": true,
3141
3251
  "locationInModule": {
3142
3252
  "filename": "lib/cloud-assembly/artifact-schema.ts",
3143
- "line": 150
3253
+ "line": 190
3144
3254
  },
3145
3255
  "name": "displayName",
3146
3256
  "optional": true,
@@ -3479,7 +3589,7 @@
3479
3589
  "kind": "interface",
3480
3590
  "locationInModule": {
3481
3591
  "filename": "lib/cloud-assembly/artifact-schema.ts",
3482
- "line": 129
3592
+ "line": 169
3483
3593
  },
3484
3594
  "name": "TreeArtifactProperties",
3485
3595
  "properties": [
@@ -3492,7 +3602,7 @@
3492
3602
  "immutable": true,
3493
3603
  "locationInModule": {
3494
3604
  "filename": "lib/cloud-assembly/artifact-schema.ts",
3495
- "line": 133
3605
+ "line": 173
3496
3606
  },
3497
3607
  "name": "file",
3498
3608
  "type": {
@@ -3635,6 +3745,6 @@
3635
3745
  "symbolId": "lib/cloud-assembly/context-queries:VpcContextQuery"
3636
3746
  }
3637
3747
  },
3638
- "version": "2.5.0",
3748
+ "version": "2.9.0",
3639
3749
  "fingerprint": "**********"
3640
3750
  }