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.104.0 (build e79254c)",
date="2024-11-21T06:34:16.184Z")
@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 ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested 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.IResource
IResource.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCloudFormationProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCloudFormationProduct(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, fromProductArnMethods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, 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.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods 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:
getAssetBucketsin interfaceIProduct- Specified by:
getAssetBucketsin classProduct
-
getProductArn
The ARN of the product.- Specified by:
getProductArnin interfaceIProduct- Specified by:
getProductArnin classProduct
-
getProductId
The id of the product.- Specified by:
getProductIdin interfaceIProduct- Specified by:
getProductIdin classProduct
-