Skip to content
v2.277.0

RequiredFieldInfoProperty Struct ​

Information about a required field.

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 requiredFieldInfoProperty: connect.CfnTaskTemplate.RequiredFieldInfoProperty = {
  id: {
    name: 'name',
  },
};
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

required_field_info_property = connect.CfnTaskTemplate.RequiredFieldInfoProperty(
    id=connect.CfnTaskTemplate.FieldIdentifierProperty(
        name="name"
    )
)
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.*;

RequiredFieldInfoProperty requiredFieldInfoProperty = RequiredFieldInfoProperty.builder()
        .id(FieldIdentifierProperty.builder()
                .name("name")
                .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 requiredFieldInfoProperty = new RequiredFieldInfoProperty {
    Id = new FieldIdentifierProperty {
        Name = "name"
    }
};
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"

requiredFieldInfoProperty := &RequiredFieldInfoProperty{
	Id: &FieldIdentifierProperty{
		Name: jsii.String("name"),
	},
}

Properties ​

The unique identifier for the field.