Class CfnSecurityControl.ParameterConfigurationProperty
An object that provides the current value of a security control parameter and identifies whether it has been customized.
Inherited Members
Namespace: Amazon.CDK.AWS.SecurityHub
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSecurityControl.ParameterConfigurationProperty : CfnSecurityControl.IParameterConfigurationProperty
Syntax (vb)
Public Class CfnSecurityControl.ParameterConfigurationProperty Implements CfnSecurityControl.IParameterConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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" }
}
};
Synopsis
Constructors
ParameterConfigurationProperty() | An object that provides the current value of a security control parameter and identifies whether it has been customized. |
Properties
Value | The current value of a control parameter. |
ValueType | Identifies whether a control parameter uses a custom user-defined value or subscribes to the default AWS Security Hub behavior. |
Constructors
ParameterConfigurationProperty()
An object that provides the current value of a security control parameter and identifies whether it has been customized.
public ParameterConfigurationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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" }
}
};
Properties
Value
The current value of a control parameter.
public object? Value { get; set; }
Property Value
Remarks
ValueType
Identifies whether a control parameter uses a custom user-defined value or subscribes to the default AWS Security Hub behavior.
public string ValueType { get; set; }
Property Value
Remarks
When ValueType
is set equal to DEFAULT
, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. When ValueType
is set equal to DEFAULT
, Security Hub ignores user-provided input for the Value
field.
When ValueType
is set equal to CUSTOM
, the Value
field can't be empty.