class AwsMarketplaceComponent
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.Alpha.AwsMarketplaceComponent |
Go | github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2#AwsMarketplaceComponent |
Java | software.amazon.awscdk.services.imagebuilder.alpha.AwsMarketplaceComponent |
Python | aws_cdk.aws_imagebuilder_alpha.AwsMarketplaceComponent |
TypeScript (source) | @aws-cdk/aws-imagebuilder-alpha » AwsMarketplaceComponent |
Helper class for working with AWS Marketplace components.
Example
const marketplaceComponent = imagebuilder.AwsMarketplaceComponent.fromAwsMarketplaceComponentAttributes(
this,
'MarketplaceComponent',
{
componentName: 'my-marketplace-component',
marketplaceProductId: 'prod-1234567890abcdef0',
}
);
Initializer
new AwsMarketplaceComponent()
Methods
| Name | Description |
|---|---|
| static from | Imports an AWS Marketplace component from its attributes. |
static fromAwsMarketplaceComponentAttributes(scope, id, attrs)
public static fromAwsMarketplaceComponentAttributes(scope: Construct, id: string, attrs: AwsMarketplaceComponentAttributes): IComponent
Parameters
- scope
Construct— The construct scope. - id
string— Identifier of the construct. - attrs
Aws— The AWS-managed component attributes.Marketplace Component Attributes
Returns
Imports an AWS Marketplace component from its attributes.

.NET
Go
Java
Python
TypeScript (