# CfnTagOptionProps

Struct · External

Properties for defining a `CfnTagOption`.

Used as props by: [CfnTagOption](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_servicecatalog.CfnTagOption.html)

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_servicecatalog as servicecatalog } from 'aws-cdk-lib';
const cfnTagOptionProps: servicecatalog.CfnTagOptionProps = {
  key: 'key',
  value: 'value',

  // the properties below are optional
  active: false,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_servicecatalog as servicecatalog

cfn_tag_option_props = servicecatalog.CfnTagOptionProps(
    key="key",
    value="value",

    # the properties below are optional
    active=False
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.servicecatalog.*;

CfnTagOptionProps cfnTagOptionProps = CfnTagOptionProps.builder()
        .key("key")
        .value("value")

        // the properties below are optional
        .active(false)
        .build();
```

C#:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 cfnTagOptionProps = new CfnTagOptionProps {
    Key = "key",
    Value = "value",

    // the properties below are optional
    Active = false
};
```

Go:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnTagOptionProps := &CfnTagOptionProps{
	Key: jsii.String("key"),
	Value: jsii.String("value"),

	// the properties below are optional
	Active: jsii.Boolean(false),
}
```

## Properties

- `active`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — The TagOption active state.

- `key`: string (required) — The TagOption key.

- `value`: string (required) — The TagOption value.
