Class Product
Abstract class for Service Catalog Product.
Inherited Members
Namespace: Amazon.CDK.AWS.Servicecatalog
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class Product : Resource, IProduct, IResource, IConstruct, IDependable
Syntax (vb)
Public MustInherit Class Product Inherits Resource Implements IProduct, IResource, IConstruct, IDependable
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 product = Product.FromProductArn(this, "MyProduct", "productArn");
Synopsis
Constructors
Product(Construct, string, IResourceProps?) | Abstract class for Service Catalog Product. |
Properties
AssetBuckets | The asset buckets of a product created via product stack. |
ProductArn | The ARN of the product. |
ProductId | The id of the product. |
Methods
AssociateTagOptions(TagOptions) | Associate Tag Options. |
FromProductArn(Construct, string, string) | Creates a Product construct that represents an external product. |
Constructors
Product(Construct, string, IResourceProps?)
Abstract class for Service Catalog Product.
protected Product(Construct scope, string id, IResourceProps? props = null)
Parameters
- scope Construct
- id string
- props IResourceProps
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 product = Product.FromProductArn(this, "MyProduct", "productArn");
Properties
AssetBuckets
The asset buckets of a product created via product stack.
public abstract IBucket[] AssetBuckets { get; }
Property Value
IBucket[]
Remarks
ExampleMetadata: fixture=_generated
ProductArn
The ARN of the product.
public abstract string ProductArn { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
ProductId
The id of the product.
public abstract string ProductId { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
Methods
AssociateTagOptions(TagOptions)
Associate Tag Options.
public virtual void AssociateTagOptions(TagOptions tagOptions)
Parameters
- tagOptions TagOptions
Remarks
A TagOption is a key-value pair managed in AWS Service Catalog. It is not an AWS tag, but serves as a template for creating an AWS tag based on the TagOption.
FromProductArn(Construct, string, string)
Creates a Product construct that represents an external product.
public static IProduct FromProductArn(Construct scope, string id, string productArn)
Parameters
- scope Construct
The parent creating construct (usually
this
).- id string
The construct's name.
- productArn string
Product Arn.
Returns
Remarks
ExampleMetadata: fixture=_generated