@aws-cdk/aws-imagebuilder-alpha 2.231.0-alpha.0 → 2.232.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 +35 -6
- package/.jsii.tabl.json.gz +0 -0
- package/eslint-suppressions.json +2 -0
- package/lib/amazon-managed-image.js +1 -1
- package/lib/base-image.js +3 -3
- package/lib/component.js +8 -8
- package/lib/container-recipe.d.ts +0 -13
- package/lib/container-recipe.js +4 -4
- package/lib/distribution-configuration.js +2 -2
- package/lib/image-pipeline.js +1 -1
- package/lib/image-recipe.d.ts +0 -13
- package/lib/image-recipe.js +1 -1
- package/lib/image.js +1 -1
- package/lib/infrastructure-configuration.d.ts +0 -15
- package/lib/infrastructure-configuration.js +1 -1
- package/lib/lifecycle-policy.js +1 -1
- package/lib/os-version.js +1 -1
- package/lib/recipe-base.d.ts +0 -14
- package/lib/recipe-base.js +1 -1
- package/lib/workflow.js +5 -5
- package/package.json +6 -6
package/.jsii
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"yaml": "1.10.2"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"aws-cdk-lib": "^2.
|
|
14
|
+
"aws-cdk-lib": "^2.232.0",
|
|
15
15
|
"constructs": "^10.0.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencyClosure": {
|
|
@@ -1205,6 +1205,19 @@
|
|
|
1205
1205
|
}
|
|
1206
1206
|
}
|
|
1207
1207
|
},
|
|
1208
|
+
"aws-cdk-lib.aws_devopsagent": {
|
|
1209
|
+
"targets": {
|
|
1210
|
+
"dotnet": {
|
|
1211
|
+
"namespace": "Amazon.CDK.AWS.DevOpsAgent"
|
|
1212
|
+
},
|
|
1213
|
+
"java": {
|
|
1214
|
+
"package": "software.amazon.awscdk.services.devopsagent"
|
|
1215
|
+
},
|
|
1216
|
+
"python": {
|
|
1217
|
+
"module": "aws_cdk.aws_devopsagent"
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
},
|
|
1208
1221
|
"aws-cdk-lib.aws_devopsguru": {
|
|
1209
1222
|
"targets": {
|
|
1210
1223
|
"dotnet": {
|
|
@@ -5220,6 +5233,22 @@
|
|
|
5220
5233
|
}
|
|
5221
5234
|
}
|
|
5222
5235
|
},
|
|
5236
|
+
"aws-cdk-lib.interfaces.aws_devopsagent": {
|
|
5237
|
+
"targets": {
|
|
5238
|
+
"dotnet": {
|
|
5239
|
+
"namespace": "Amazon.CDK.Interfaces.DevOpsAgent"
|
|
5240
|
+
},
|
|
5241
|
+
"go": {
|
|
5242
|
+
"packageName": "interfacesawsdevopsagent"
|
|
5243
|
+
},
|
|
5244
|
+
"java": {
|
|
5245
|
+
"package": "software.amazon.awscdk.interfaces.devopsagent"
|
|
5246
|
+
},
|
|
5247
|
+
"python": {
|
|
5248
|
+
"module": "aws_cdk.interfaces.aws_devopsagent"
|
|
5249
|
+
}
|
|
5250
|
+
}
|
|
5251
|
+
},
|
|
5223
5252
|
"aws-cdk-lib.interfaces.aws_devopsguru": {
|
|
5224
5253
|
"targets": {
|
|
5225
5254
|
"dotnet": {
|
|
@@ -8415,7 +8444,7 @@
|
|
|
8415
8444
|
"stability": "experimental"
|
|
8416
8445
|
},
|
|
8417
8446
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
8418
|
-
"jsiiVersion": "5.9.
|
|
8447
|
+
"jsiiVersion": "5.9.14 (build 9fc28bd)",
|
|
8419
8448
|
"keywords": [
|
|
8420
8449
|
"aws",
|
|
8421
8450
|
"cdk",
|
|
@@ -22451,7 +22480,7 @@
|
|
|
22451
22480
|
"docs": {
|
|
22452
22481
|
"stability": "experimental",
|
|
22453
22482
|
"summary": "Helper class for S3-based component data references, containing additional permission grant methods on the S3 object.",
|
|
22454
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_iam as iam } from 'aws-cdk-lib';\nimport { aws_kms as
|
|
22483
|
+
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_iam as iam } from 'aws-cdk-lib';\nimport { aws_kms as interfaces_kms } from 'aws-cdk-lib/interfaces';\n\ndeclare const dockerImage: cdk.DockerImage;\ndeclare const grantable: iam.IGrantable;\ndeclare const keyRef: interfaces_kms.IKeyRef;\ndeclare const localBundling: cdk.ILocalBundling;\nconst s3ComponentData = imagebuilder_alpha.S3ComponentData.fromAsset(this, 'MyS3ComponentData', 'path', /* all optional props */ {\n assetHash: 'assetHash',\n assetHashType: cdk.AssetHashType.SOURCE,\n bundling: {\n image: dockerImage,\n\n // the properties below are optional\n bundlingFileAccess: cdk.BundlingFileAccess.VOLUME_COPY,\n command: ['command'],\n entrypoint: ['entrypoint'],\n environment: {\n environmentKey: 'environment',\n },\n local: localBundling,\n network: 'network',\n outputType: cdk.BundlingOutput.ARCHIVED,\n platform: 'platform',\n securityOpt: 'securityOpt',\n user: 'user',\n volumes: [{\n containerPath: 'containerPath',\n hostPath: 'hostPath',\n\n // the properties below are optional\n consistency: cdk.DockerVolumeConsistency.CONSISTENT,\n }],\n volumesFrom: ['volumesFrom'],\n workingDirectory: 'workingDirectory',\n },\n deployTime: false,\n displayName: 'displayName',\n exclude: ['exclude'],\n followSymlinks: cdk.SymlinkFollowMode.NEVER,\n ignoreMode: cdk.IgnoreMode.GLOB,\n readers: [grantable],\n sourceKMSKey: keyRef,\n});",
|
|
22455
22484
|
"custom": {
|
|
22456
22485
|
"exampleMetadata": "fixture=_generated"
|
|
22457
22486
|
}
|
|
@@ -22600,7 +22629,7 @@
|
|
|
22600
22629
|
"docs": {
|
|
22601
22630
|
"stability": "experimental",
|
|
22602
22631
|
"summary": "Helper class for S3-based dockerfile data references, containing additional permission grant methods on the S3 object.",
|
|
22603
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_iam as iam } from 'aws-cdk-lib';\nimport { aws_kms as
|
|
22632
|
+
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_iam as iam } from 'aws-cdk-lib';\nimport { aws_kms as interfaces_kms } from 'aws-cdk-lib/interfaces';\n\ndeclare const dockerImage: cdk.DockerImage;\ndeclare const grantable: iam.IGrantable;\ndeclare const keyRef: interfaces_kms.IKeyRef;\ndeclare const localBundling: cdk.ILocalBundling;\nconst s3DockerfileData = imagebuilder_alpha.S3DockerfileData.fromAsset(this, 'MyS3DockerfileData', 'path', /* all optional props */ {\n assetHash: 'assetHash',\n assetHashType: cdk.AssetHashType.SOURCE,\n bundling: {\n image: dockerImage,\n\n // the properties below are optional\n bundlingFileAccess: cdk.BundlingFileAccess.VOLUME_COPY,\n command: ['command'],\n entrypoint: ['entrypoint'],\n environment: {\n environmentKey: 'environment',\n },\n local: localBundling,\n network: 'network',\n outputType: cdk.BundlingOutput.ARCHIVED,\n platform: 'platform',\n securityOpt: 'securityOpt',\n user: 'user',\n volumes: [{\n containerPath: 'containerPath',\n hostPath: 'hostPath',\n\n // the properties below are optional\n consistency: cdk.DockerVolumeConsistency.CONSISTENT,\n }],\n volumesFrom: ['volumesFrom'],\n workingDirectory: 'workingDirectory',\n },\n deployTime: false,\n displayName: 'displayName',\n exclude: ['exclude'],\n followSymlinks: cdk.SymlinkFollowMode.NEVER,\n ignoreMode: cdk.IgnoreMode.GLOB,\n readers: [grantable],\n sourceKMSKey: keyRef,\n});",
|
|
22604
22633
|
"custom": {
|
|
22605
22634
|
"exampleMetadata": "fixture=_generated"
|
|
22606
22635
|
}
|
|
@@ -22750,7 +22779,7 @@
|
|
|
22750
22779
|
"docs": {
|
|
22751
22780
|
"stability": "experimental",
|
|
22752
22781
|
"summary": "Helper class for S3-based workflow data references, containing additional permission grant methods on the S3 object.",
|
|
22753
|
-
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_iam as iam } from 'aws-cdk-lib';\nimport { aws_kms as
|
|
22782
|
+
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_iam as iam } from 'aws-cdk-lib';\nimport { aws_kms as interfaces_kms } from 'aws-cdk-lib/interfaces';\n\ndeclare const dockerImage: cdk.DockerImage;\ndeclare const grantable: iam.IGrantable;\ndeclare const keyRef: interfaces_kms.IKeyRef;\ndeclare const localBundling: cdk.ILocalBundling;\nconst s3WorkflowData = imagebuilder_alpha.S3WorkflowData.fromAsset(this, 'MyS3WorkflowData', 'path', /* all optional props */ {\n assetHash: 'assetHash',\n assetHashType: cdk.AssetHashType.SOURCE,\n bundling: {\n image: dockerImage,\n\n // the properties below are optional\n bundlingFileAccess: cdk.BundlingFileAccess.VOLUME_COPY,\n command: ['command'],\n entrypoint: ['entrypoint'],\n environment: {\n environmentKey: 'environment',\n },\n local: localBundling,\n network: 'network',\n outputType: cdk.BundlingOutput.ARCHIVED,\n platform: 'platform',\n securityOpt: 'securityOpt',\n user: 'user',\n volumes: [{\n containerPath: 'containerPath',\n hostPath: 'hostPath',\n\n // the properties below are optional\n consistency: cdk.DockerVolumeConsistency.CONSISTENT,\n }],\n volumesFrom: ['volumesFrom'],\n workingDirectory: 'workingDirectory',\n },\n deployTime: false,\n displayName: 'displayName',\n exclude: ['exclude'],\n followSymlinks: cdk.SymlinkFollowMode.NEVER,\n ignoreMode: cdk.IgnoreMode.GLOB,\n readers: [grantable],\n sourceKMSKey: keyRef,\n});",
|
|
22754
22783
|
"custom": {
|
|
22755
22784
|
"exampleMetadata": "fixture=_generated"
|
|
22756
22785
|
}
|
|
@@ -24443,6 +24472,6 @@
|
|
|
24443
24472
|
"symbolId": "lib/workflow:WorkflowType"
|
|
24444
24473
|
}
|
|
24445
24474
|
},
|
|
24446
|
-
"version": "2.
|
|
24475
|
+
"version": "2.232.0-alpha.0",
|
|
24447
24476
|
"fingerprint": "**********"
|
|
24448
24477
|
}
|
package/.jsii.tabl.json.gz
CHANGED
|
Binary file
|
|
@@ -10,7 +10,7 @@ const constants_1 = require("./private/constants");
|
|
|
10
10
|
* Helper class for working with Amazon-managed images
|
|
11
11
|
*/
|
|
12
12
|
class AmazonManagedImage {
|
|
13
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.AmazonManagedImage", version: "2.
|
|
13
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.AmazonManagedImage", version: "2.232.0-alpha.0" };
|
|
14
14
|
/**
|
|
15
15
|
* Imports the Amazon Linux 2 Amazon-managed image
|
|
16
16
|
*
|
package/lib/base-image.js
CHANGED
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
* Represents a base image that is used to start from in EC2 Image Builder image builds
|
|
8
8
|
*/
|
|
9
9
|
class BaseImage {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.BaseImage", version: "2.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.BaseImage", version: "2.232.0-alpha.0" };
|
|
11
11
|
/**
|
|
12
12
|
* The AMI ID to use as a base image in an image recipe
|
|
13
13
|
*
|
|
@@ -79,7 +79,7 @@ exports.BaseImage = BaseImage;
|
|
|
79
79
|
* Represents a base image that is used to start from in EC2 Image Builder image builds
|
|
80
80
|
*/
|
|
81
81
|
class BaseContainerImage {
|
|
82
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.BaseContainerImage", version: "2.
|
|
82
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.BaseContainerImage", version: "2.232.0-alpha.0" };
|
|
83
83
|
/**
|
|
84
84
|
* The DockerHub image to use as the base image in a container recipe
|
|
85
85
|
*
|
|
@@ -148,7 +148,7 @@ exports.BaseContainerImage = BaseContainerImage;
|
|
|
148
148
|
* EC2 Image Builder container build.
|
|
149
149
|
*/
|
|
150
150
|
class ContainerInstanceImage {
|
|
151
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ContainerInstanceImage", version: "2.
|
|
151
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ContainerInstanceImage", version: "2.232.0-alpha.0" };
|
|
152
152
|
/**
|
|
153
153
|
* The AMI ID to use to launch the instance for building the container image
|
|
154
154
|
*
|
package/lib/component.js
CHANGED
|
@@ -51,7 +51,7 @@ const LATEST_VERSION = 'x.x.x';
|
|
|
51
51
|
* The value of a constant in a component document
|
|
52
52
|
*/
|
|
53
53
|
class ComponentConstantValue {
|
|
54
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentConstantValue", version: "2.
|
|
54
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentConstantValue", version: "2.232.0-alpha.0" };
|
|
55
55
|
/**
|
|
56
56
|
* Creates a string type constant in a component document
|
|
57
57
|
*
|
|
@@ -268,7 +268,7 @@ var ComponentSchemaVersion;
|
|
|
268
268
|
* Represents the inputs for a step in the component document
|
|
269
269
|
*/
|
|
270
270
|
class ComponentStepInputs {
|
|
271
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentStepInputs", version: "2.
|
|
271
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentStepInputs", version: "2.232.0-alpha.0" };
|
|
272
272
|
/**
|
|
273
273
|
* Creates the input value from an object, for the component step
|
|
274
274
|
*
|
|
@@ -298,7 +298,7 @@ exports.ComponentStepInputs = ComponentStepInputs;
|
|
|
298
298
|
* Represents an `if` condition in the component document
|
|
299
299
|
*/
|
|
300
300
|
class ComponentStepIfCondition {
|
|
301
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentStepIfCondition", version: "2.
|
|
301
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentStepIfCondition", version: "2.232.0-alpha.0" };
|
|
302
302
|
/**
|
|
303
303
|
* Creates the `if` value from an object, for the component step
|
|
304
304
|
*
|
|
@@ -320,7 +320,7 @@ exports.ComponentStepIfCondition = ComponentStepIfCondition;
|
|
|
320
320
|
* Helper class for referencing and uploading component data
|
|
321
321
|
*/
|
|
322
322
|
class ComponentData {
|
|
323
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentData", version: "2.
|
|
323
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentData", version: "2.232.0-alpha.0" };
|
|
324
324
|
/**
|
|
325
325
|
* Uploads component data from a local file to S3 to use as the component data
|
|
326
326
|
*
|
|
@@ -414,7 +414,7 @@ exports.ComponentData = ComponentData;
|
|
|
414
414
|
* Helper class for S3-based component data references, containing additional permission grant methods on the S3 object
|
|
415
415
|
*/
|
|
416
416
|
class S3ComponentData extends ComponentData {
|
|
417
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.S3ComponentData", version: "2.
|
|
417
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.S3ComponentData", version: "2.232.0-alpha.0" };
|
|
418
418
|
isS3Reference = true;
|
|
419
419
|
bucket;
|
|
420
420
|
key;
|
|
@@ -461,7 +461,7 @@ class S3ComponentDataFromAsset extends S3ComponentData {
|
|
|
461
461
|
* Helper class for working with AWS-managed components
|
|
462
462
|
*/
|
|
463
463
|
class AwsManagedComponent {
|
|
464
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.AwsManagedComponent", version: "2.
|
|
464
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.AwsManagedComponent", version: "2.232.0-alpha.0" };
|
|
465
465
|
/**
|
|
466
466
|
* Imports the AWS CLI v2 AWS-managed component
|
|
467
467
|
*
|
|
@@ -728,7 +728,7 @@ exports.AwsManagedComponent = AwsManagedComponent;
|
|
|
728
728
|
* Helper class for working with AWS Marketplace components
|
|
729
729
|
*/
|
|
730
730
|
class AwsMarketplaceComponent {
|
|
731
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.AwsMarketplaceComponent", version: "2.
|
|
731
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.AwsMarketplaceComponent", version: "2.232.0-alpha.0" };
|
|
732
732
|
/**
|
|
733
733
|
* Imports an AWS Marketplace component from its attributes
|
|
734
734
|
*
|
|
@@ -801,7 +801,7 @@ let Component = (() => {
|
|
|
801
801
|
Component = _classThis = _classDescriptor.value;
|
|
802
802
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
803
803
|
}
|
|
804
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.Component", version: "2.
|
|
804
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.Component", version: "2.232.0-alpha.0" };
|
|
805
805
|
/** Uniquely identifies this class. */
|
|
806
806
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-imagebuilder-alpha.Component';
|
|
807
807
|
/**
|
|
@@ -7,7 +7,6 @@ import * as s3assets from 'aws-cdk-lib/aws-s3-assets';
|
|
|
7
7
|
import { Construct } from 'constructs';
|
|
8
8
|
import { BaseContainerImage, ContainerInstanceImage } from './base-image';
|
|
9
9
|
import { Repository } from './distribution-configuration';
|
|
10
|
-
import { IImageRecipe } from './image-recipe';
|
|
11
10
|
import { OSVersion } from './os-version';
|
|
12
11
|
import { ComponentConfiguration, IRecipeBase } from './recipe-base';
|
|
13
12
|
/**
|
|
@@ -255,18 +254,6 @@ export declare abstract class ContainerRecipeBase extends cdk.Resource implement
|
|
|
255
254
|
* @param grantee The principal
|
|
256
255
|
*/
|
|
257
256
|
grantRead(grantee: iam.IGrantable): iam.Grant;
|
|
258
|
-
/**
|
|
259
|
-
* Indicates whether the recipe is a Container Recipe
|
|
260
|
-
*
|
|
261
|
-
* @internal
|
|
262
|
-
*/
|
|
263
|
-
_isContainerRecipe(): this is IContainerRecipe;
|
|
264
|
-
/**
|
|
265
|
-
* Indicates whether the recipe is an Image Recipe
|
|
266
|
-
*
|
|
267
|
-
* @internal
|
|
268
|
-
*/
|
|
269
|
-
_isImageRecipe(): this is IImageRecipe;
|
|
270
257
|
}
|
|
271
258
|
/**
|
|
272
259
|
* Represents an EC2 Image Builder Container Recipe.
|
package/lib/container-recipe.js
CHANGED
|
@@ -72,7 +72,7 @@ var ContainerType;
|
|
|
72
72
|
* Helper class for referencing and uploading dockerfile data for the container recipe
|
|
73
73
|
*/
|
|
74
74
|
class DockerfileData {
|
|
75
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.DockerfileData", version: "2.
|
|
75
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.DockerfileData", version: "2.232.0-alpha.0" };
|
|
76
76
|
/**
|
|
77
77
|
* Uploads dockerfile data from a local file to S3 to use as the dockerfile data
|
|
78
78
|
*
|
|
@@ -108,7 +108,7 @@ exports.DockerfileData = DockerfileData;
|
|
|
108
108
|
* Helper class for S3-based dockerfile data references, containing additional permission grant methods on the S3 object
|
|
109
109
|
*/
|
|
110
110
|
class S3DockerfileData extends DockerfileData {
|
|
111
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.S3DockerfileData", version: "2.
|
|
111
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.S3DockerfileData", version: "2.232.0-alpha.0" };
|
|
112
112
|
bucket;
|
|
113
113
|
key;
|
|
114
114
|
constructor(bucket, key) {
|
|
@@ -167,7 +167,7 @@ class S3DockerfileDataFromAsset extends S3DockerfileData {
|
|
|
167
167
|
* A new or imported Container Recipe
|
|
168
168
|
*/
|
|
169
169
|
class ContainerRecipeBase extends cdk.Resource {
|
|
170
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ContainerRecipeBase", version: "2.
|
|
170
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ContainerRecipeBase", version: "2.232.0-alpha.0" };
|
|
171
171
|
/**
|
|
172
172
|
* Grant custom actions to the given grantee for the container recipe
|
|
173
173
|
*
|
|
@@ -231,7 +231,7 @@ let ContainerRecipe = (() => {
|
|
|
231
231
|
ContainerRecipe = _classThis = _classDescriptor.value;
|
|
232
232
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
233
233
|
}
|
|
234
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ContainerRecipe", version: "2.
|
|
234
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ContainerRecipe", version: "2.232.0-alpha.0" };
|
|
235
235
|
/** Uniquely identifies this class. */
|
|
236
236
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-imagebuilder-alpha.ContainerRecipe';
|
|
237
237
|
/**
|
|
@@ -86,7 +86,7 @@ var RepositoryService;
|
|
|
86
86
|
* A container repository used to distribute container images in EC2 Image Builder
|
|
87
87
|
*/
|
|
88
88
|
class Repository {
|
|
89
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.Repository", version: "2.
|
|
89
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.Repository", version: "2.232.0-alpha.0" };
|
|
90
90
|
/**
|
|
91
91
|
* The ECR repository to use as the target container repository
|
|
92
92
|
*
|
|
@@ -127,7 +127,7 @@ let DistributionConfiguration = (() => {
|
|
|
127
127
|
DistributionConfiguration = _classThis = _classDescriptor.value;
|
|
128
128
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
129
129
|
}
|
|
130
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.DistributionConfiguration", version: "2.
|
|
130
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.DistributionConfiguration", version: "2.232.0-alpha.0" };
|
|
131
131
|
/** Uniquely identifies this class. */
|
|
132
132
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-imagebuilder-alpha.DistributionConfiguration';
|
|
133
133
|
/**
|
package/lib/image-pipeline.js
CHANGED
|
@@ -282,7 +282,7 @@ let ImagePipeline = (() => {
|
|
|
282
282
|
ImagePipeline = _classThis = _classDescriptor.value;
|
|
283
283
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
284
284
|
}
|
|
285
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ImagePipeline", version: "2.
|
|
285
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ImagePipeline", version: "2.232.0-alpha.0" };
|
|
286
286
|
/** Uniquely identifies this class. */
|
|
287
287
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-imagebuilder-alpha.ImagePipeline';
|
|
288
288
|
/**
|
package/lib/image-recipe.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import * as ec2 from 'aws-cdk-lib/aws-ec2';
|
|
|
3
3
|
import * as iam from 'aws-cdk-lib/aws-iam';
|
|
4
4
|
import { Construct } from 'constructs';
|
|
5
5
|
import { BaseImage } from './base-image';
|
|
6
|
-
import { IContainerRecipe } from './container-recipe';
|
|
7
6
|
import { ComponentConfiguration, IRecipeBase } from './recipe-base';
|
|
8
7
|
/**
|
|
9
8
|
* An EC2 Image Builder Image Recipe.
|
|
@@ -157,18 +156,6 @@ declare abstract class ImageRecipeBase extends cdk.Resource implements IImageRec
|
|
|
157
156
|
* @param grantee The principal
|
|
158
157
|
*/
|
|
159
158
|
grantRead(grantee: iam.IGrantable): iam.Grant;
|
|
160
|
-
/**
|
|
161
|
-
* Indicates whether the recipe is a Container Recipe
|
|
162
|
-
*
|
|
163
|
-
* @internal
|
|
164
|
-
*/
|
|
165
|
-
_isContainerRecipe(): this is IContainerRecipe;
|
|
166
|
-
/**
|
|
167
|
-
* Indicates whether the recipe is an Image Recipe
|
|
168
|
-
*
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
|
-
_isImageRecipe(): this is IImageRecipe;
|
|
172
159
|
}
|
|
173
160
|
/**
|
|
174
161
|
* Represents an EC2 Image Builder Image Recipe.
|
package/lib/image-recipe.js
CHANGED
|
@@ -123,7 +123,7 @@ let ImageRecipe = (() => {
|
|
|
123
123
|
ImageRecipe = _classThis = _classDescriptor.value;
|
|
124
124
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
125
125
|
}
|
|
126
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ImageRecipe", version: "2.
|
|
126
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ImageRecipe", version: "2.232.0-alpha.0" };
|
|
127
127
|
/** Uniquely identifies this class. */
|
|
128
128
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-imagebuilder-alpha.ImageRecipe';
|
|
129
129
|
/**
|
package/lib/image.js
CHANGED
|
@@ -152,7 +152,7 @@ let Image = (() => {
|
|
|
152
152
|
Image = _classThis = _classDescriptor.value;
|
|
153
153
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
154
154
|
}
|
|
155
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.Image", version: "2.
|
|
155
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.Image", version: "2.232.0-alpha.0" };
|
|
156
156
|
/** Uniquely identifies this class. */
|
|
157
157
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-imagebuilder-alpha.Image';
|
|
158
158
|
/**
|
|
@@ -234,17 +234,6 @@ export interface InfrastructureConfigurationProps {
|
|
|
234
234
|
[key: string]: string;
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
|
-
/**
|
|
238
|
-
* Context information passed when an Infrastructure Configuration is being consumed
|
|
239
|
-
*
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
242
|
-
export interface InfrastructureConfigurationBindOptions {
|
|
243
|
-
/**
|
|
244
|
-
* Indicates whether the infrastructure configuration is being consumed inside of a container build
|
|
245
|
-
*/
|
|
246
|
-
readonly isContainerBuild?: boolean;
|
|
247
|
-
}
|
|
248
237
|
/**
|
|
249
238
|
* A new or imported Infrastructure Configuration
|
|
250
239
|
*/
|
|
@@ -315,9 +304,5 @@ export declare class InfrastructureConfiguration extends InfrastructureConfigura
|
|
|
315
304
|
private readonly autoGeneratedInstanceProfileRole?;
|
|
316
305
|
constructor(scope: Construct, id: string, props?: InfrastructureConfigurationProps);
|
|
317
306
|
private validateInfrastructureConfigurationName;
|
|
318
|
-
/**
|
|
319
|
-
* @internal
|
|
320
|
-
*/
|
|
321
|
-
_bind(options: InfrastructureConfigurationBindOptions): void;
|
|
322
307
|
}
|
|
323
308
|
export {};
|
|
@@ -125,7 +125,7 @@ let InfrastructureConfiguration = (() => {
|
|
|
125
125
|
InfrastructureConfiguration = _classThis = _classDescriptor.value;
|
|
126
126
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
127
127
|
}
|
|
128
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.InfrastructureConfiguration", version: "2.
|
|
128
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.InfrastructureConfiguration", version: "2.232.0-alpha.0" };
|
|
129
129
|
/** Uniquely identifies this class. */
|
|
130
130
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-imagebuilder-alpha.InfrastructureConfiguration';
|
|
131
131
|
/**
|
package/lib/lifecycle-policy.js
CHANGED
|
@@ -121,7 +121,7 @@ let LifecyclePolicy = (() => {
|
|
|
121
121
|
LifecyclePolicy = _classThis = _classDescriptor.value;
|
|
122
122
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
123
123
|
}
|
|
124
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.LifecyclePolicy", version: "2.
|
|
124
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.LifecyclePolicy", version: "2.232.0-alpha.0" };
|
|
125
125
|
/** Uniquely identifies this class. */
|
|
126
126
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-imagebuilder-alpha.LifecyclePolicy';
|
|
127
127
|
/**
|
package/lib/os-version.js
CHANGED
|
@@ -25,7 +25,7 @@ var Platform;
|
|
|
25
25
|
* Represents an OS version for an EC2 Image Builder image
|
|
26
26
|
*/
|
|
27
27
|
class OSVersion {
|
|
28
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.OSVersion", version: "2.
|
|
28
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.OSVersion", version: "2.232.0-alpha.0" };
|
|
29
29
|
/**
|
|
30
30
|
* OS version for all Linux images
|
|
31
31
|
*/
|
package/lib/recipe-base.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as cdk from 'aws-cdk-lib';
|
|
2
2
|
import * as iam from 'aws-cdk-lib/aws-iam';
|
|
3
3
|
import { IComponent } from './component';
|
|
4
|
-
import { IContainerRecipe } from './container-recipe';
|
|
5
|
-
import { IImageRecipe } from './image-recipe';
|
|
6
4
|
/**
|
|
7
5
|
* The parameter value for a component parameter
|
|
8
6
|
*/
|
|
@@ -54,16 +52,4 @@ export interface IRecipeBase extends cdk.IResource {
|
|
|
54
52
|
* @param grantee The principal
|
|
55
53
|
*/
|
|
56
54
|
grantRead(grantee: iam.IGrantable): iam.Grant;
|
|
57
|
-
/**
|
|
58
|
-
* Indicates whether the recipe is a Container Recipe
|
|
59
|
-
*
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
_isContainerRecipe(): this is IContainerRecipe;
|
|
63
|
-
/**
|
|
64
|
-
* Indicates whether the recipe is an Image Recipe
|
|
65
|
-
*
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
_isImageRecipe(): this is IImageRecipe;
|
|
69
55
|
}
|
package/lib/recipe-base.js
CHANGED
|
@@ -6,7 +6,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
6
6
|
* The parameter value for a component parameter
|
|
7
7
|
*/
|
|
8
8
|
class ComponentParameterValue {
|
|
9
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentParameterValue", version: "2.
|
|
9
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentParameterValue", version: "2.232.0-alpha.0" };
|
|
10
10
|
/**
|
|
11
11
|
* The value of the parameter as a string
|
|
12
12
|
*
|
package/lib/workflow.js
CHANGED
|
@@ -201,7 +201,7 @@ var WorkflowType;
|
|
|
201
201
|
* Helper class for referencing and uploading workflow data
|
|
202
202
|
*/
|
|
203
203
|
class WorkflowData {
|
|
204
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.WorkflowData", version: "2.
|
|
204
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.WorkflowData", version: "2.232.0-alpha.0" };
|
|
205
205
|
/**
|
|
206
206
|
* Uploads workflow data from a local file to S3 to use as the workflow data
|
|
207
207
|
*
|
|
@@ -246,7 +246,7 @@ exports.WorkflowData = WorkflowData;
|
|
|
246
246
|
* Helper class for S3-based workflow data references, containing additional permission grant methods on the S3 object
|
|
247
247
|
*/
|
|
248
248
|
class S3WorkflowData extends WorkflowData {
|
|
249
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.S3WorkflowData", version: "2.
|
|
249
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.S3WorkflowData", version: "2.232.0-alpha.0" };
|
|
250
250
|
bucket;
|
|
251
251
|
key;
|
|
252
252
|
constructor(bucket, key) {
|
|
@@ -305,7 +305,7 @@ class S3WorkflowDataFromAsset extends S3WorkflowData {
|
|
|
305
305
|
* The parameter value for a workflow parameter
|
|
306
306
|
*/
|
|
307
307
|
class WorkflowParameterValue {
|
|
308
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.WorkflowParameterValue", version: "2.
|
|
308
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.WorkflowParameterValue", version: "2.232.0-alpha.0" };
|
|
309
309
|
/**
|
|
310
310
|
* The value of the parameter as a boolean
|
|
311
311
|
*
|
|
@@ -350,7 +350,7 @@ exports.WorkflowParameterValue = WorkflowParameterValue;
|
|
|
350
350
|
* Helper class for working with AWS-managed workflows
|
|
351
351
|
*/
|
|
352
352
|
class AwsManagedWorkflow {
|
|
353
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.AwsManagedWorkflow", version: "2.
|
|
353
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.AwsManagedWorkflow", version: "2.232.0-alpha.0" };
|
|
354
354
|
/**
|
|
355
355
|
* Imports the build-container AWS-managed workflow
|
|
356
356
|
*
|
|
@@ -486,7 +486,7 @@ let Workflow = (() => {
|
|
|
486
486
|
Workflow = _classThis = _classDescriptor.value;
|
|
487
487
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
488
488
|
}
|
|
489
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.Workflow", version: "2.
|
|
489
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.Workflow", version: "2.232.0-alpha.0" };
|
|
490
490
|
/** Uniquely identifies this class. */
|
|
491
491
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-imagebuilder-alpha.Workflow';
|
|
492
492
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/aws-imagebuilder-alpha",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.232.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The CDK Construct Library for EC2 Image Builder",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
},
|
|
78
78
|
"license": "Apache-2.0",
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"aws-cdk-lib": "2.
|
|
81
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
80
|
+
"aws-cdk-lib": "2.232.0",
|
|
81
|
+
"@aws-cdk/cdk-build-tools": "2.232.0-alpha.0",
|
|
82
82
|
"@aws-cdk/integ-runner": "^2.192.2",
|
|
83
|
-
"@aws-cdk/pkglint": "2.
|
|
84
|
-
"@aws-cdk/integ-tests-alpha": "2.
|
|
83
|
+
"@aws-cdk/pkglint": "2.232.0-alpha.0",
|
|
84
|
+
"@aws-cdk/integ-tests-alpha": "2.232.0-alpha.0",
|
|
85
85
|
"@types/jest": "^29.5.14",
|
|
86
86
|
"constructs": "^10.0.0",
|
|
87
87
|
"jest": "^29.7.0"
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
],
|
|
95
95
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
96
96
|
"peerDependencies": {
|
|
97
|
-
"aws-cdk-lib": "^2.
|
|
97
|
+
"aws-cdk-lib": "^2.232.0",
|
|
98
98
|
"constructs": "^10.0.0"
|
|
99
99
|
},
|
|
100
100
|
"engines": {
|