Skip to content
v2.278.0

CompositeSliConfigProperty Struct ​

Example ​

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
# 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
// 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();
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"
    } }
};
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 ​

compositeSliComponentsoptionalIResolvable | IResolvable | CfnServiceLevelObjective.CompositeSliComponentProperty[]composite_sli_componentsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CompositeSliComponentProperty]]]compositeSliComponentsoptionalIResolvableCompositeSliComponentsoptionalIResolvableCompositeSliComponentsoptionalinterface{} #
selectionConfigIResolvable | CfnServiceLevelObjective.SelectionConfigPropertyselection_configtyping.Union[IResolvable, SelectionConfigProperty]selectionConfigIResolvableSelectionConfigIResolvableSelectionConfiginterface{} required #