# CfnEnabledBaselineProps

Properties for defining a `CfnEnabledBaseline`.

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

- Source: Generated at build time
- Type last changed: v2.129.0 · 21 Feb 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_controltower as controltower } from 'aws-cdk-lib';

declare const value: any;
const cfnEnabledBaselineProps: controltower.CfnEnabledBaselineProps = {
  baselineIdentifier: 'baselineIdentifier',
  baselineVersion: 'baselineVersion',
  targetIdentifier: 'targetIdentifier',

  // the properties below are optional
  parameters: [{
    key: 'key',
    value: value,
  }],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

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

# value: Any

cfn_enabled_baseline_props = controltower.CfnEnabledBaselineProps(
    baseline_identifier="baselineIdentifier",
    baseline_version="baselineVersion",
    target_identifier="targetIdentifier",

    # the properties below are optional
    parameters=[controltower.CfnEnabledBaseline.ParameterProperty(
        key="key",
        value=value
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

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.controltower.*;

Object value;

CfnEnabledBaselineProps cfnEnabledBaselineProps = CfnEnabledBaselineProps.builder()
        .baselineIdentifier("baselineIdentifier")
        .baselineVersion("baselineVersion")
        .targetIdentifier("targetIdentifier")

        // the properties below are optional
        .parameters(List.of(ParameterProperty.builder()
                .key("key")
                .value(value)
                .build()))
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```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.ControlTower;

var value;

var cfnEnabledBaselineProps = new CfnEnabledBaselineProps {
    BaselineIdentifier = "baselineIdentifier",
    BaselineVersion = "baselineVersion",
    TargetIdentifier = "targetIdentifier",

    // the properties below are optional
    Parameters = new [] { new ParameterProperty {
        Key = "key",
        Value = value
    } },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```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"

var value interface{}

cfnEnabledBaselineProps := &CfnEnabledBaselineProps{
	BaselineIdentifier: jsii.String("baselineIdentifier"),
	BaselineVersion: jsii.String("baselineVersion"),
	TargetIdentifier: jsii.String("targetIdentifier"),

	// the properties below are optional
	Parameters: []interface{}{
		&ParameterProperty{
			Key: jsii.String("key"),
			Value: value,
		},
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `baselineIdentifier`: string (required) — The specific `Baseline` enabled as part of the `EnabledBaseline` resource.

- `baselineVersion`: string (required) — The enabled version of the `Baseline` .

- `parameters`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnEnabledBaseline.ParameterProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_controltower.CfnEnabledBaseline.ParameterProperty.html)[] — Shows the parameters that are applied when enabling this `Baseline` .

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[]

- `targetIdentifier`: string (required) — The target on which to enable the `Baseline` .
