Class CloudFormationProduct
A Service Catalog Cloudformation Product.
Inherited Members
Namespace: Amazon.CDK.AWS.ServiceCatalog
Assembly: Amazon.CDK.AWS.ServiceCatalog.dll
Syntax (csharp)
public class CloudFormationProduct : Product, IProduct, IResource, IConstruct, IDependable
Syntax (vb)
Public Class CloudFormationProduct
Inherits Product
Implements IProduct, IResource, IConstruct, IDependable
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.S3;
using Amazon.CDK;
class S3BucketProduct : ProductStack
{
public S3BucketProduct(Construct scope, string id) : base(scope, id)
{
new Bucket(this, "BucketProduct");
}
}
var product = new CloudFormationProduct(this, "Product", new CloudFormationProductProps {
ProductName = "My Product",
Owner = "Product Owner",
ProductVersions = new [] { new CloudFormationProductVersion {
ProductVersionName = "v1",
CloudFormationTemplate = CloudFormationTemplate.FromProductStack(new S3BucketProduct(this, "S3BucketProduct"))
} }
});
Synopsis
Constructors
CloudFormationProduct(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CloudFormationProduct(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CloudFormationProduct(Construct, String, ICloudFormationProductProps) |
Properties
ProductArn | The ARN of the product. |
ProductId | The id of the product. |
Constructors
CloudFormationProduct(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CloudFormationProduct(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CloudFormationProduct(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CloudFormationProduct(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CloudFormationProduct(Construct, String, ICloudFormationProductProps)
public CloudFormationProduct(Construct scope, string id, ICloudFormationProductProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props ICloudFormationProductProps
Properties
ProductArn
The ARN of the product.
public override string ProductArn { get; }
Property Value
System.String
Overrides
ProductId
The id of the product.
public override string ProductId { get; }
Property Value
System.String
Overrides
Implements
Constructs.IConstruct