# ParameterValueProperty

An object that includes the data type of a security control parameter and its current value.

- 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 parameterValueProperty: securityhub.CfnSecurityControl.ParameterValueProperty = {
  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_value_property = 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.*;

ParameterValueProperty parameterValueProperty = 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();
```

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 parameterValueProperty = 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"

parameterValueProperty := &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

- `boolean`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — A control parameter that is a boolean.

- `double`: number — A control parameter that is a double.

- `enum`: string — A control parameter that is an enum.

- `enumList`: string[] — A control parameter that is a list of enums.

- `integer`: number — A control parameter that is an integer.

- `integerList`: number[] | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — A control parameter that is a list of integers.

- `string`: string — A control parameter that is a string.

- `stringList`: string[] — A control parameter that is a list of strings.
