# ParameterConfigurationProperty

An object that provides the current value of a security control parameter and identifies whether it has been customized.

- Source: Generated at build time
- Type last changed: v2.159.0 · 19 Sep 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_securityhub as securityhub } from 'aws-cdk-lib';
const parameterConfigurationProperty: securityhub.CfnSecurityControl.ParameterConfigurationProperty = {
  valueType: 'valueType',

  // the properties below are optional
  value: {
    boolean: false,
    double: 123,
    enum: 'enum',
    enumList: ['enumList'],
    integer: 123,
    integerList: [123],
    string: 'string',
    stringList: ['stringList'],
  },
};
```

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_securityhub as securityhub

parameter_configuration_property = securityhub.CfnSecurityControl.ParameterConfigurationProperty(
    value_type="valueType",

    # the properties below are optional
    value=securityhub.CfnSecurityControl.ParameterValueProperty(
        boolean=False,
        double=123,
        enum="enum",
        enum_list=["enumList"],
        integer=123,
        integer_list=[123],
        string="string",
        string_list=["stringList"]
    )
)
```

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

ParameterConfigurationProperty parameterConfigurationProperty = ParameterConfigurationProperty.builder()
        .valueType("valueType")

        // the properties below are optional
        .value(ParameterValueProperty.builder()
                .boolean(false)
                .double(123)
                .enum("enum")
                .enumList(List.of("enumList"))
                .integer(123)
                .integerList(List.of(123))
                .string("string")
                .stringList(List.of("stringList"))
                .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.SecurityHub;

var parameterConfigurationProperty = new ParameterConfigurationProperty {
    ValueType = "valueType",

    // the properties below are optional
    Value = new ParameterValueProperty {
        Boolean = false,
        Double = 123,
        Enum = "enum",
        EnumList = new [] { "enumList" },
        Integer = 123,
        IntegerList = new [] { 123 },
        String = "string",
        StringList = new [] { "stringList" }
    }
};
```

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"

parameterConfigurationProperty := &ParameterConfigurationProperty{
	ValueType: jsii.String("valueType"),

	// the properties below are optional
	Value: &ParameterValueProperty{
		Boolean: jsii.Boolean(false),
		Double: jsii.Number(123),
		Enum: jsii.String("enum"),
		EnumList: []*string{
			jsii.String("enumList"),
		},
		Integer: jsii.Number(123),
		IntegerList: []interface{}{
			jsii.Number(123),
		},
		String: jsii.String("string"),
		StringList: []*string{
			jsii.String("stringList"),
		},
	},
}
```

## Properties

- `value`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSecurityControl.ParameterValueProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_securityhub.CfnSecurityControl.ParameterValueProperty.html) — The current value of a control parameter.

- `valueType`: string (required) — Identifies whether a control parameter uses a custom user-defined value or subscribes to the default AWS Security Hub CSPM behavior.

  When `ValueType` is set equal to `DEFAULT` , the default behavior can be a specific Security Hub CSPM default value, or the default behavior can be to ignore a specific parameter. When `ValueType` is set equal to `DEFAULT` , Security Hub CSPM ignores user-provided input for the `Value` field.

  When `ValueType` is set equal to `CUSTOM` , the `Value` field can't be empty.
