We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
A field in the Cases domain. This field is used to define the case object model (that is, defines what data can be captured on cases) in a Cases domain.
Create Field Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Field(name: string, args: FieldArgs, opts?: CustomResourceOptions);@overload
def Field(resource_name: str,
args: FieldArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Field(resource_name: str,
opts: Optional[ResourceOptions] = None,
type: Optional[FieldType] = None,
attributes: Optional[FieldAttributesArgs] = None,
description: Optional[str] = None,
domain_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewField(ctx *Context, name string, args FieldArgs, opts ...ResourceOption) (*Field, error)public Field(string name, FieldArgs args, CustomResourceOptions? opts = null)type: aws-native:cases:Field
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_cases_field" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FieldArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FieldArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FieldArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FieldArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FieldArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Field Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Field resource accepts the following input properties:
- Type
Pulumi.
Aws Native. Cases. Field Type - Type of the field.
- Attributes
Pulumi.
Aws Native. Cases. Inputs. Field Attributes - Field-type specific attributes that control rendering and validation behavior
- Description string
- A description explaining the purpose and usage of this field in cases. Helps agents and administrators understand what information should be captured in this field.
- Domain
Id string - The unique identifier of the Cases domain.
- Name string
- The display name of the field as it appears to agents in the case interface. Should be descriptive and user-friendly (e.g., 'Customer Priority Level', 'Issue Category').
-
List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Type
Field
Type - Type of the field.
- Attributes
Field
Attributes Args - Field-type specific attributes that control rendering and validation behavior
- Description string
- A description explaining the purpose and usage of this field in cases. Helps agents and administrators understand what information should be captured in this field.
- Domain
Id string - The unique identifier of the Cases domain.
- Name string
- The display name of the field as it appears to agents in the case interface. Should be descriptive and user-friendly (e.g., 'Customer Priority Level', 'Issue Category').
-
Tag
Args - An array of key-value pairs to apply to this resource.
- type
"Text" | "Number" | "Boolean" | "Date
Time" | "Single Select" | "Url" | "User" - Type of the field.
- attributes object
- Field-type specific attributes that control rendering and validation behavior
- description string
- A description explaining the purpose and usage of this field in cases. Helps agents and administrators understand what information should be captured in this field.
- domain_
id string - The unique identifier of the Cases domain.
- name string
- The display name of the field as it appears to agents in the case interface. Should be descriptive and user-friendly (e.g., 'Customer Priority Level', 'Issue Category').
- list(object)
- An array of key-value pairs to apply to this resource.
- type
Field
Type - Type of the field.
- attributes
Field
Attributes - Field-type specific attributes that control rendering and validation behavior
- description String
- A description explaining the purpose and usage of this field in cases. Helps agents and administrators understand what information should be captured in this field.
- domain
Id String - The unique identifier of the Cases domain.
- name String
- The display name of the field as it appears to agents in the case interface. Should be descriptive and user-friendly (e.g., 'Customer Priority Level', 'Issue Category').
- List<Tag>
- An array of key-value pairs to apply to this resource.
- type
Field
Type - Type of the field.
- attributes
Field
Attributes - Field-type specific attributes that control rendering and validation behavior
- description string
- A description explaining the purpose and usage of this field in cases. Helps agents and administrators understand what information should be captured in this field.
- domain
Id string - The unique identifier of the Cases domain.
- name string
- The display name of the field as it appears to agents in the case interface. Should be descriptive and user-friendly (e.g., 'Customer Priority Level', 'Issue Category').
- Tag[]
- An array of key-value pairs to apply to this resource.
- type
Field
Type - Type of the field.
- attributes
Field
Attributes Args - Field-type specific attributes that control rendering and validation behavior
- description str
- A description explaining the purpose and usage of this field in cases. Helps agents and administrators understand what information should be captured in this field.
- domain_
id str - The unique identifier of the Cases domain.
- name str
- The display name of the field as it appears to agents in the case interface. Should be descriptive and user-friendly (e.g., 'Customer Priority Level', 'Issue Category').
-
Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- type
"Text" | "Number" | "Boolean" | "Date
Time" | "Single Select" | "Url" | "User" - Type of the field.
- attributes Property Map
- Field-type specific attributes that control rendering and validation behavior
- description String
- A description explaining the purpose and usage of this field in cases. Helps agents and administrators understand what information should be captured in this field.
- domain
Id String - The unique identifier of the Cases domain.
- name String
- The display name of the field as it appears to agents in the case interface. Should be descriptive and user-friendly (e.g., 'Customer Priority Level', 'Issue Category').
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Field resource produces the following output properties:
- Created
Time string - The time at which the field was created.
- Field
Arn string - The Amazon Resource Name (ARN) of the field.
- Field
Id string - The unique identifier of a field.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - The time at which the field was created or last modified.
- Namespace
Pulumi.
Aws Native. Cases. Field Namespace - Indicates whether this is a System field (predefined by AWS) or a Custom field (created by your organization). System fields cannot be modified or deleted.
- Created
Time string - The time at which the field was created.
- Field
Arn string - The Amazon Resource Name (ARN) of the field.
- Field
Id string - The unique identifier of a field.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - The time at which the field was created or last modified.
- Namespace
Field
Namespace - Indicates whether this is a System field (predefined by AWS) or a Custom field (created by your organization). System fields cannot be modified or deleted.
- created_
time string - The time at which the field was created.
- field_
arn string - The Amazon Resource Name (ARN) of the field.
- field_
id string - The unique identifier of a field.
- id string
- The provider-assigned unique ID for this managed resource.
- last_
modified_ stringtime - The time at which the field was created or last modified.
- namespace "System" | "Custom"
- Indicates whether this is a System field (predefined by AWS) or a Custom field (created by your organization). System fields cannot be modified or deleted.
- created
Time String - The time at which the field was created.
- field
Arn String - The Amazon Resource Name (ARN) of the field.
- field
Id String - The unique identifier of a field.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringTime - The time at which the field was created or last modified.
- namespace
Field
Namespace - Indicates whether this is a System field (predefined by AWS) or a Custom field (created by your organization). System fields cannot be modified or deleted.
- created
Time string - The time at which the field was created.
- field
Arn string - The Amazon Resource Name (ARN) of the field.
- field
Id string - The unique identifier of a field.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringTime - The time at which the field was created or last modified.
- namespace
Field
Namespace - Indicates whether this is a System field (predefined by AWS) or a Custom field (created by your organization). System fields cannot be modified or deleted.
- created_
time str - The time at which the field was created.
- field_
arn str - The Amazon Resource Name (ARN) of the field.
- field_
id str - The unique identifier of a field.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strtime - The time at which the field was created or last modified.
- namespace
Field
Namespace - Indicates whether this is a System field (predefined by AWS) or a Custom field (created by your organization). System fields cannot be modified or deleted.
- created
Time String - The time at which the field was created.
- field
Arn String - The Amazon Resource Name (ARN) of the field.
- field
Id String - The unique identifier of a field.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringTime - The time at which the field was created or last modified.
- namespace "System" | "Custom"
- Indicates whether this is a System field (predefined by AWS) or a Custom field (created by your organization). System fields cannot be modified or deleted.
Look up Existing Field Resource
Get an existing Field resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Field@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Fieldfunc GetField(ctx *Context, name string, id IDInput, state *FieldState, opts ...ResourceOption) (*Field, error)public static Field Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Field get(String name, Output<String> id, CustomResourceOptions options)resources: existingField: type: aws-native:cases:Field get: id: ${id}import {
to = aws-native_cases_field.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state FieldState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
FieldAttributes, FieldAttributesArgs
Union of field attributes
FieldNamespace
Indicates whether this is a System field (predefined by AWS) or a Custom field (created by your organization). System fields cannot be modified or deleted.
| Name | Value |
|---|---|
| System | System |
| Custom | Custom |
| Name | Value |
|---|---|
| Field | System |
| Field | Custom |
| Value |
|---|
System |
Custom |
| Name | Value |
|---|---|
| System | System |
| Custom | Custom |
| Name | Value |
|---|---|
| System | System |
| Custom | Custom |
| Name | Value |
|---|---|
| SYSTEM | System |
| CUSTOM | Custom |
| Value |
|---|
System |
Custom |
FieldTextAttributes, FieldTextAttributesArgs
Field attributes for Text field type
- Is
Multiline bool - Attribute that defines rendering component and validation
- Is
Multiline bool - Attribute that defines rendering component and validation
- is_
multiline bool - Attribute that defines rendering component and validation
- is
Multiline Boolean - Attribute that defines rendering component and validation
- is
Multiline boolean - Attribute that defines rendering component and validation
- is_
multiline bool - Attribute that defines rendering component and validation
- is
Multiline Boolean - Attribute that defines rendering component and validation
FieldType
The data type of the field, which determines validation rules, input constraints, and display format. Each type has specific constraints: Text (string input), Number (numeric values), Boolean (true/false), DateTime (date/time picker), SingleSelect (dropdown options), Url (URL validation), User (Amazon Connect user selection).
| Name | Value |
|---|---|
| Text | Text |
| Number | Number |
| Boolean | Boolean |
| Date | DateTime |
| Single | SingleSelect |
| Url | Url |
| User | User |
| Name | Value |
|---|---|
| Field | Text |
| Field | Number |
| Field | Boolean |
| Field | DateTime |
| Field | SingleSelect |
| Field | Url |
| Field | User |
| Value |
|---|
Text |
Number |
Boolean |
DateTime |
SingleSelect |
Url |
User |
| Name | Value |
|---|---|
| Text | Text |
| Number | Number |
| Boolean | Boolean |
| Date | DateTime |
| Single | SingleSelect |
| Url | Url |
| User | User |
| Name | Value |
|---|---|
| Text | Text |
| Number | Number |
| Boolean | Boolean |
| Date | DateTime |
| Single | SingleSelect |
| Url | Url |
| User | User |
| Name | Value |
|---|---|
| TEXT | Text |
| NUMBER | Number |
| BOOLEAN | Boolean |
| DATE_TIME | DateTime |
| SINGLE_SELECT | SingleSelect |
| URL | Url |
| USER | User |
| Value |
|---|
Text |
Number |
Boolean |
DateTime |
SingleSelect |
Url |
User |
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi