# AWS::Cases Construct Library

---

![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)

> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use.
>
> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib

---

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as cases from 'aws-cdk-lib/aws-cases';
```

Python:

```python
import aws_cdk.aws_cases as cases
```

Java:

```java
import software.amazon.awscdk.services.cases.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.Cases;
```

Golang:

```go
import cases "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for Cases construct libraries](https://constructs.dev/search?q=cases)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Cases resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Cases.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::Cases](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Cases.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnCase`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCase.html) Construct (L1) Creates a case in the specified Cases domain.
- [`CfnCaseRule`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseRule.html) Construct (L1) Creates a new case rule.
- [`CfnDomain`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnDomain.html) Construct (L1) Creates a domain, which is a container for all case data, such as cases, fields, templates and layouts.
- [`CfnField`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnField.html) Construct (L1) Creates a field in the Cases domain.
- [`CfnLayout`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnLayout.html) Construct (L1) Creates a layout in the Cases domain.
- [`CfnRelatedItem`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnRelatedItem.html) Construct (L1) Resource Type definition for AWS::Cases::RelatedItem.
- [`CfnTemplate`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnTemplate.html) Construct (L1) Creates a template in the Cases domain.

### Structs

- [`CfnCaseProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseProps.html) Struct Properties for defining a `CfnCase`.
- [`CfnCaseRule.BooleanConditionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseRule.BooleanConditionProperty.html) Struct Boolean condition for a rule.
- [`CfnCaseRule.BooleanOperandsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseRule.BooleanOperandsProperty.html) Struct Boolean operands for a condition.
- [`CfnCaseRule.CaseRuleDetailsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseRule.CaseRuleDetailsProperty.html) Struct Represents what rule type should take place, under what conditions.
- [`CfnCaseRule.HiddenCaseRuleProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseRule.HiddenCaseRuleProperty.html) Struct A rule that controls field visibility based on conditions.
- [`CfnCaseRule.OperandOneProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseRule.OperandOneProperty.html) Struct Represents the left hand operand in the condition.
- [`CfnCaseRule.OperandTwoProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseRule.OperandTwoProperty.html) Struct Represents the right hand operand in the condition.
- [`CfnCaseRule.RequiredCaseRuleProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseRule.RequiredCaseRuleProperty.html) Struct Required rule type, used to indicate whether a field is required.
- [`CfnCaseRuleProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnCaseRuleProps.html) Struct Properties for defining a `CfnCaseRule`.
- [`CfnDomainProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnDomainProps.html) Struct Properties for defining a `CfnDomain`.
- [`CfnField.FieldAttributesProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnField.FieldAttributesProperty.html) Struct Union of field attributes.
- [`CfnField.TextAttributesProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnField.TextAttributesProperty.html) Struct Field attributes for Text field type.
- [`CfnFieldProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnFieldProps.html) Struct Properties for defining a `CfnField`.
- [`CfnLayout.BasicLayoutProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnLayout.BasicLayoutProperty.html) Struct Content specific to `BasicLayout` type.
- [`CfnLayout.FieldGroupProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnLayout.FieldGroupProperty.html) Struct Object for a group of fields and associated properties.
- [`CfnLayout.FieldItemProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnLayout.FieldItemProperty.html) Struct Object for field related information.
- [`CfnLayout.LayoutContentProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnLayout.LayoutContentProperty.html) Struct Object to store union of different versions of layout content.
- [`CfnLayout.LayoutSectionsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnLayout.LayoutSectionsProperty.html) Struct Ordered list containing different kinds of sections that can be added.
- [`CfnLayout.SectionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnLayout.SectionProperty.html) Struct This represents a sections within a panel or tab of the page layout.
- [`CfnLayoutProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnLayoutProps.html) Struct Properties for defining a `CfnLayout`.
- [`CfnRelatedItem.CommentContentProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnRelatedItem.CommentContentProperty.html) Struct Represents a comment.
- [`CfnRelatedItem.RelatedItemContentProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnRelatedItem.RelatedItemContentProperty.html) Struct Represents the content of a related item.
- [`CfnRelatedItemProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnRelatedItemProps.html) Struct Properties for defining a `CfnRelatedItem`.
- [`CfnTemplate.LayoutConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnTemplate.LayoutConfigurationProperty.html) Struct Object to store configuration of layouts associated to the template.
- [`CfnTemplate.RequiredFieldProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnTemplate.RequiredFieldProperty.html) Struct List of fields that must have a value provided to create a case.
- [`CfnTemplate.TemplateRuleProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnTemplate.TemplateRuleProperty.html) Struct An association representing a case rule acting upon a field.
- [`CfnTemplateProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnTemplateProps.html) Struct Properties for defining a `CfnTemplate`.
