CfnLayoutProps

class aws_cdk.aws_cases.CfnLayoutProps(*, content, name, domain_id=None, tags=None)

Bases: object

Properties for defining a CfnLayout.

Parameters:
  • content (Union[IResolvable, LayoutContentProperty, Dict[str, Any]]) – Object to store union of different versions of layout content.

  • name (str) – The name of the layout.

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

  • 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-layout.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 import aws_cases as cases

cfn_layout_props = cases.CfnLayoutProps(
    content=cases.CfnLayout.LayoutContentProperty(
        basic=cases.CfnLayout.BasicLayoutProperty(
            more_info=cases.CfnLayout.LayoutSectionsProperty(
                sections=[cases.CfnLayout.SectionProperty(
                    field_group=cases.CfnLayout.FieldGroupProperty(
                        fields=[cases.CfnLayout.FieldItemProperty(
                            id="id"
                        )],

                        # the properties below are optional
                        name="name"
                    )
                )]
            ),
            top_panel=cases.CfnLayout.LayoutSectionsProperty(
                sections=[cases.CfnLayout.SectionProperty(
                    field_group=cases.CfnLayout.FieldGroupProperty(
                        fields=[cases.CfnLayout.FieldItemProperty(
                            id="id"
                        )],

                        # the properties below are optional
                        name="name"
                    )
                )]
            )
        )
    ),
    name="name",

    # the properties below are optional
    domain_id="domainId",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

content

Object to store union of different versions of layout content.

See:

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

domain_id

The unique identifier of the Cases domain.

See:

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

name

The name of the layout.

See:

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

tags

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

See:

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