@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-15T10:03:45.286Z") @Stability(value=Experimental) public abstract class CloudFormationTemplate extends software.amazon.jsii.JsiiObject
Example:
import software.amazon.awscdk.services.iam.*;
Role launchRole = Role.Builder.create(this, "LaunchRole")
.roleName("MyRole")
.assumedBy(new ServicePrincipal("servicecatalog.amazonaws.com"))
.build();
portfolio.setLocalLaunchRole(product, launchRole);
| Modifier | Constructor and Description |
|---|---|
protected |
CloudFormationTemplate() |
protected |
CloudFormationTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CloudFormationTemplate(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
abstract CloudFormationTemplateConfig |
bind(Construct scope)
(experimental) Called when the product is initialized to allow this object to bind to the stack, add resources and have fun.
|
static CloudFormationTemplate |
fromAsset(String path)
(experimental) Loads the provisioning artifacts template from a local disk path.
|
static CloudFormationTemplate |
fromAsset(String path,
AssetOptions options)
(experimental) Loads the provisioning artifacts template from a local disk path.
|
static CloudFormationTemplate |
fromProductStack(ProductStack productStack)
(experimental) Creates a product with the resources defined in the given product stack.
|
static CloudFormationTemplate |
fromUrl(String url)
(experimental) Template from URL.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CloudFormationTemplate(software.amazon.jsii.JsiiObjectRef objRef)
protected CloudFormationTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) protected CloudFormationTemplate()
@Stability(value=Experimental) @NotNull public abstract CloudFormationTemplateConfig bind(@NotNull Construct scope)
scope - The binding scope. This parameter is required.@Stability(value=Experimental) @NotNull public static CloudFormationTemplate fromAsset(@NotNull String path, @Nullable AssetOptions options)
path - A file containing the provisioning artifacts. This parameter is required.options - @Stability(value=Experimental) @NotNull public static CloudFormationTemplate fromAsset(@NotNull String path)
path - A file containing the provisioning artifacts. This parameter is required.@Stability(value=Experimental) @NotNull public static CloudFormationTemplate fromProductStack(@NotNull ProductStack productStack)
productStack - This parameter is required.@Stability(value=Experimental) @NotNull public static CloudFormationTemplate fromUrl(@NotNull String url)
url - The url that points to the provisioning artifacts template. This parameter is required.Copyright © 2021. All rights reserved.