Skip to content
v2.278.0

RequiredFieldProperty Struct ​

List of fields that must have a value provided to create a case.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cases as cases } from 'aws-cdk-lib';
const requiredFieldProperty: cases.CfnTemplate.RequiredFieldProperty = {
  fieldId: 'fieldId',
};
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_cases as cases

required_field_property = cases.CfnTemplate.RequiredFieldProperty(
    field_id="fieldId"
)
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.cases.*;

RequiredFieldProperty requiredFieldProperty = RequiredFieldProperty.builder()
        .fieldId("fieldId")
        .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.Cases;

var requiredFieldProperty = new RequiredFieldProperty {
    FieldId = "fieldId"
};
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"

requiredFieldProperty := &RequiredFieldProperty{
	FieldId: jsii.String("fieldId"),
}

Properties ​

fieldIdstringfield_idstrfieldIdStringFieldIdstringFieldId*string required #
Unique identifier of a field.