@aws-cdk/aws-imagebuilder-alpha 2.232.0-alpha.0 → 2.232.1-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 +2 -2
- 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 +13 -0
- 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 +13 -0
- package/lib/image-recipe.js +1 -1
- package/lib/image.js +1 -1
- package/lib/infrastructure-configuration.d.ts +15 -0
- 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 +14 -0
- 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.232.
|
|
14
|
+
"aws-cdk-lib": "^2.232.1",
|
|
15
15
|
"constructs": "^10.0.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencyClosure": {
|
|
@@ -24472,6 +24472,6 @@
|
|
|
24472
24472
|
"symbolId": "lib/workflow:WorkflowType"
|
|
24473
24473
|
}
|
|
24474
24474
|
},
|
|
24475
|
-
"version": "2.232.
|
|
24475
|
+
"version": "2.232.1-alpha.0",
|
|
24476
24476
|
"fingerprint": "**********"
|
|
24477
24477
|
}
|
|
@@ -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.232.
|
|
13
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.AmazonManagedImage", version: "2.232.1-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.232.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.BaseImage", version: "2.232.1-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.232.
|
|
82
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.BaseContainerImage", version: "2.232.1-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.232.
|
|
151
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ContainerInstanceImage", version: "2.232.1-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.232.
|
|
54
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentConstantValue", version: "2.232.1-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.232.
|
|
271
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentStepInputs", version: "2.232.1-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.232.
|
|
301
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentStepIfCondition", version: "2.232.1-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.232.
|
|
323
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentData", version: "2.232.1-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.232.
|
|
417
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.S3ComponentData", version: "2.232.1-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.232.
|
|
464
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.AwsManagedComponent", version: "2.232.1-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.232.
|
|
731
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.AwsMarketplaceComponent", version: "2.232.1-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.232.
|
|
804
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.Component", version: "2.232.1-alpha.0" };
|
|
805
805
|
/** Uniquely identifies this class. */
|
|
806
806
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-imagebuilder-alpha.Component';
|
|
807
807
|
/**
|
|
@@ -7,6 +7,7 @@ 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';
|
|
10
11
|
import { OSVersion } from './os-version';
|
|
11
12
|
import { ComponentConfiguration, IRecipeBase } from './recipe-base';
|
|
12
13
|
/**
|
|
@@ -254,6 +255,18 @@ export declare abstract class ContainerRecipeBase extends cdk.Resource implement
|
|
|
254
255
|
* @param grantee The principal
|
|
255
256
|
*/
|
|
256
257
|
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;
|
|
257
270
|
}
|
|
258
271
|
/**
|
|
259
272
|
* 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.232.
|
|
75
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.DockerfileData", version: "2.232.1-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.232.
|
|
111
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.S3DockerfileData", version: "2.232.1-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.232.
|
|
170
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ContainerRecipeBase", version: "2.232.1-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.232.
|
|
234
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ContainerRecipe", version: "2.232.1-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.232.
|
|
89
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.Repository", version: "2.232.1-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.232.
|
|
130
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.DistributionConfiguration", version: "2.232.1-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.232.
|
|
285
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ImagePipeline", version: "2.232.1-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,6 +3,7 @@ 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';
|
|
6
7
|
import { ComponentConfiguration, IRecipeBase } from './recipe-base';
|
|
7
8
|
/**
|
|
8
9
|
* An EC2 Image Builder Image Recipe.
|
|
@@ -156,6 +157,18 @@ declare abstract class ImageRecipeBase extends cdk.Resource implements IImageRec
|
|
|
156
157
|
* @param grantee The principal
|
|
157
158
|
*/
|
|
158
159
|
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;
|
|
159
172
|
}
|
|
160
173
|
/**
|
|
161
174
|
* 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.232.
|
|
126
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ImageRecipe", version: "2.232.1-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.232.
|
|
155
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.Image", version: "2.232.1-alpha.0" };
|
|
156
156
|
/** Uniquely identifies this class. */
|
|
157
157
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-imagebuilder-alpha.Image';
|
|
158
158
|
/**
|
|
@@ -234,6 +234,17 @@ 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
|
+
}
|
|
237
248
|
/**
|
|
238
249
|
* A new or imported Infrastructure Configuration
|
|
239
250
|
*/
|
|
@@ -304,5 +315,9 @@ export declare class InfrastructureConfiguration extends InfrastructureConfigura
|
|
|
304
315
|
private readonly autoGeneratedInstanceProfileRole?;
|
|
305
316
|
constructor(scope: Construct, id: string, props?: InfrastructureConfigurationProps);
|
|
306
317
|
private validateInfrastructureConfigurationName;
|
|
318
|
+
/**
|
|
319
|
+
* @internal
|
|
320
|
+
*/
|
|
321
|
+
_bind(options: InfrastructureConfigurationBindOptions): void;
|
|
307
322
|
}
|
|
308
323
|
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.232.
|
|
128
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.InfrastructureConfiguration", version: "2.232.1-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.232.
|
|
124
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.LifecyclePolicy", version: "2.232.1-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.232.
|
|
28
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.OSVersion", version: "2.232.1-alpha.0" };
|
|
29
29
|
/**
|
|
30
30
|
* OS version for all Linux images
|
|
31
31
|
*/
|
package/lib/recipe-base.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
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';
|
|
4
6
|
/**
|
|
5
7
|
* The parameter value for a component parameter
|
|
6
8
|
*/
|
|
@@ -52,4 +54,16 @@ export interface IRecipeBase extends cdk.IResource {
|
|
|
52
54
|
* @param grantee The principal
|
|
53
55
|
*/
|
|
54
56
|
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;
|
|
55
69
|
}
|
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.232.
|
|
9
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.ComponentParameterValue", version: "2.232.1-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.232.
|
|
204
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.WorkflowData", version: "2.232.1-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.232.
|
|
249
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.S3WorkflowData", version: "2.232.1-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.232.
|
|
308
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.WorkflowParameterValue", version: "2.232.1-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.232.
|
|
353
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.AwsManagedWorkflow", version: "2.232.1-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.232.
|
|
489
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-imagebuilder-alpha.Workflow", version: "2.232.1-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.232.
|
|
3
|
+
"version": "2.232.1-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.232.
|
|
81
|
-
"@aws-cdk/cdk-build-tools": "2.232.
|
|
80
|
+
"aws-cdk-lib": "2.232.1",
|
|
81
|
+
"@aws-cdk/cdk-build-tools": "2.232.1-alpha.0",
|
|
82
82
|
"@aws-cdk/integ-runner": "^2.192.2",
|
|
83
|
-
"@aws-cdk/pkglint": "2.232.
|
|
84
|
-
"@aws-cdk/integ-tests-alpha": "2.232.
|
|
83
|
+
"@aws-cdk/pkglint": "2.232.1-alpha.0",
|
|
84
|
+
"@aws-cdk/integ-tests-alpha": "2.232.1-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.232.
|
|
97
|
+
"aws-cdk-lib": "^2.232.1",
|
|
98
98
|
"constructs": "^10.0.0"
|
|
99
99
|
},
|
|
100
100
|
"engines": {
|