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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.798Z") @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.
    • 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