# CompositeSliConfigProperty

- Source: Generated at build time
- Type last changed: v2.258.0 · 4 Jun 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationsignals as applicationsignals } from 'aws-cdk-lib';
const compositeSliConfigProperty: applicationsignals.CfnServiceLevelObjective.CompositeSliConfigProperty = {
  selectionConfig: {
    type: 'type',

    // the properties below are optional
    pattern: 'pattern',
  },

  // the properties below are optional
  compositeSliComponents: [{
    operationName: 'operationName',
  }],
};
```

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_applicationsignals as applicationsignals

composite_sli_config_property = applicationsignals.CfnServiceLevelObjective.CompositeSliConfigProperty(
    selection_config=applicationsignals.CfnServiceLevelObjective.SelectionConfigProperty(
        type="type",

        # the properties below are optional
        pattern="pattern"
    ),

    # the properties below are optional
    composite_sli_components=[applicationsignals.CfnServiceLevelObjective.CompositeSliComponentProperty(
        operation_name="operationName"
    )]
)
```

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

CompositeSliConfigProperty compositeSliConfigProperty = CompositeSliConfigProperty.builder()
        .selectionConfig(SelectionConfigProperty.builder()
                .type("type")

                // the properties below are optional
                .pattern("pattern")
                .build())

        // the properties below are optional
        .compositeSliComponents(List.of(CompositeSliComponentProperty.builder()
                .operationName("operationName")
                .build()))
        .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.ApplicationSignals;

var compositeSliConfigProperty = new CompositeSliConfigProperty {
    SelectionConfig = new SelectionConfigProperty {
        Type = "type",

        // the properties below are optional
        Pattern = "pattern"
    },

    // the properties below are optional
    CompositeSliComponents = new [] { new CompositeSliComponentProperty {
        OperationName = "operationName"
    } }
};
```

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"

compositeSliConfigProperty := &CompositeSliConfigProperty{
	SelectionConfig: &SelectionConfigProperty{
		Type: jsii.String("type"),

		// the properties below are optional
		Pattern: jsii.String("pattern"),
	},

	// the properties below are optional
	CompositeSliComponents: []interface{}{
		&CompositeSliComponentProperty{
			OperationName: jsii.String("operationName"),
		},
	},
}
```

## Properties

- `compositeSliComponents`: [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) | [CfnServiceLevelObjective.CompositeSliComponentProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_applicationsignals.CfnServiceLevelObjective.CompositeSliComponentProperty.html)[]

- `selectionConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnServiceLevelObjective.SelectionConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_applicationsignals.CfnServiceLevelObjective.SelectionConfigProperty.html) (required)
