We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
Resource Type definition for AWS::Cases::RelatedItem. Creates a related item (comments) and associates it with a case.
Create RelatedItem Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RelatedItem(name: string, args: RelatedItemArgs, opts?: CustomResourceOptions);@overload
def RelatedItem(resource_name: str,
args: RelatedItemArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RelatedItem(resource_name: str,
opts: Optional[ResourceOptions] = None,
case_id: Optional[str] = None,
content: Optional[RelatedItemContentArgs] = None,
domain_id: Optional[str] = None,
type: Optional[RelatedItemType] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewRelatedItem(ctx *Context, name string, args RelatedItemArgs, opts ...ResourceOption) (*RelatedItem, error)public RelatedItem(string name, RelatedItemArgs args, CustomResourceOptions? opts = null)
public RelatedItem(String name, RelatedItemArgs args)
public RelatedItem(String name, RelatedItemArgs args, CustomResourceOptions options)
type: aws-native:cases:RelatedItem
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_cases_related_item" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args RelatedItemArgs
- 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 RelatedItemArgs
- 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 RelatedItemArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RelatedItemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RelatedItemArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
RelatedItem 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 RelatedItem resource accepts the following input properties:
- Case
Id string - A unique identifier of the case.
- Content
Pulumi.
Aws Native. Cases. Inputs. Related Item Content - The content of a related item to be created.
- Domain
Id string - The unique identifier of the Cases domain.
- Type
Pulumi.
Aws Native. Cases. Related Item Type - The type of a related item.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A list of tags on the related item.
- Case
Id string - A unique identifier of the case.
- Content
Related
Item Content Args - The content of a related item to be created.
- Domain
Id string - The unique identifier of the Cases domain.
- Type
Related
Item Type - The type of a related item.
-
Tag
Args - A list of tags on the related item.
- case_
id string - A unique identifier of the case.
- content object
- The content of a related item to be created.
- domain_
id string - The unique identifier of the Cases domain.
- type
"Contact" | "Comment" | "File" | "Sla" | "Connect
Case" | "Custom" - The type of a related item.
- list(object)
- A list of tags on the related item.
- case
Id String - A unique identifier of the case.
- content
Related
Item Content - The content of a related item to be created.
- domain
Id String - The unique identifier of the Cases domain.
- type
Related
Item Type - The type of a related item.
- List<Tag>
- A list of tags on the related item.
- case
Id string - A unique identifier of the case.
- content
Related
Item Content - The content of a related item to be created.
- domain
Id string - The unique identifier of the Cases domain.
- type
Related
Item Type - The type of a related item.
- Tag[]
- A list of tags on the related item.
- case_
id str - A unique identifier of the case.
- content
Related
Item Content Args - The content of a related item to be created.
- domain_
id str - The unique identifier of the Cases domain.
- type
Related
Item Type - The type of a related item.
-
Sequence[Tag
Args] - A list of tags on the related item.
- case
Id String - A unique identifier of the case.
- content Property Map
- The content of a related item to be created.
- domain
Id String - The unique identifier of the Cases domain.
- type
"Contact" | "Comment" | "File" | "Sla" | "Connect
Case" | "Custom" - The type of a related item.
- List<Property Map>
- A list of tags on the related item.
Outputs
All input properties are implicitly available as output properties. Additionally, the RelatedItem resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- The Amazon Resource Name (ARN) of the related item.
- string
- The unique identifier of the related item.
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- The Amazon Resource Name (ARN) of the related item.
- string
- The unique identifier of the related item.
- id string
- The provider-assigned unique ID for this managed resource.
- string
- The Amazon Resource Name (ARN) of the related item.
- string
- The unique identifier of the related item.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- The Amazon Resource Name (ARN) of the related item.
- String
- The unique identifier of the related item.
- id string
- The provider-assigned unique ID for this managed resource.
- string
- The Amazon Resource Name (ARN) of the related item.
- string
- The unique identifier of the related item.
- id str
- The provider-assigned unique ID for this managed resource.
- str
- The Amazon Resource Name (ARN) of the related item.
- str
- The unique identifier of the related item.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- The Amazon Resource Name (ARN) of the related item.
- String
- The unique identifier of the related item.
Supporting Types
RelatedItemCommentContent, RelatedItemCommentContentArgs
Represents a comment.- Body string
- Text in the body of a comment.
- Content
Type Pulumi.Aws Native. Cases. Related Item Comment Content Content Type - Type of the text in the comment.
- Body string
- Text in the body of a comment.
- Content
Type RelatedItem Comment Content Content Type - Type of the text in the comment.
- body string
- Text in the body of a comment.
- content_
type "Text/Plain" - Type of the text in the comment.
- body String
- Text in the body of a comment.
- content
Type RelatedItem Comment Content Content Type - Type of the text in the comment.
- body string
- Text in the body of a comment.
- content
Type RelatedItem Comment Content Content Type - Type of the text in the comment.
- body str
- Text in the body of a comment.
- content_
type RelatedItem Comment Content Content Type - Type of the text in the comment.
- body String
- Text in the body of a comment.
- content
Type "Text/Plain" - Type of the text in the comment.
RelatedItemCommentContentContentType, RelatedItemCommentContentContentTypeArgs
- Text
Plain Text/Plain
- Related
Item Comment Content Content Type Text Plain Text/Plain
- "Text/Plain"
Text/Plain
- Text
Plain Text/Plain
- Text
Plain Text/Plain
- TEXT_PLAIN
Text/Plain
- "Text/Plain"
Text/Plain
RelatedItemContent, RelatedItemContentArgs
Represents the content of a related item.RelatedItemType, RelatedItemTypeArgs
- Contact
Contact- Comment
Comment- File
File- Sla
Sla- Connect
Case ConnectCase- Custom
Custom
- Related
Item Type Contact Contact- Related
Item Type Comment Comment- Related
Item Type File File- Related
Item Type Sla Sla- Related
Item Type Connect Case ConnectCase- Related
Item Type Custom Custom
- "Contact"
Contact- "Comment"
Comment- "File"
File- "Sla"
Sla- "Connect
Case" ConnectCase- "Custom"
Custom
- Contact
Contact- Comment
Comment- File
File- Sla
Sla- Connect
Case ConnectCase- Custom
Custom
- Contact
Contact- Comment
Comment- File
File- Sla
Sla- Connect
Case ConnectCase- Custom
Custom
- CONTACT
Contact- COMMENT
Comment- FILE
File- SLA
Sla- CONNECT_CASE
ConnectCase- CUSTOM
Custom
- "Contact"
Contact- "Comment"
Comment- "File"
File- "Sla"
Sla- "Connect
Case" ConnectCase- "Custom"
Custom
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 Monday, Sep 28, 2026 by Pulumi