@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.066Z") @Stability(value=Stable) public class CfnCloudFormationProduct extends CfnResource implements IInspectable
Specifies a product.
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.*;
Object info;
CfnCloudFormationProduct cfnCloudFormationProduct = CfnCloudFormationProduct.Builder.create(this, "MyCfnCloudFormationProduct")
.name("name")
.owner("owner")
.provisioningArtifactParameters(List.of(ProvisioningArtifactPropertiesProperty.builder()
.info(info)
// the properties below are optional
.description("description")
.disableTemplateValidation(false)
.name("name")
.build()))
// the properties below are optional
.acceptLanguage("acceptLanguage")
.description("description")
.distributor("distributor")
.replaceProvisioningArtifacts(false)
.supportDescription("supportDescription")
.supportEmail("supportEmail")
.supportUrl("supportUrl")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnCloudFormationProduct.Builder
A fluent builder for
CfnCloudFormationProduct. |
static interface |
CfnCloudFormationProduct.ProvisioningArtifactPropertiesProperty
Information about a provisioning artifact (also known as a version) for a 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 |
|---|---|
|
CfnCloudFormationProduct(software.constructs.Construct scope,
String id,
CfnCloudFormationProductProps props)
Create a new `AWS::ServiceCatalog::CloudFormationProduct`.
|
protected |
CfnCloudFormationProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnCloudFormationProduct(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAcceptLanguage()
The language code.
|
String |
getAttrProductName()
The name of the product.
|
String |
getAttrProvisioningArtifactIds()
The IDs of the provisioning artifacts.
|
String |
getAttrProvisioningArtifactNames()
The names of the provisioning artifacts.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
The description of the product.
|
String |
getDistributor()
The distributor of the product.
|
String |
getName()
The name of the product.
|
String |
getOwner()
The owner of the product.
|
Object |
getProvisioningArtifactParameters()
The configuration of the provisioning artifact (also known as a version).
|
Object |
getReplaceProvisioningArtifacts()
This property is turned off by default.
|
String |
getSupportDescription()
The support information about the product.
|
String |
getSupportEmail()
The contact email for product support.
|
String |
getSupportUrl()
The contact URL for product support.
|
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 |
setDescription(String value)
The description of the product.
|
void |
setDistributor(String value)
The distributor of the product.
|
void |
setName(String value)
The name of the product.
|
void |
setOwner(String value)
The owner of the product.
|
void |
setProvisioningArtifactParameters(IResolvable value)
The configuration of the provisioning artifact (also known as a version).
|
void |
setProvisioningArtifactParameters(List<Object> value)
The configuration of the provisioning artifact (also known as a version).
|
void |
setReplaceProvisioningArtifacts(Boolean value)
This property is turned off by default.
|
void |
setReplaceProvisioningArtifacts(IResolvable value)
This property is turned off by default.
|
void |
setSupportDescription(String value)
The support information about the product.
|
void |
setSupportEmail(String value)
The contact email for product support.
|
void |
setSupportUrl(String value)
The contact URL for product support.
|
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 CfnCloudFormationProduct(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnCloudFormationProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnCloudFormationProduct(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnCloudFormationProductProps 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. 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 getAttrProductName()
@Stability(value=Stable) @NotNull public String getAttrProvisioningArtifactIds()
@Stability(value=Stable) @NotNull public String getAttrProvisioningArtifactNames()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getOwner()
@Stability(value=Stable)
public void setOwner(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getProvisioningArtifactParameters()
@Stability(value=Stable)
public void setProvisioningArtifactParameters(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setProvisioningArtifactParameters(@NotNull
List<Object> value)
@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 String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDistributor()
@Stability(value=Stable)
public void setDistributor(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getReplaceProvisioningArtifacts()
If turned off, you can update provisioning artifacts or product attributes (such as description, distributor, name, owner, and more) and the associated provisioning artifacts will retain the same unique identifier. Provisioning artifacts are matched within the CloudFormationProduct resource, and only those that have been updated will be changed. Provisioning artifacts are matched by a combinaton of provisioning artifact template URL and name.
If turned on, provisioning artifacts will be given a new unique identifier when you update the product or provisioning artifacts.
@Stability(value=Stable)
public void setReplaceProvisioningArtifacts(@Nullable
Boolean value)
If turned off, you can update provisioning artifacts or product attributes (such as description, distributor, name, owner, and more) and the associated provisioning artifacts will retain the same unique identifier. Provisioning artifacts are matched within the CloudFormationProduct resource, and only those that have been updated will be changed. Provisioning artifacts are matched by a combinaton of provisioning artifact template URL and name.
If turned on, provisioning artifacts will be given a new unique identifier when you update the product or provisioning artifacts.
@Stability(value=Stable)
public void setReplaceProvisioningArtifacts(@Nullable
IResolvable value)
If turned off, you can update provisioning artifacts or product attributes (such as description, distributor, name, owner, and more) and the associated provisioning artifacts will retain the same unique identifier. Provisioning artifacts are matched within the CloudFormationProduct resource, and only those that have been updated will be changed. Provisioning artifacts are matched by a combinaton of provisioning artifact template URL and name.
If turned on, provisioning artifacts will be given a new unique identifier when you update the product or provisioning artifacts.
@Stability(value=Stable) @Nullable public String getSupportDescription()
@Stability(value=Stable)
public void setSupportDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getSupportEmail()
@Stability(value=Stable)
public void setSupportEmail(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getSupportUrl()
^https?:\/\// / is the pattern used to validate SupportUrl.
@Stability(value=Stable)
public void setSupportUrl(@Nullable
String value)
^https?:\/\// / is the pattern used to validate SupportUrl.
Copyright © 2022. All rights reserved.