Class CfnCloudFormationProduct
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::ServiceCatalog::CloudFormationProduct.
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")
// the properties below are optional
.acceptLanguage("acceptLanguage")
.description("description")
.distributor("distributor")
.productType("productType")
.provisioningArtifactParameters(List.of(ProvisioningArtifactPropertiesProperty.builder()
.info(info)
// the properties below are optional
.description("description")
.disableTemplateValidation(false)
.name("name")
.type("type")
.build()))
.replaceProvisioningArtifacts(false)
.sourceConnection(SourceConnectionProperty.builder()
.connectionParameters(ConnectionParametersProperty.builder()
.codeStar(CodeStarParametersProperty.builder()
.artifactPath("artifactPath")
.branch("branch")
.connectionArn("connectionArn")
.repository("repository")
.build())
.build())
.type("type")
.build())
.supportDescription("supportDescription")
.supportEmail("supportEmail")
.supportUrl("supportUrl")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnCloudFormationProduct.static interfaceThe subtype containing details about the Codestar connectionType.static interfaceProvides connection details.static interfaceInformation about a provisioning artifact (also known as a version) for a product.static interfaceA top levelProductViewDetailresponse containing details about the product’s connection.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnCloudFormationProduct(Construct scope, String id, CfnCloudFormationProductProps props) Create a newAWS::ServiceCatalog::CloudFormationProduct.protectedCfnCloudFormationProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCloudFormationProduct(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe language code.The name of the product.The IDs of the provisioning artifacts.The names of the provisioning artifacts.The description of the product.The distributor of the product.getName()The name of the product.getOwner()The owner of the product.The type of product.The configuration of the provisioning artifact (also known as a version).This property is turned off by default.A top levelProductViewDetailresponse containing details about the product’s connection.The support information about the product.The contact email for product support.The contact URL for product support.getTags()One or more tags.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAcceptLanguage(String value) The language code.voidsetDescription(String value) The description of the product.voidsetDistributor(String value) The distributor of the product.voidThe name of the product.voidThe owner of the product.voidsetProductType(String value) The type of product.voidThe configuration of the provisioning artifact (also known as a version).voidThe configuration of the provisioning artifact (also known as a version).voidThis property is turned off by default.voidThis property is turned off by default.voidsetSourceConnection(IResolvable value) A top levelProductViewDetailresponse containing details about the product’s connection.voidA top levelProductViewDetailresponse containing details about the product’s connection.voidsetSupportDescription(String value) The support information about the product.voidsetSupportEmail(String value) The contact email for product support.voidsetSupportUrl(String value) The contact URL for product support.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnCloudFormationProduct
protected CfnCloudFormationProduct(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCloudFormationProduct
protected CfnCloudFormationProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCloudFormationProduct
@Stability(Stable) public CfnCloudFormationProduct(@NotNull Construct scope, @NotNull String id, @NotNull CfnCloudFormationProductProps props) Create a newAWS::ServiceCatalog::CloudFormationProduct.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrProductName
The name of the product. -
getAttrProvisioningArtifactIds
The IDs of the provisioning artifacts. -
getAttrProvisioningArtifactNames
The names of the provisioning artifacts. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
One or more tags. -
getName
The name of the product. -
setName
The name of the product. -
getOwner
The owner of the product. -
setOwner
The owner of the product. -
getAcceptLanguage
The language code.jp- Japanesezh- Chinese
-
setAcceptLanguage
The language code.jp- Japanesezh- Chinese
-
getDescription
The description of the product. -
setDescription
The description of the product. -
getDistributor
The distributor of the product. -
setDistributor
The distributor of the product. -
getProductType
The type of product. -
setProductType
The type of product. -
getProvisioningArtifactParameters
The configuration of the provisioning artifact (also known as a version). -
setProvisioningArtifactParameters
The configuration of the provisioning artifact (also known as a version). -
setProvisioningArtifactParameters
The configuration of the provisioning artifact (also known as a version). -
getReplaceProvisioningArtifacts
This property is turned off by default.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.
-
setReplaceProvisioningArtifacts
This property is turned off by default.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.
-
setReplaceProvisioningArtifacts
This property is turned off by default.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.
-
getSourceConnection
A top levelProductViewDetailresponse containing details about the product’s connection.AWS Service Catalog returns this field for the
CreateProduct,UpdateProduct,DescribeProductAsAdmin, andSearchProductAsAdminAPIs. This response contains the same fields as theConnectionParametersrequest, with the addition of theLastSyncresponse. -
setSourceConnection
A top levelProductViewDetailresponse containing details about the product’s connection.AWS Service Catalog returns this field for the
CreateProduct,UpdateProduct,DescribeProductAsAdmin, andSearchProductAsAdminAPIs. This response contains the same fields as theConnectionParametersrequest, with the addition of theLastSyncresponse. -
setSourceConnection
@Stability(Stable) public void setSourceConnection(@Nullable CfnCloudFormationProduct.SourceConnectionProperty value) A top levelProductViewDetailresponse containing details about the product’s connection.AWS Service Catalog returns this field for the
CreateProduct,UpdateProduct,DescribeProductAsAdmin, andSearchProductAsAdminAPIs. This response contains the same fields as theConnectionParametersrequest, with the addition of theLastSyncresponse. -
getSupportDescription
The support information about the product. -
setSupportDescription
The support information about the product. -
getSupportEmail
The contact email for product support. -
setSupportEmail
The contact email for product support. -
getSupportUrl
The contact URL for product support.^https?:\/\/// is the pattern used to validate SupportUrl. -
setSupportUrl
The contact URL for product support.^https?:\/\/// is the pattern used to validate SupportUrl.
-