CfnTemplateMixinProps

class aws_cdk.mixins_preview.aws_cases.mixins.CfnTemplateMixinProps(*, description=None, domain_id=None, layout_configuration=None, name=None, required_fields=None, rules=None, status=None, tags=None)

Bases: object

Properties for CfnTemplatePropsMixin.

Parameters:
  • description (Optional[str]) – A brief description of the template.

  • domain_id (Optional[str]) – The unique identifier of the Cases domain.

  • layout_configuration (Union[IResolvable, LayoutConfigurationProperty, Dict[str, Any], None]) – Object to store configuration of layouts associated to the template.

  • name (Optional[str]) – The template name.

  • required_fields (Union[IResolvable, Sequence[Union[IResolvable, RequiredFieldProperty, Dict[str, Any]]], None]) – A list of fields that must contain a value for a case to be successfully created with this template.

  • rules (Union[IResolvable, Sequence[Union[IResolvable, TemplateRuleProperty, Dict[str, Any]]], None]) – A list of case rules (also known as case field conditions ) on a template.

  • status (Optional[str]) – The status of the template.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-template.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cases import mixins as cases_mixins

cfn_template_mixin_props = cases_mixins.CfnTemplateMixinProps(
    description="description",
    domain_id="domainId",
    layout_configuration=cases_mixins.CfnTemplatePropsMixin.LayoutConfigurationProperty(
        default_layout="defaultLayout"
    ),
    name="name",
    required_fields=[cases_mixins.CfnTemplatePropsMixin.RequiredFieldProperty(
        field_id="fieldId"
    )],
    rules=[cases_mixins.CfnTemplatePropsMixin.TemplateRuleProperty(
        case_rule_id="caseRuleId",
        field_id="fieldId"
    )],
    status="status",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

A brief description of the template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-template.html#cfn-cases-template-description

domain_id

The unique identifier of the Cases domain.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-template.html#cfn-cases-template-domainid

layout_configuration

Object to store configuration of layouts associated to the template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-template.html#cfn-cases-template-layoutconfiguration

name

The template name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-template.html#cfn-cases-template-name

required_fields

A list of fields that must contain a value for a case to be successfully created with this template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-template.html#cfn-cases-template-requiredfields

rules

A list of case rules (also known as case field conditions ) on a template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-template.html#cfn-cases-template-rules

status

The status of the template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-template.html#cfn-cases-template-status

tags

An array of key-value pairs to apply to this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-template.html#cfn-cases-template-tags