# FrameworkControlProperty

Contains detailed information about all of the controls of a framework.

Each framework must contain at least one control.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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';

declare const controlScope: any;
const frameworkControlProperty: backup.CfnFramework.FrameworkControlProperty = {
  controlName: 'controlName',

  // the properties below are optional
  controlInputParameters: [{
    parameterName: 'parameterName',
    parameterValue: 'parameterValue',
  }],
  controlScope: controlScope,
};
```

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_backup as backup

# control_scope: Any

framework_control_property = backup.CfnFramework.FrameworkControlProperty(
    control_name="controlName",

    # the properties below are optional
    control_input_parameters=[backup.CfnFramework.ControlInputParameterProperty(
        parameter_name="parameterName",
        parameter_value="parameterValue"
    )],
    control_scope=control_scope
)
```

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.backup.*;

Object controlScope;

FrameworkControlProperty frameworkControlProperty = FrameworkControlProperty.builder()
        .controlName("controlName")

        // the properties below are optional
        .controlInputParameters(List.of(ControlInputParameterProperty.builder()
                .parameterName("parameterName")
                .parameterValue("parameterValue")
                .build()))
        .controlScope(controlScope)
        .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.Backup;

var controlScope;

var frameworkControlProperty = new FrameworkControlProperty {
    ControlName = "controlName",

    // the properties below are optional
    ControlInputParameters = new [] { new ControlInputParameterProperty {
        ParameterName = "parameterName",
        ParameterValue = "parameterValue"
    } },
    ControlScope = controlScope
};
```

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"

var controlScope interface{}

frameworkControlProperty := &FrameworkControlProperty{
	ControlName: jsii.String("controlName"),

	// the properties below are optional
	ControlInputParameters: []interface{}{
		&ControlInputParameterProperty{
			ParameterName: jsii.String("parameterName"),
			ParameterValue: jsii.String("parameterValue"),
		},
	},
	ControlScope: controlScope,
}
```

## Properties

- `controlInputParameters`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFramework.ControlInputParameterProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_backup.CfnFramework.ControlInputParameterProperty.html)[] — The name/value pairs.

- `controlName`: string (required) — The name of a control.

  This name is between 1 and 256 characters.

- `controlScope`: any — The scope of a control.

  The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans.

  For more information, see [`ControlScope` .](https://docs.aws.amazon.com/aws-backup/latest/devguide/API_ControlScope.html)
