1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. cases
  6. getRelatedItem

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
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.

    Using getRelatedItem

    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 getRelatedItem(args: GetRelatedItemArgs, opts?: InvokeOptions): Promise<GetRelatedItemResult>
    function getRelatedItemOutput(args: GetRelatedItemOutputArgs, opts?: InvokeOutputOptions): Output<GetRelatedItemResult>
    def get_related_item(related_item_arn: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetRelatedItemResult
    def get_related_item_output(related_item_arn: pulumi.Input[Optional[str]] = None,
                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetRelatedItemResult]
    func LookupRelatedItem(ctx *Context, args *LookupRelatedItemArgs, opts ...InvokeOption) (*LookupRelatedItemResult, error)
    func LookupRelatedItemOutput(ctx *Context, args *LookupRelatedItemOutputArgs, opts ...InvokeOption) LookupRelatedItemResultOutput

    > Note: This function is named LookupRelatedItem in the Go SDK.

    public static class GetRelatedItem 
    {
        public static Task<GetRelatedItemResult> InvokeAsync(GetRelatedItemArgs args, InvokeOptions? opts = null)
        public static Output<GetRelatedItemResult> Invoke(GetRelatedItemInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetRelatedItemResult> Invoke(GetRelatedItemInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetRelatedItemResult> getRelatedItem(GetRelatedItemArgs args, InvokeOptions options)
    public static Output<GetRelatedItemResult> getRelatedItem(GetRelatedItemArgs args, InvokeOptions options)
    public static Output<GetRelatedItemResult> getRelatedItem(GetRelatedItemArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:cases:getRelatedItem
      arguments:
        # arguments dictionary
    data "aws-native_cases_get_related_item" "name" {
        # arguments
    }

    The following arguments are supported:

    RelatedItemArn string
    The Amazon Resource Name (ARN) of the related item.
    RelatedItemArn string
    The Amazon Resource Name (ARN) of the related item.
    related_item_arn string
    The Amazon Resource Name (ARN) of the related item.
    relatedItemArn String
    The Amazon Resource Name (ARN) of the related item.
    relatedItemArn string
    The Amazon Resource Name (ARN) of the related item.
    related_item_arn str
    The Amazon Resource Name (ARN) of the related item.
    relatedItemArn String
    The Amazon Resource Name (ARN) of the related item.

    getRelatedItem Result

    The following output properties are available:

    RelatedItemArn string
    The Amazon Resource Name (ARN) of the related item.
    RelatedItemId string
    The unique identifier of the related item.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A list of tags on the related item.
    RelatedItemArn string
    The Amazon Resource Name (ARN) of the related item.
    RelatedItemId string
    The unique identifier of the related item.
    Tags Tag
    A list of tags on the related item.
    related_item_arn string
    The Amazon Resource Name (ARN) of the related item.
    related_item_id string
    The unique identifier of the related item.
    tags list(object)
    A list of tags on the related item.
    relatedItemArn String
    The Amazon Resource Name (ARN) of the related item.
    relatedItemId String
    The unique identifier of the related item.
    tags List<Tag>
    A list of tags on the related item.
    relatedItemArn string
    The Amazon Resource Name (ARN) of the related item.
    relatedItemId string
    The unique identifier of the related item.
    tags Tag[]
    A list of tags on the related item.
    related_item_arn str
    The Amazon Resource Name (ARN) of the related item.
    related_item_id str
    The unique identifier of the related item.
    tags Sequence[root_Tag]
    A list of tags on the related item.
    relatedItemArn String
    The Amazon Resource Name (ARN) of the related item.
    relatedItemId String
    The unique identifier of the related item.
    tags List<Property Map>
    A list of tags on the related item.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.81.0
    published on Monday, Sep 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial