We recommend new projects start with resources from the AWS provider.
We recommend new projects start with resources from the AWS provider.
A template in the Cases domain. This template is used to define the case object model (that is, to define what data can be captured on cases) in a Cases domain. A template must have a unique name within a domain, and it must reference existing field IDs and layout IDs.
Using getTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTemplate(args: GetTemplateArgs, opts?: InvokeOptions): Promise<GetTemplateResult>
function getTemplateOutput(args: GetTemplateOutputArgs, opts?: InvokeOptions): Output<GetTemplateResult>def get_template(template_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTemplateResult
def get_template_output(template_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTemplateResult]func LookupTemplate(ctx *Context, args *LookupTemplateArgs, opts ...InvokeOption) (*LookupTemplateResult, error)
func LookupTemplateOutput(ctx *Context, args *LookupTemplateOutputArgs, opts ...InvokeOption) LookupTemplateResultOutput> Note: This function is named LookupTemplate in the Go SDK.
public static class GetTemplate
{
public static Task<GetTemplateResult> InvokeAsync(GetTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetTemplateResult> Invoke(GetTemplateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTemplateResult> getTemplate(GetTemplateArgs args, InvokeOptions options)
public static Output<GetTemplateResult> getTemplate(GetTemplateArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:cases:getTemplate
arguments:
# arguments dictionaryThe following arguments are supported:
- Template
Arn string - The Amazon Resource Name (ARN) of the template.
- Template
Arn string - The Amazon Resource Name (ARN) of the template.
- template
Arn String - The Amazon Resource Name (ARN) of the template.
- template
Arn string - The Amazon Resource Name (ARN) of the template.
- template_
arn str - The Amazon Resource Name (ARN) of the template.
- template
Arn String - The Amazon Resource Name (ARN) of the template.
getTemplate Result
The following output properties are available:
- Created
Time string - The time at which the template was created.
- Description string
- A description explaining the purpose and use case for this template. Should indicate what types of cases this template is designed for and any specific workflow it supports.
- Last
Modified stringTime - The time at which the template was created or last modified.
- Layout
Configuration Pulumi.Aws Native. Cases. Outputs. Template Layout Configuration - Name string
- A name for the template. It must be unique per domain.
- Required
Fields List<Pulumi.Aws Native. Cases. Outputs. Template Required Field> - A list of fields that must contain a value for a case to be successfully created with this template.
- Rules
List<Pulumi.
Aws Native. Cases. Outputs. Template Rule> - A list of case rules (also known as case field conditions) on a template.
- Status
Pulumi.
Aws Native. Cases. Template Status -
List<Pulumi.
Aws Native. Outputs. Tag> - The tags that you attach to this template.
- Template
Arn string - The Amazon Resource Name (ARN) of the template.
- Template
Id string - The unique identifier of a template.
- Created
Time string - The time at which the template was created.
- Description string
- A description explaining the purpose and use case for this template. Should indicate what types of cases this template is designed for and any specific workflow it supports.
- Last
Modified stringTime - The time at which the template was created or last modified.
- Layout
Configuration TemplateLayout Configuration - Name string
- A name for the template. It must be unique per domain.
- Required
Fields []TemplateRequired Field - A list of fields that must contain a value for a case to be successfully created with this template.
- Rules
[]Template
Rule - A list of case rules (also known as case field conditions) on a template.
- Status
Template
Status - Tag
- The tags that you attach to this template.
- Template
Arn string - The Amazon Resource Name (ARN) of the template.
- Template
Id string - The unique identifier of a template.
- created
Time String - The time at which the template was created.
- description String
- A description explaining the purpose and use case for this template. Should indicate what types of cases this template is designed for and any specific workflow it supports.
- last
Modified StringTime - The time at which the template was created or last modified.
- layout
Configuration TemplateLayout Configuration - name String
- A name for the template. It must be unique per domain.
- required
Fields List<TemplateRequired Field> - A list of fields that must contain a value for a case to be successfully created with this template.
- rules
List<Template
Rule> - A list of case rules (also known as case field conditions) on a template.
- status
Template
Status - List<Tag>
- The tags that you attach to this template.
- template
Arn String - The Amazon Resource Name (ARN) of the template.
- template
Id String - The unique identifier of a template.
- created
Time string - The time at which the template was created.
- description string
- A description explaining the purpose and use case for this template. Should indicate what types of cases this template is designed for and any specific workflow it supports.
- last
Modified stringTime - The time at which the template was created or last modified.
- layout
Configuration TemplateLayout Configuration - name string
- A name for the template. It must be unique per domain.
- required
Fields TemplateRequired Field[] - A list of fields that must contain a value for a case to be successfully created with this template.
- rules
Template
Rule[] - A list of case rules (also known as case field conditions) on a template.
- status
Template
Status - Tag[]
- The tags that you attach to this template.
- template
Arn string - The Amazon Resource Name (ARN) of the template.
- template
Id string - The unique identifier of a template.
- created_
time str - The time at which the template was created.
- description str
- A description explaining the purpose and use case for this template. Should indicate what types of cases this template is designed for and any specific workflow it supports.
- last_
modified_ strtime - The time at which the template was created or last modified.
- layout_
configuration TemplateLayout Configuration - name str
- A name for the template. It must be unique per domain.
- required_
fields Sequence[TemplateRequired Field] - A list of fields that must contain a value for a case to be successfully created with this template.
- rules
Sequence[Template
Rule] - A list of case rules (also known as case field conditions) on a template.
- status
Template
Status - Sequence[root_Tag]
- The tags that you attach to this template.
- template_
arn str - The Amazon Resource Name (ARN) of the template.
- template_
id str - The unique identifier of a template.
- created
Time String - The time at which the template was created.
- description String
- A description explaining the purpose and use case for this template. Should indicate what types of cases this template is designed for and any specific workflow it supports.
- last
Modified StringTime - The time at which the template was created or last modified.
- layout
Configuration Property Map - name String
- A name for the template. It must be unique per domain.
- required
Fields List<Property Map> - A list of fields that must contain a value for a case to be successfully created with this template.
- rules List<Property Map>
- A list of case rules (also known as case field conditions) on a template.
- status "Active" | "Inactive"
- List<Property Map>
- The tags that you attach to this template.
- template
Arn String - The Amazon Resource Name (ARN) of the template.
- template
Id String - The unique identifier of a template.
Supporting Types
Tag
TemplateLayoutConfiguration
- Default
Layout string - The unique identifier of a layout.
- Default
Layout string - The unique identifier of a layout.
- default
Layout String - The unique identifier of a layout.
- default
Layout string - The unique identifier of a layout.
- default_
layout str - The unique identifier of a layout.
- default
Layout String - The unique identifier of a layout.
TemplateRequiredField
- Field
Id string - The unique identifier of a field.
- Field
Id string - The unique identifier of a field.
- field
Id String - The unique identifier of a field.
- field
Id string - The unique identifier of a field.
- field_
id str - The unique identifier of a field.
- field
Id String - The unique identifier of a field.
TemplateRule
- Case
Rule stringId - The unique identifier of a case rule.
- Field
Id string - The ID of the field that this rule applies to.
- Case
Rule stringId - The unique identifier of a case rule.
- Field
Id string - The ID of the field that this rule applies to.
- case
Rule StringId - The unique identifier of a case rule.
- field
Id String - The ID of the field that this rule applies to.
- case
Rule stringId - The unique identifier of a case rule.
- field
Id string - The ID of the field that this rule applies to.
- case_
rule_ strid - The unique identifier of a case rule.
- field_
id str - The ID of the field that this rule applies to.
- case
Rule StringId - The unique identifier of a case rule.
- field
Id String - The ID of the field that this rule applies to.
TemplateStatus
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
