AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ServiceCatalog::TagOption

CfnTagOption

Specifies a TagOption. A TagOption is a key-value pair managed by AWS Service Catalog that serves as a template for creating an AWS tag.

Import

import { CfnTagOption } from 'aws-cdk-lib/aws-servicecatalog';

Or use the module namespace:

import * as servicecatalog from 'aws-cdk-lib/aws-servicecatalog';
// servicecatalog.CfnTagOption

Properties

Configuration passed to the constructor as CfnTagOptionProps.

keyRequired
string

The TagOption key.

valueRequired
string

The TagOption value.

activeOptional
boolean | IResolvable

The TagOption active state.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter