1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. datazone
  5. getDomainUnit

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

AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi

aws-native.datazone.getDomainUnit

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi

    A domain unit enables you to easily organize your assets and other domain entities under specific business units and teams.

    Using getDomainUnit

    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 getDomainUnit(args: GetDomainUnitArgs, opts?: InvokeOptions): Promise<GetDomainUnitResult>
    function getDomainUnitOutput(args: GetDomainUnitOutputArgs, opts?: InvokeOptions): Output<GetDomainUnitResult>
    def get_domain_unit(domain_id: Optional[str] = None,
                        id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDomainUnitResult
    def get_domain_unit_output(domain_id: Optional[pulumi.Input[str]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDomainUnitResult]
    func LookupDomainUnit(ctx *Context, args *LookupDomainUnitArgs, opts ...InvokeOption) (*LookupDomainUnitResult, error)
    func LookupDomainUnitOutput(ctx *Context, args *LookupDomainUnitOutputArgs, opts ...InvokeOption) LookupDomainUnitResultOutput

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

    public static class GetDomainUnit 
    {
        public static Task<GetDomainUnitResult> InvokeAsync(GetDomainUnitArgs args, InvokeOptions? opts = null)
        public static Output<GetDomainUnitResult> Invoke(GetDomainUnitInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDomainUnitResult> getDomainUnit(GetDomainUnitArgs args, InvokeOptions options)
    public static Output<GetDomainUnitResult> getDomainUnit(GetDomainUnitArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:datazone:getDomainUnit
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DomainId string
    The ID of the domain where the domain unit was created.
    Id string
    The ID of the domain unit.
    DomainId string
    The ID of the domain where the domain unit was created.
    Id string
    The ID of the domain unit.
    domainId String
    The ID of the domain where the domain unit was created.
    id String
    The ID of the domain unit.
    domainId string
    The ID of the domain where the domain unit was created.
    id string
    The ID of the domain unit.
    domain_id str
    The ID of the domain where the domain unit was created.
    id str
    The ID of the domain unit.
    domainId String
    The ID of the domain where the domain unit was created.
    id String
    The ID of the domain unit.

    getDomainUnit Result

    The following output properties are available:

    CreatedAt string
    The timestamp at which the domain unit was created.
    Description string
    The description of the domain unit.
    DomainId string
    The ID of the domain where the domain unit was created.
    Id string
    The ID of the domain unit.
    Identifier string
    The identifier of the domain unit that you want to get.
    LastUpdatedAt string
    The timestamp at which the domain unit was last updated.
    Name string
    The name of the domain unit.
    ParentDomainUnitId string
    The ID of the parent domain unit.
    CreatedAt string
    The timestamp at which the domain unit was created.
    Description string
    The description of the domain unit.
    DomainId string
    The ID of the domain where the domain unit was created.
    Id string
    The ID of the domain unit.
    Identifier string
    The identifier of the domain unit that you want to get.
    LastUpdatedAt string
    The timestamp at which the domain unit was last updated.
    Name string
    The name of the domain unit.
    ParentDomainUnitId string
    The ID of the parent domain unit.
    createdAt String
    The timestamp at which the domain unit was created.
    description String
    The description of the domain unit.
    domainId String
    The ID of the domain where the domain unit was created.
    id String
    The ID of the domain unit.
    identifier String
    The identifier of the domain unit that you want to get.
    lastUpdatedAt String
    The timestamp at which the domain unit was last updated.
    name String
    The name of the domain unit.
    parentDomainUnitId String
    The ID of the parent domain unit.
    createdAt string
    The timestamp at which the domain unit was created.
    description string
    The description of the domain unit.
    domainId string
    The ID of the domain where the domain unit was created.
    id string
    The ID of the domain unit.
    identifier string
    The identifier of the domain unit that you want to get.
    lastUpdatedAt string
    The timestamp at which the domain unit was last updated.
    name string
    The name of the domain unit.
    parentDomainUnitId string
    The ID of the parent domain unit.
    created_at str
    The timestamp at which the domain unit was created.
    description str
    The description of the domain unit.
    domain_id str
    The ID of the domain where the domain unit was created.
    id str
    The ID of the domain unit.
    identifier str
    The identifier of the domain unit that you want to get.
    last_updated_at str
    The timestamp at which the domain unit was last updated.
    name str
    The name of the domain unit.
    parent_domain_unit_id str
    The ID of the parent domain unit.
    createdAt String
    The timestamp at which the domain unit was created.
    description String
    The description of the domain unit.
    domainId String
    The ID of the domain where the domain unit was created.
    id String
    The ID of the domain unit.
    identifier String
    The identifier of the domain unit that you want to get.
    lastUpdatedAt String
    The timestamp at which the domain unit was last updated.
    name String
    The name of the domain unit.
    parentDomainUnitId String
    The ID of the parent domain unit.

    Package Details

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

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

    AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi