AwsMarketplaceComponent

class aws_cdk.aws_imagebuilder_alpha.AwsMarketplaceComponent

Bases: object

(experimental) Helper class for working with AWS Marketplace components.

Stability:

experimental

ExampleMetadata:

infused

Example:

marketplace_component = imagebuilder.AwsMarketplaceComponent.from_aws_marketplace_component_attributes(self, "MarketplaceComponent",
    component_name="my-marketplace-component",
    marketplace_product_id="prod-1234567890abcdef0"
)
Stability:

experimental

Static Methods

classmethod from_aws_marketplace_component_attributes(scope, id, *, component_name, marketplace_product_id, component_version=None)

(experimental) Imports an AWS Marketplace component from its attributes.

Parameters:
  • scope (Construct) – The construct scope.

  • id (str) – Identifier of the construct.

  • component_name (str) – (experimental) The name of the AWS Marketplace component. This name should exclude the marketplace product ID from it

  • marketplace_product_id (str) – (experimental) The marketplace product ID associated with the component.

  • component_version (Optional[str]) – (experimental) The version of the AWS Marketplace component. Default: - the latest version of the component, x.x.x

Stability:

experimental

Return type:

IComponent