Class Product
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.103.1 (build bef2dea)",
date="2024-10-25T14:21:23.757Z")
@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.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.servicecatalog.IProduct
IProduct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
Product
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
Product
(software.amazon.jsii.JsiiObjectRef objRef) protected
protected
Product
(software.constructs.Construct scope, String id, ResourceProps props) -
Method Summary
Modifier and TypeMethodDescriptionvoid
associateTagOptions
(TagOptions tagOptions) Associate Tag Options.static IProduct
fromProductArn
(software.constructs.Construct scope, String id, String productArn) Creates a Product construct that represents an external product.The asset buckets of a product created via product stack.abstract String
The ARN of the product.abstract String
The id of the product.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods 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:
associateTagOptions
in interfaceIProduct
- Parameters:
tagOptions
- This parameter is required.
-
getAssetBuckets
The asset buckets of a product created via product stack.- Specified by:
getAssetBuckets
in interfaceIProduct
-
getProductArn
The ARN of the product.- Specified by:
getProductArn
in interfaceIProduct
-
getProductId
The id of the product.- Specified by:
getProductId
in interfaceIProduct
-