Skip to content
v2.277.0

ParameterValueProperty Struct ​

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

Example ​

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
# 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
// 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();
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" }
};
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 ​

booleanoptionalboolean | IResolvablebooleanoptionaltyping.Union[bool, IResolvable]booleanoptionalBooleanBooleanoptionalboolBooleanoptionalinterface{} #
A control parameter that is a boolean.
doubleoptionalnumberdoubleoptionalint | floatdoubleoptionalNumberDoubleoptionaldoubleDoubleoptional*float64 #
A control parameter that is a double.
enumoptionalstringenumoptionalstrenumoptionalStringEnumoptionalstringEnumoptional*string #
A control parameter that is an enum.
enumListoptionalstring[]enum_listoptionaltyping.List[str]enumListoptionalList<String>EnumListoptionalstring[]EnumListoptional*[]*string #
A control parameter that is a list of enums.
integeroptionalnumberintegeroptionalint | floatintegeroptionalNumberIntegeroptionaldoubleIntegeroptional*float64 #
A control parameter that is an integer.
integerListoptionalnumber[] | IResolvableinteger_listoptionaltyping.Union[typing.List[int | float], IResolvable]integerListoptionalList<Number>IntegerListoptionaldouble[]IntegerListoptionalinterface{} #
A control parameter that is a list of integers.
stringoptionalstringstringoptionalstrstringoptionalStringStringoptionalstringStringoptional*string #
A control parameter that is a string.
stringListoptionalstring[]string_listoptionaltyping.List[str]stringListoptionalList<String>StringListoptionalstring[]StringListoptional*[]*string #
A control parameter that is a list of strings.