Class CfnCloudFormationProductProps
Properties for defining a CfnCloudFormationProduct
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ServiceCatalog
Assembly: Amazon.CDK.AWS.ServiceCatalog.dll
Syntax (csharp)
public class CfnCloudFormationProductProps : Object, ICfnCloudFormationProductProps
Syntax (vb)
Public Class CfnCloudFormationProductProps
Inherits Object
Implements ICfnCloudFormationProductProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ServiceCatalog;
var info;
var cfnCloudFormationProductProps = new CfnCloudFormationProductProps {
Name = "name",
Owner = "owner",
// the properties below are optional
AcceptLanguage = "acceptLanguage",
Description = "description",
Distributor = "distributor",
ProductType = "productType",
ProvisioningArtifactParameters = new [] { new ProvisioningArtifactPropertiesProperty {
Info = info,
// the properties below are optional
Description = "description",
DisableTemplateValidation = false,
Name = "name",
Type = "type"
} },
ReplaceProvisioningArtifacts = false,
SourceConnection = new SourceConnectionProperty {
ConnectionParameters = new ConnectionParametersProperty {
CodeStar = new CodeStarParametersProperty {
ArtifactPath = "artifactPath",
Branch = "branch",
ConnectionArn = "connectionArn",
Repository = "repository"
}
},
Type = "type"
},
SupportDescription = "supportDescription",
SupportEmail = "supportEmail",
SupportUrl = "supportUrl",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnCloudFormationProductProps() |
Properties
AcceptLanguage | The language code. |
Description | The description of the product. |
Distributor | The distributor of the product. |
Name | The name of the product. |
Owner | The owner of the product. |
ProductType | The type of product. |
ProvisioningArtifactParameters | The configuration of the provisioning artifact (also known as a version). |
ReplaceProvisioningArtifacts | This property is turned off by default. |
SourceConnection | A top level |
SupportDescription | The support information about the product. |
SupportEmail | The contact email for product support. |
SupportUrl | The contact URL for product support. |
Tags | One or more tags. |
Constructors
CfnCloudFormationProductProps()
public CfnCloudFormationProductProps()
Properties
AcceptLanguage
The language code.
public string AcceptLanguage { get; set; }
Property Value
System.String
Remarks
Description
The description of the product.
public string Description { get; set; }
Property Value
System.String
Remarks
Distributor
The distributor of the product.
public string Distributor { get; set; }
Property Value
System.String
Remarks
Name
The name of the product.
public string Name { get; set; }
Property Value
System.String
Remarks
Owner
The owner of the product.
public string Owner { get; set; }
Property Value
System.String
Remarks
ProductType
The type of product.
public string ProductType { get; set; }
Property Value
System.String
Remarks
ProvisioningArtifactParameters
The configuration of the provisioning artifact (also known as a version).
public object ProvisioningArtifactParameters { get; set; }
Property Value
System.Object
Remarks
ReplaceProvisioningArtifacts
This property is turned off by default.
public object ReplaceProvisioningArtifacts { get; set; }
Property Value
System.Object
Remarks
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.
SourceConnection
A top level ProductViewDetail
response containing details about the product’s connection.
public object SourceConnection { get; set; }
Property Value
System.Object
Remarks
AWS Service Catalog returns this field for the CreateProduct
, UpdateProduct
, DescribeProductAsAdmin
, and SearchProductAsAdmin
APIs. This response contains the same fields as the ConnectionParameters
request, with the addition of the LastSync
response.
SupportDescription
The support information about the product.
public string SupportDescription { get; set; }
Property Value
System.String
Remarks
SupportEmail
The contact email for product support.
public string SupportEmail { get; set; }
Property Value
System.String
Remarks
SupportUrl
The contact URL for product support.
public string SupportUrl { get; set; }
Property Value
System.String
Remarks
^https?:///
/ is the pattern used to validate SupportUrl.