@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-15T10:03:45.284Z") @Stability(value=Experimental) public class CloudFormationProduct extends Product
Example:
import path.*;
CloudFormationProduct product = CloudFormationProduct.Builder.create(this, "MyFirstProduct")
.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
(experimental) A fluent builder for
CloudFormationProduct. |
software.amazon.jsii.JsiiObject.InitializationModeIProduct.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
CloudFormationProduct(software.constructs.Construct scope,
String id,
CloudFormationProductProps props) |
protected |
CloudFormationProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CloudFormationProduct(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getProductArn()
(experimental) The ARN of the product.
|
String |
getProductId()
(experimental) The id of the product.
|
associateTagOptions, fromProductArnapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected CloudFormationProduct(software.amazon.jsii.JsiiObjectRef objRef)
protected CloudFormationProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public CloudFormationProduct(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CloudFormationProductProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public String getProductArn()
getProductArn in interface IProductgetProductArn in class Product@Stability(value=Experimental) @NotNull public String getProductId()
getProductId in interface IProductgetProductId in class ProductCopyright © 2021. All rights reserved.