java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.servicecatalog.Product
All Implemented Interfaces:
IResource, IProduct, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable
Direct Known Subclasses:
CloudFormationProduct

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-24T02:42:44.764Z") @Stability(Stable) public abstract class Product extends Resource implements IProduct
Abstract class for Service Catalog Product.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.servicecatalog.*;
 IProduct product = Product.fromProductArn(this, "MyProduct", "productArn");
 
  • Constructor Details

    • Product

      protected Product(software.amazon.jsii.JsiiObjectRef objRef)
    • Product

      protected Product(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Product

      @Stability(Stable) protected Product(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ResourceProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • Product

      @Stability(Stable) protected Product(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
  • Method Details

    • fromProductArn

      @Stability(Stable) @NotNull public static IProduct fromProductArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String productArn)
      Creates a Product construct that represents an external product.

      Parameters:
      scope - The parent creating construct (usually this). This parameter is required.
      id - The construct's name. This parameter is required.
      productArn - Product Arn. This parameter is required.
    • associateTagOptions

      @Stability(Stable) public void associateTagOptions(@NotNull TagOptions tagOptions)
      Associate Tag Options.

      A TagOption is a key-value pair managed in AWS Service Catalog. It is not an AWS tag, but serves as a template for creating an AWS tag based on the TagOption.

      Specified by:
      associateTagOptions in interface IProduct
      Parameters:
      tagOptions - This parameter is required.
    • getAssetBuckets

      @Stability(Stable) @NotNull public abstract List<IBucket> getAssetBuckets()
      The asset buckets of a product created via product stack.
      Specified by:
      getAssetBuckets in interface IProduct
    • getProductArn

      @Stability(Stable) @NotNull public abstract String getProductArn()
      The ARN of the product.
      Specified by:
      getProductArn in interface IProduct
    • getProductId

      @Stability(Stable) @NotNull public abstract String getProductId()
      The id of the product.
      Specified by:
      getProductId in interface IProduct