@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.069Z") @Stability(value=Stable) public class CfnCloudFormationProvisionedProduct extends CfnResource implements IInspectable
Provisions the specified product.
A provisioned product is a resourced instance of a product. For example, provisioning a product based on a AWS CloudFormation template launches a AWS CloudFormation stack and its underlying resources. You can check the status of this request using DescribeRecord .
If the request contains a tag key with an empty list of values, there is a tag conflict for that key. Do not include conflicted keys as tags, or this causes the error "Parameter validation failed: Missing required parameter in Tags[ N ]: Value ".
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.servicecatalog.*;
CfnCloudFormationProvisionedProduct cfnCloudFormationProvisionedProduct = CfnCloudFormationProvisionedProduct.Builder.create(this, "MyCfnCloudFormationProvisionedProduct")
.acceptLanguage("acceptLanguage")
.notificationArns(List.of("notificationArns"))
.pathId("pathId")
.pathName("pathName")
.productId("productId")
.productName("productName")
.provisionedProductName("provisionedProductName")
.provisioningArtifactId("provisioningArtifactId")
.provisioningArtifactName("provisioningArtifactName")
.provisioningParameters(List.of(ProvisioningParameterProperty.builder()
.key("key")
.value("value")
.build()))
.provisioningPreferences(ProvisioningPreferencesProperty.builder()
.stackSetAccounts(List.of("stackSetAccounts"))
.stackSetFailureToleranceCount(123)
.stackSetFailureTolerancePercentage(123)
.stackSetMaxConcurrencyCount(123)
.stackSetMaxConcurrencyPercentage(123)
.stackSetOperationType("stackSetOperationType")
.stackSetRegions(List.of("stackSetRegions"))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnCloudFormationProvisionedProduct.Builder
A fluent builder for
CfnCloudFormationProvisionedProduct. |
static interface |
CfnCloudFormationProvisionedProduct.ProvisioningParameterProperty
Information about a parameter used to provision a product.
|
static interface |
CfnCloudFormationProvisionedProduct.ProvisioningPreferencesProperty
The user-defined preferences that will be applied when updating a provisioned product.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnCloudFormationProvisionedProduct(software.constructs.Construct scope,
String id)
Create a new `AWS::ServiceCatalog::CloudFormationProvisionedProduct`.
|
|
CfnCloudFormationProvisionedProduct(software.constructs.Construct scope,
String id,
CfnCloudFormationProvisionedProductProps props)
Create a new `AWS::ServiceCatalog::CloudFormationProvisionedProduct`.
|
protected |
CfnCloudFormationProvisionedProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnCloudFormationProvisionedProduct(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAcceptLanguage()
The language code.
|
String |
getAttrCloudformationStackArn()
The Amazon Resource Name (ARN) of the CloudFormation stack, such as `arn:aws:cloudformation:eu-west-1:123456789012:stack/SC-499278721343-pp-hfyszaotincww/8f3df460-346a-11e8-9444-503abe701c29` .
|
String |
getAttrProvisionedProductId()
The ID of the provisioned product.
|
String |
getAttrRecordId()
The ID of the record, such as `rec-rjeatvy434trk` .
|
protected Map<String,Object> |
getCfnProperties() |
List<String> |
getNotificationArns()
Passed to AWS CloudFormation .
|
String |
getPathId()
The path identifier of the product.
|
String |
getPathName()
The name of the path.
|
String |
getProductId()
The product identifier.
|
String |
getProductName()
A user-friendly name for the provisioned product.
|
String |
getProvisionedProductName()
A user-friendly name for the provisioned product.
|
String |
getProvisioningArtifactId()
The identifier of the provisioning artifact (also known as a version).
|
String |
getProvisioningArtifactName()
The name of the provisioning artifact (also known as a version) for the product.
|
Object |
getProvisioningParameters()
Parameters specified by the administrator that are required for provisioning the product.
|
Object |
getProvisioningPreferences()
StackSet preferences that are required for provisioning the product or updating a provisioned product.
|
TagManager |
getTags()
One or more tags.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAcceptLanguage(String value)
The language code.
|
void |
setNotificationArns(List<String> value)
Passed to AWS CloudFormation .
|
void |
setPathId(String value)
The path identifier of the product.
|
void |
setPathName(String value)
The name of the path.
|
void |
setProductId(String value)
The product identifier.
|
void |
setProductName(String value)
A user-friendly name for the provisioned product.
|
void |
setProvisionedProductName(String value)
A user-friendly name for the provisioned product.
|
void |
setProvisioningArtifactId(String value)
The identifier of the provisioning artifact (also known as a version).
|
void |
setProvisioningArtifactName(String value)
The name of the provisioning artifact (also known as a version) for the product.
|
void |
setProvisioningParameters(IResolvable value)
Parameters specified by the administrator that are required for provisioning the product.
|
void |
setProvisioningParameters(List<Object> value)
Parameters specified by the administrator that are required for provisioning the product.
|
void |
setProvisioningPreferences(CfnCloudFormationProvisionedProduct.ProvisioningPreferencesProperty value)
StackSet preferences that are required for provisioning the product or updating a provisioned product.
|
void |
setProvisioningPreferences(IResolvable value)
StackSet preferences that are required for provisioning the product or updating a provisioned product.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnCloudFormationProvisionedProduct(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnCloudFormationProvisionedProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnCloudFormationProvisionedProduct(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnCloudFormationProvisionedProductProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnCloudFormationProvisionedProduct(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrCloudformationStackArn()
@Stability(value=Stable) @NotNull public String getAttrProvisionedProductId()
@Stability(value=Stable) @NotNull public String getAttrRecordId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
Requires the provisioned product to have an ResourceUpdateConstraint resource with
TagUpdatesOnProvisionedProductset toALLOWEDto allow tag updates. IfRESOURCE_UPDATEconstraint is not present, tags updates are ignored.
@Stability(value=Stable) @Nullable public String getAcceptLanguage()
en - English (default)jp - Japanesezh - Chinese@Stability(value=Stable)
public void setAcceptLanguage(@Nullable
String value)
en - English (default)jp - Japanesezh - Chinese@Stability(value=Stable) @Nullable public List<String> getNotificationArns()
The SNS topic ARNs to which to publish stack-related events.
@Stability(value=Stable)
public void setNotificationArns(@Nullable
List<String> value)
The SNS topic ARNs to which to publish stack-related events.
@Stability(value=Stable) @Nullable public String getPathId()
This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths .
You must provide the name or ID, but not both.
@Stability(value=Stable)
public void setPathId(@Nullable
String value)
This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths .
You must provide the name or ID, but not both.
@Stability(value=Stable) @Nullable public String getPathName()
This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths .
You must provide the name or ID, but not both.
@Stability(value=Stable)
public void setPathName(@Nullable
String value)
This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths .
You must provide the name or ID, but not both.
@Stability(value=Stable) @Nullable public String getProductId()
You must specify either the ID or the name of the product, but not both.
@Stability(value=Stable)
public void setProductId(@Nullable
String value)
You must specify either the ID or the name of the product, but not both.
@Stability(value=Stable) @Nullable public String getProductName()
This value must be unique for the AWS account and cannot be updated after the product is provisioned.
Each time a stack is created or updated, if ProductName is provided it will successfully resolve to ProductId as long as only one product exists in the account or Region with that ProductName .
You must specify either the name or the ID of the product, but not both.
@Stability(value=Stable)
public void setProductName(@Nullable
String value)
This value must be unique for the AWS account and cannot be updated after the product is provisioned.
Each time a stack is created or updated, if ProductName is provided it will successfully resolve to ProductId as long as only one product exists in the account or Region with that ProductName .
You must specify either the name or the ID of the product, but not both.
@Stability(value=Stable) @Nullable public String getProvisionedProductName()
This value must be unique for the AWS account and cannot be updated after the product is provisioned.
@Stability(value=Stable)
public void setProvisionedProductName(@Nullable
String value)
This value must be unique for the AWS account and cannot be updated after the product is provisioned.
@Stability(value=Stable) @Nullable public String getProvisioningArtifactId()
You must specify either the ID or the name of the provisioning artifact, but not both.
@Stability(value=Stable)
public void setProvisioningArtifactId(@Nullable
String value)
You must specify either the ID or the name of the provisioning artifact, but not both.
@Stability(value=Stable) @Nullable public String getProvisioningArtifactName()
This name must be unique for the product.
You must specify either the name or the ID of the provisioning artifact, but not both. You must also specify either the name or the ID of the product, but not both.
@Stability(value=Stable)
public void setProvisioningArtifactName(@Nullable
String value)
This name must be unique for the product.
You must specify either the name or the ID of the provisioning artifact, but not both. You must also specify either the name or the ID of the product, but not both.
@Stability(value=Stable) @Nullable public Object getProvisioningParameters()
@Stability(value=Stable)
public void setProvisioningParameters(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setProvisioningParameters(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getProvisioningPreferences()
@Stability(value=Stable)
public void setProvisioningPreferences(@Nullable
CfnCloudFormationProvisionedProduct.ProvisioningPreferencesProperty value)
@Stability(value=Stable)
public void setProvisioningPreferences(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.