Skip to content
v2.278.0

EnabledControlParameterProperty Struct ​

A set of parameters that configure the behavior of the enabled control.

Expressed as a key/value pair, where Key is of type String and Value is of type Document .

Example ​

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 enabledControlParameterProperty: controltower.CfnEnabledControl.EnabledControlParameterProperty = {
  key: 'key',
  value: value,
};
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_controltower as controltower

# value: Any

enabled_control_parameter_property = controltower.CfnEnabledControl.EnabledControlParameterProperty(
    key="key",
    value=value
)
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;

EnabledControlParameterProperty enabledControlParameterProperty = EnabledControlParameterProperty.builder()
        .key("key")
        .value(value)
        .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.ControlTower;

var value;

var enabledControlParameterProperty = new EnabledControlParameterProperty {
    Key = "key",
    Value = value
};
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{}

enabledControlParameterProperty := &EnabledControlParameterProperty{
	Key: jsii.String("key"),
	Value: value,
}

Properties ​

keystringkeystrkeyStringKeystringKey*string required #
The key of a key/value pair.

It is of type string .

valueanyvalueAnyvalueObjectValueobjectValueinterface{} required #
The value of a key/value pair.

It can be of type array , string , number , object , or boolean . [Note: The Type field that follows may show a single type such as Number, which is only one possible type.]