Class Product
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");
-
Nested Class Summary
Nested classes/interfaces inherited from class software.constructs.Construct
software.constructs.Construct.BuilderNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.servicecatalog.IProduct
IProduct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedProduct(software.amazon.jsii.JsiiObjectRef objRef) protectedprotectedProduct(software.constructs.Construct scope, String id, ResourceProps props) -
Method Summary
Modifier and TypeMethodDescriptionvoidassociateTagOptions(TagOptions tagOptions) Associate Tag Options.static IProductfromProductArn(software.constructs.Construct scope, String id, String productArn) Creates a Product construct that represents an external product.abstract StringThe ARN of the product.abstract StringThe id of the product.Methods inherited from class software.amazon.awscdk.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourceMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.constructs.Construct
toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.core.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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 (usuallythis). This parameter is required.id- The construct's name. This parameter is required.productArn- Product Arn. This parameter is required.
-
associateTagOptions
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:
associateTagOptionsin interfaceIProduct- Parameters:
tagOptions- This parameter is required.
-
getProductArn
The ARN of the product.- Specified by:
getProductArnin interfaceIProduct
-
getProductId
The id of the product.- Specified by:
getProductIdin interfaceIProduct
-