Skip to content
v2.277.0

ControlInputParameterProperty Struct ​

The parameters for a control.

A control can have zero, one, or more than one parameter. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year ". The first parameter is daily . The second parameter is 1 year .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_backup as backup } from 'aws-cdk-lib';
const controlInputParameterProperty: backup.CfnFramework.ControlInputParameterProperty = {
  parameterName: 'parameterName',
  parameterValue: 'parameterValue',
};
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_backup as backup

control_input_parameter_property = backup.CfnFramework.ControlInputParameterProperty(
    parameter_name="parameterName",
    parameter_value="parameterValue"
)
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.backup.*;

ControlInputParameterProperty controlInputParameterProperty = ControlInputParameterProperty.builder()
        .parameterName("parameterName")
        .parameterValue("parameterValue")
        .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.Backup;

var controlInputParameterProperty = new ControlInputParameterProperty {
    ParameterName = "parameterName",
    ParameterValue = "parameterValue"
};
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"

controlInputParameterProperty := &ControlInputParameterProperty{
	ParameterName: jsii.String("parameterName"),
	ParameterValue: jsii.String("parameterValue"),
}

Properties ​

parameterNamestringparameter_namestrparameterNameStringParameterNamestringParameterName*stringrequired#
The name of a parameter, for example, `BackupPlanFrequency` .
parameterValuestringparameter_valuestrparameterValueStringParameterValuestringParameterValue*stringrequired#
The value of parameter, for example, `hourly` .