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
Syntax (vb)
Public MustInherit Class Product
Inherits Resource
Implements IProduct, IResource
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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Product(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Product(Construct, String, IResourceProps) |
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(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Product(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Product(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Product(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Product(Construct, String, IResourceProps)
protected Product(Construct scope, string id, IResourceProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props IResourceProps
Properties
AssetBuckets
The asset buckets of a product created via product stack.
public abstract IBucket[] AssetBuckets { get; }
Property Value
IBucket[]
ProductArn
The ARN of the product.
public abstract string ProductArn { get; }
Property Value
System.String
ProductId
The id of the product.
public abstract string ProductId { get; }
Property Value
System.String
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 Constructs.Construct
The parent creating construct (usually
this
).- id System.String
The construct's name.
- productArn System.String
Product Arn.
Returns