Skip to content
v2.274.0

Experimental

@aws-cdk/aws-imagebuilder-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ComponentAttributes Struct ​

Properties for an EC2 Image Builder component.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';
const componentAttributes: imagebuilder_alpha.ComponentAttributes = {
  componentArn: 'componentArn',
  componentName: 'componentName',
  componentVersion: 'componentVersion',
};

Properties ​

componentArnstringcomponent_arnstrcomponentArnStringComponentArnstringComponentArn*string= the ARN is automatically constru…#
The ARN of the component.
default

Default: the ARN is automatically constructed if a componentName is provided, otherwise a componentArn is required

componentNamestringcomponent_namestrcomponentNameStringComponentNamestringComponentName*string= the name is automatically constr…#
The name of the component.
default

Default: the name is automatically constructed if a componentArn is provided, otherwise a componentName is required

componentVersionstringcomponent_versionstrcomponentVersionStringComponentVersionstringComponentVersion*string= the latest version of the compon…#
The version of the component.
default

Default: the latest version of the component, x.x.x