@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-20T22:19:59.772Z") public class CloudFormationProduct extends Product
Example:
import path.*; CloudFormationProduct product = CloudFormationProduct.Builder.create(this, "Product") .productName("My Product") .owner("Product Owner") .productVersions(List.of(CloudFormationProductVersion.builder() .productVersionName("v1") .cloudFormationTemplate(CloudFormationTemplate.fromUrl("https://raw.githubusercontent.com/awslabs/aws-cloudformation-templates/master/aws/services/ServiceCatalog/Product.yaml")) .build(), CloudFormationProductVersion.builder() .productVersionName("v2") .cloudFormationTemplate(CloudFormationTemplate.fromAsset(join(__dirname, "development-environment.template.json"))) .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CloudFormationProduct.Builder
A fluent builder for
CloudFormationProduct . |
IProduct.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
CloudFormationProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CloudFormationProduct(software.amazon.jsii.JsiiObjectRef objRef) |
|
CloudFormationProduct(software.constructs.Construct scope,
java.lang.String id,
CloudFormationProductProps props) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProductArn()
The ARN of the product.
|
java.lang.String |
getProductId()
The id of the product.
|
associateTagOptions, fromProductArn
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected CloudFormationProduct(software.amazon.jsii.JsiiObjectRef objRef)
protected CloudFormationProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CloudFormationProduct(software.constructs.Construct scope, java.lang.String id, CloudFormationProductProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public java.lang.String getProductArn()
getProductArn
in interface IProduct
getProductArn
in class Product
public java.lang.String getProductId()
getProductId
in interface IProduct
getProductId
in class Product