Skip to content
v2.277.0

Experimental

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

AwsMarketplaceComponentAttributes Struct ​

Properties for an EC2 Image Builder AWS Marketplace component.

Example ​

ts
const marketplaceComponent = imagebuilder.AwsMarketplaceComponent.fromAwsMarketplaceComponentAttributes(
  this,
  'MarketplaceComponent',
  {
    componentName: 'my-marketplace-component',
    marketplaceProductId: 'prod-1234567890abcdef0',
  }
);
python
marketplace_component = imagebuilder.AwsMarketplaceComponent.from_aws_marketplace_component_attributes(self, "MarketplaceComponent",
    component_name="my-marketplace-component",
    marketplace_product_id="prod-1234567890abcdef0"
)
java
IComponent marketplaceComponent = AwsMarketplaceComponent.fromAwsMarketplaceComponentAttributes(this, "MarketplaceComponent", AwsMarketplaceComponentAttributes.builder()
        .componentName("my-marketplace-component")
        .marketplaceProductId("prod-1234567890abcdef0")
        .build());
csharp
// Install: dotnet add package Amazon.CDK.AWS.ImageBuilder.Alpha
var marketplaceComponent = AwsMarketplaceComponent.FromAwsMarketplaceComponentAttributes(this, "MarketplaceComponent", new AwsMarketplaceComponentAttributes {
    ComponentName = "my-marketplace-component",
    MarketplaceProductId = "prod-1234567890abcdef0"
});
go
// Install: go get github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2
marketplaceComponent := imagebuilder.AwsMarketplaceComponent_FromAwsMarketplaceComponentAttributes(this, jsii.String("MarketplaceComponent"), &AwsMarketplaceComponentAttributes{
	ComponentName: jsii.String("my-marketplace-component"),
	MarketplaceProductId: jsii.String("prod-1234567890abcdef0"),
})

Properties ​

componentNamestringcomponent_namestrcomponentNameStringComponentNamestringComponentName*stringrequired#
The name of the AWS Marketplace component.

This name should exclude the marketplace product ID from it

componentVersionoptionalstringcomponent_versionoptionalstrcomponentVersionoptionalStringComponentVersionoptionalstringComponentVersionoptional*string#
The version of the AWS Marketplace component.

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

marketplaceProductIdstringmarketplace_product_idstrmarketplaceProductIdStringMarketplaceProductIdstringMarketplaceProductId*stringrequired#
The marketplace product ID associated with the component.