Class CfnTagOption
Specifies a TagOption.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Servicecatalog
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTagOption : CfnResource, IInspectable
Syntax (vb)
Public Class CfnTagOption Inherits CfnResource Implements IInspectable
Remarks
A TagOption is a key-value pair managed by AWS Service Catalog that serves as a template for creating an AWS tag.
CloudformationResource: AWS::ServiceCatalog::TagOption
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 cfnTagOption = new CfnTagOption(this, "MyCfnTagOption", new CfnTagOptionProps {
Key = "key",
Value = "value",
// the properties below are optional
Active = false
});
Synopsis
Constructors
CfnTagOption(Construct, string, ICfnTagOptionProps) | Specifies a TagOption. |
Properties
Active | The TagOption active state. |
AttrId | The TagOption identifier. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | Specifies a TagOption. |
Key | The TagOption key. |
Value | The TagOption value. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | Specifies a TagOption. |
Constructors
CfnTagOption(Construct, string, ICfnTagOptionProps)
Specifies a TagOption.
public CfnTagOption(Construct scope, string id, ICfnTagOptionProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnTagOptionProps
Resource properties.
Remarks
A TagOption is a key-value pair managed by AWS Service Catalog that serves as a template for creating an AWS tag.
CloudformationResource: AWS::ServiceCatalog::TagOption
ExampleMetadata: fixture=_generated
Properties
Active
The TagOption active state.
public virtual object? Active { get; set; }
Property Value
Remarks
A TagOption is a key-value pair managed by AWS Service Catalog that serves as a template for creating an AWS tag.
CloudformationResource: AWS::ServiceCatalog::TagOption
ExampleMetadata: fixture=_generated
AttrId
The TagOption identifier.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
A TagOption is a key-value pair managed by AWS Service Catalog that serves as a template for creating an AWS tag.
CloudformationResource: AWS::ServiceCatalog::TagOption
ExampleMetadata: fixture=_generated
CfnProperties
Specifies a TagOption.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
A TagOption is a key-value pair managed by AWS Service Catalog that serves as a template for creating an AWS tag.
CloudformationResource: AWS::ServiceCatalog::TagOption
ExampleMetadata: fixture=_generated
Key
The TagOption key.
public virtual string Key { get; set; }
Property Value
Remarks
A TagOption is a key-value pair managed by AWS Service Catalog that serves as a template for creating an AWS tag.
CloudformationResource: AWS::ServiceCatalog::TagOption
ExampleMetadata: fixture=_generated
Value
The TagOption value.
public virtual string Value { get; set; }
Property Value
Remarks
A TagOption is a key-value pair managed by AWS Service Catalog that serves as a template for creating an AWS tag.
CloudformationResource: AWS::ServiceCatalog::TagOption
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
A TagOption is a key-value pair managed by AWS Service Catalog that serves as a template for creating an AWS tag.
CloudformationResource: AWS::ServiceCatalog::TagOption
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Specifies a TagOption.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
A TagOption is a key-value pair managed by AWS Service Catalog that serves as a template for creating an AWS tag.
CloudformationResource: AWS::ServiceCatalog::TagOption
ExampleMetadata: fixture=_generated