Class CfnCloudFormationProduct

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.servicecatalog.CfnCloudFormationProduct
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-04-10T22:22:35.461Z") @Stability(Stable) public class CfnCloudFormationProduct extends CfnResource implements IInspectable, ITaggable
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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnCloudFormationProductProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getAttrProductName

      @Stability(Stable) @NotNull public String getAttrProductName()
      The name of the product.
    • getAttrProvisioningArtifactIds

      @Stability(Stable) @NotNull public String getAttrProvisioningArtifactIds()
      The IDs of the provisioning artifacts.
    • getAttrProvisioningArtifactNames

      @Stability(Stable) @NotNull public String getAttrProvisioningArtifactNames()
      The names of the provisioning artifacts.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the product.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the product.
    • getOwner

      @Stability(Stable) @NotNull public String getOwner()
      The owner of the product.
    • setOwner

      @Stability(Stable) public void setOwner(@NotNull String value)
      The owner of the product.
    • getAcceptLanguage

      @Stability(Stable) @Nullable public String getAcceptLanguage()
      The language code.
    • setAcceptLanguage

      @Stability(Stable) public void setAcceptLanguage(@Nullable String value)
      The language code.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the product.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the product.
    • getDistributor

      @Stability(Stable) @Nullable public String getDistributor()
      The distributor of the product.
    • setDistributor

      @Stability(Stable) public void setDistributor(@Nullable String value)
      The distributor of the product.
    • getProductType

      @Stability(Stable) @Nullable public String getProductType()
      The type of product.
    • setProductType

      @Stability(Stable) public void setProductType(@Nullable String value)
      The type of product.
    • getProvisioningArtifactParameters

      @Stability(Stable) @Nullable public Object getProvisioningArtifactParameters()
      The configuration of the provisioning artifact (also known as a version).
    • setProvisioningArtifactParameters

      @Stability(Stable) public void setProvisioningArtifactParameters(@Nullable IResolvable value)
      The configuration of the provisioning artifact (also known as a version).
    • setProvisioningArtifactParameters

      @Stability(Stable) public void setProvisioningArtifactParameters(@Nullable List<Object> value)
      The configuration of the provisioning artifact (also known as a version).
    • getReplaceProvisioningArtifacts

      @Stability(Stable) @Nullable public Object getReplaceProvisioningArtifacts()
      This property is turned off by default.
    • setReplaceProvisioningArtifacts

      @Stability(Stable) public void setReplaceProvisioningArtifacts(@Nullable Boolean value)
      This property is turned off by default.
    • setReplaceProvisioningArtifacts

      @Stability(Stable) public void setReplaceProvisioningArtifacts(@Nullable IResolvable value)
      This property is turned off by default.
    • getSourceConnection

      @Stability(Stable) @Nullable public Object getSourceConnection()
      A top level ProductViewDetail response containing details about the product’s connection.
    • setSourceConnection

      @Stability(Stable) public void setSourceConnection(@Nullable IResolvable value)
      A top level ProductViewDetail response containing details about the product’s connection.
    • setSourceConnection

      @Stability(Stable) public void setSourceConnection(@Nullable CfnCloudFormationProduct.SourceConnectionProperty value)
      A top level ProductViewDetail response containing details about the product’s connection.
    • getSupportDescription

      @Stability(Stable) @Nullable public String getSupportDescription()
      The support information about the product.
    • setSupportDescription

      @Stability(Stable) public void setSupportDescription(@Nullable String value)
      The support information about the product.
    • getSupportEmail

      @Stability(Stable) @Nullable public String getSupportEmail()
      The contact email for product support.
    • setSupportEmail

      @Stability(Stable) public void setSupportEmail(@Nullable String value)
      The contact email for product support.
    • getSupportUrl

      @Stability(Stable) @Nullable public String getSupportUrl()
      The contact URL for product support.
    • setSupportUrl

      @Stability(Stable) public void setSupportUrl(@Nullable String value)
      The contact URL for product support.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      One or more tags.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      One or more tags.