Class CloudFormationProduct
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.servicecatalog.Product
software.amazon.awscdk.services.servicecatalog.CloudFormationProduct
- All Implemented Interfaces:
IResource
,IProduct
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:23.730Z")
@Stability(Stable)
public class CloudFormationProduct
extends Product
A Service Catalog Cloudformation Product.
Example:
import software.amazon.awscdk.*; public class S3BucketProduct extends ProductStack { public S3BucketProduct(Construct scope, String id) { super(scope, id); new Bucket(this, "BucketProduct"); } } CloudFormationProduct product = CloudFormationProduct.Builder.create(this, "Product") .productName("My Product") .owner("Product Owner") .productVersions(List.of(CloudFormationProductVersion.builder() .productVersionName("v1") .cloudFormationTemplate(CloudFormationTemplate.fromProductStack(new S3BucketProduct(this, "S3BucketProduct"))) .build())) .build();
-
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
CloudFormationProduct
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CloudFormationProduct
(software.amazon.jsii.JsiiObjectRef objRef) CloudFormationProduct
(software.constructs.Construct scope, String id, CloudFormationProductProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe asset bucket of a product created via product stack.The ARN of the product.The id of the product.Methods inherited from class software.amazon.awscdk.services.servicecatalog.Product
associateTagOptions, fromProductArn
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
-
CloudFormationProduct
protected CloudFormationProduct(software.amazon.jsii.JsiiObjectRef objRef) -
CloudFormationProduct
protected CloudFormationProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CloudFormationProduct
@Stability(Stable) public CloudFormationProduct(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CloudFormationProductProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.
-
-
Method Details
-
getAssetBuckets
The asset bucket of a product created via product stack.Default: - Empty - no assets are used in this product
- Specified by:
getAssetBuckets
in interfaceIProduct
- Specified by:
getAssetBuckets
in classProduct
-
getProductArn
The ARN of the product.- Specified by:
getProductArn
in interfaceIProduct
- Specified by:
getProductArn
in classProduct
-
getProductId
The id of the product.- Specified by:
getProductId
in interfaceIProduct
- Specified by:
getProductId
in classProduct
-