Skip to content
v2.278.0

CaseSlaConfigurationProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const caseSlaConfigurationProperty: connect.CfnRule.CaseSlaConfigurationProperty = {
  name: 'name',
  targetSlaMinutes: 123,
  type: 'type',

  // the properties below are optional
  fieldId: 'fieldId',
  targetFieldValues: [{
    stringValue: 'stringValue',
  }],
};
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_connect as connect

case_sla_configuration_property = connect.CfnRule.CaseSlaConfigurationProperty(
    name="name",
    target_sla_minutes=123,
    type="type",

    # the properties below are optional
    field_id="fieldId",
    target_field_values=[connect.CfnRule.SlaTargetFieldValueProperty(
        string_value="stringValue"
    )]
)
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.connect.*;

CaseSlaConfigurationProperty caseSlaConfigurationProperty = CaseSlaConfigurationProperty.builder()
        .name("name")
        .targetSlaMinutes(123)
        .type("type")

        // the properties below are optional
        .fieldId("fieldId")
        .targetFieldValues(List.of(SlaTargetFieldValueProperty.builder()
                .stringValue("stringValue")
                .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.Connect;

var caseSlaConfigurationProperty = new CaseSlaConfigurationProperty {
    Name = "name",
    TargetSlaMinutes = 123,
    Type = "type",

    // the properties below are optional
    FieldId = "fieldId",
    TargetFieldValues = new [] { new SlaTargetFieldValueProperty {
        StringValue = "stringValue"
    } }
};
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"

caseSlaConfigurationProperty := &CaseSlaConfigurationProperty{
	Name: jsii.String("name"),
	TargetSlaMinutes: jsii.Number(123),
	Type: jsii.String("type"),

	// the properties below are optional
	FieldId: jsii.String("fieldId"),
	TargetFieldValues: []interface{}{
		&SlaTargetFieldValueProperty{
			StringValue: jsii.String("stringValue"),
		},
	},
}

Properties ​

fieldIdoptionalstringfield_idoptionalstrfieldIdoptionalStringFieldIdoptionalstringFieldIdoptional*string #
The field Id for the SLA.
namestringnamestrnameStringNamestringName*string required #
The name of the SLA.
targetFieldValuesoptionalIResolvable | IResolvable | CfnRule.SlaTargetFieldValueProperty[]target_field_valuesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SlaTargetFieldValueProperty]]]targetFieldValuesoptionalIResolvableTargetFieldValuesoptionalIResolvableTargetFieldValuesoptionalinterface{} #
The target field values for the SLA.
targetSlaMinutesnumbertarget_sla_minutesint | floattargetSlaMinutesNumberTargetSlaMinutesdoubleTargetSlaMinutes*float64 required #
The target SLA time in minutes.
typestringtypestrtypeStringTypestringType*string required #
The type of SLA.