1. Packages
  2. AWS
  3. API Docs
  4. cloudfront
  5. getDistributionTenant
AWS v7.16.0 published on Friday, Jan 9, 2026 by Pulumi
aws logo
AWS v7.16.0 published on Friday, Jan 9, 2026 by Pulumi

    Use this data source to retrieve information about a CloudFront distribution tenant.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const test = aws.cloudfront.getDistributionTenant({
        id: "EDFDVBD632BHDS5",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    test = aws.cloudfront.get_distribution_tenant(id="EDFDVBD632BHDS5")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudfront"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudfront.LookupDistributionTenant(ctx, &cloudfront.LookupDistributionTenantArgs{
    			Id: pulumi.StringRef("EDFDVBD632BHDS5"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Aws.CloudFront.GetDistributionTenant.Invoke(new()
        {
            Id = "EDFDVBD632BHDS5",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.cloudfront.CloudfrontFunctions;
    import com.pulumi.aws.cloudfront.inputs.GetDistributionTenantArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var test = CloudfrontFunctions.getDistributionTenant(GetDistributionTenantArgs.builder()
                .id("EDFDVBD632BHDS5")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: aws:cloudfront:getDistributionTenant
          arguments:
            id: EDFDVBD632BHDS5
    

    Using getDistributionTenant

    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 getDistributionTenant(args: GetDistributionTenantArgs, opts?: InvokeOptions): Promise<GetDistributionTenantResult>
    function getDistributionTenantOutput(args: GetDistributionTenantOutputArgs, opts?: InvokeOptions): Output<GetDistributionTenantResult>
    def get_distribution_tenant(arn: Optional[str] = None,
                                domain: Optional[str] = None,
                                id: Optional[str] = None,
                                name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetDistributionTenantResult
    def get_distribution_tenant_output(arn: Optional[pulumi.Input[str]] = None,
                                domain: Optional[pulumi.Input[str]] = None,
                                id: Optional[pulumi.Input[str]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetDistributionTenantResult]
    func LookupDistributionTenant(ctx *Context, args *LookupDistributionTenantArgs, opts ...InvokeOption) (*LookupDistributionTenantResult, error)
    func LookupDistributionTenantOutput(ctx *Context, args *LookupDistributionTenantOutputArgs, opts ...InvokeOption) LookupDistributionTenantResultOutput

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

    public static class GetDistributionTenant 
    {
        public static Task<GetDistributionTenantResult> InvokeAsync(GetDistributionTenantArgs args, InvokeOptions? opts = null)
        public static Output<GetDistributionTenantResult> Invoke(GetDistributionTenantInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDistributionTenantResult> getDistributionTenant(GetDistributionTenantArgs args, InvokeOptions options)
    public static Output<GetDistributionTenantResult> getDistributionTenant(GetDistributionTenantArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:cloudfront/getDistributionTenant:getDistributionTenant
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    ARN (Amazon Resource Name) for the distribution tenant.
    Domain string
    An associated domain of the distribution tenant. Exactly one of id or domain must be specified.
    Id string
    Identifier for the distribution tenant. For example: EDFDVBD632BHDS5. Exactly one of id or domain must be specified.
    Name string
    Arn string
    ARN (Amazon Resource Name) for the distribution tenant.
    Domain string
    An associated domain of the distribution tenant. Exactly one of id or domain must be specified.
    Id string
    Identifier for the distribution tenant. For example: EDFDVBD632BHDS5. Exactly one of id or domain must be specified.
    Name string
    arn String
    ARN (Amazon Resource Name) for the distribution tenant.
    domain String
    An associated domain of the distribution tenant. Exactly one of id or domain must be specified.
    id String
    Identifier for the distribution tenant. For example: EDFDVBD632BHDS5. Exactly one of id or domain must be specified.
    name String
    arn string
    ARN (Amazon Resource Name) for the distribution tenant.
    domain string
    An associated domain of the distribution tenant. Exactly one of id or domain must be specified.
    id string
    Identifier for the distribution tenant. For example: EDFDVBD632BHDS5. Exactly one of id or domain must be specified.
    name string
    arn str
    ARN (Amazon Resource Name) for the distribution tenant.
    domain str
    An associated domain of the distribution tenant. Exactly one of id or domain must be specified.
    id str
    Identifier for the distribution tenant. For example: EDFDVBD632BHDS5. Exactly one of id or domain must be specified.
    name str
    arn String
    ARN (Amazon Resource Name) for the distribution tenant.
    domain String
    An associated domain of the distribution tenant. Exactly one of id or domain must be specified.
    id String
    Identifier for the distribution tenant. For example: EDFDVBD632BHDS5. Exactly one of id or domain must be specified.
    name String

    getDistributionTenant Result

    The following output properties are available:

    Arn string
    ARN (Amazon Resource Name) for the distribution tenant.
    ConnectionGroupId string
    The CloudFront connection group the tenant is associated with.
    Customizations List<GetDistributionTenantCustomization>
    DistributionId string
    The ID of the CloudFront distribution the tenant is associated with.
    Domains List<GetDistributionTenantDomain>
    List of domains for the distribution tenant.
    Enabled bool
    Whether the distribution tenant is enabled.
    Etag string
    Current version of the distribution tenant's information. For example: E2QWRUHAPOMQZL.
    Id string
    ManagedCertificateRequests List<GetDistributionTenantManagedCertificateRequest>
    Name string
    Parameters List<GetDistributionTenantParameter>
    Status string
    Current status of the distribution tenant. Deployed if the distribution tenant's information is fully propagated throughout the Amazon CloudFront system.
    Tags Dictionary<string, string>
    Domain string
    Arn string
    ARN (Amazon Resource Name) for the distribution tenant.
    ConnectionGroupId string
    The CloudFront connection group the tenant is associated with.
    Customizations []GetDistributionTenantCustomization
    DistributionId string
    The ID of the CloudFront distribution the tenant is associated with.
    Domains []GetDistributionTenantDomain
    List of domains for the distribution tenant.
    Enabled bool
    Whether the distribution tenant is enabled.
    Etag string
    Current version of the distribution tenant's information. For example: E2QWRUHAPOMQZL.
    Id string
    ManagedCertificateRequests []GetDistributionTenantManagedCertificateRequest
    Name string
    Parameters []GetDistributionTenantParameter
    Status string
    Current status of the distribution tenant. Deployed if the distribution tenant's information is fully propagated throughout the Amazon CloudFront system.
    Tags map[string]string
    Domain string
    arn String
    ARN (Amazon Resource Name) for the distribution tenant.
    connectionGroupId String
    The CloudFront connection group the tenant is associated with.
    customizations List<GetDistributionTenantCustomization>
    distributionId String
    The ID of the CloudFront distribution the tenant is associated with.
    domains List<GetDistributionTenantDomain>
    List of domains for the distribution tenant.
    enabled Boolean
    Whether the distribution tenant is enabled.
    etag String
    Current version of the distribution tenant's information. For example: E2QWRUHAPOMQZL.
    id String
    managedCertificateRequests List<GetDistributionTenantManagedCertificateRequest>
    name String
    parameters List<GetDistributionTenantParameter>
    status String
    Current status of the distribution tenant. Deployed if the distribution tenant's information is fully propagated throughout the Amazon CloudFront system.
    tags Map<String,String>
    domain String
    arn string
    ARN (Amazon Resource Name) for the distribution tenant.
    connectionGroupId string
    The CloudFront connection group the tenant is associated with.
    customizations GetDistributionTenantCustomization[]
    distributionId string
    The ID of the CloudFront distribution the tenant is associated with.
    domains GetDistributionTenantDomain[]
    List of domains for the distribution tenant.
    enabled boolean
    Whether the distribution tenant is enabled.
    etag string
    Current version of the distribution tenant's information. For example: E2QWRUHAPOMQZL.
    id string
    managedCertificateRequests GetDistributionTenantManagedCertificateRequest[]
    name string
    parameters GetDistributionTenantParameter[]
    status string
    Current status of the distribution tenant. Deployed if the distribution tenant's information is fully propagated throughout the Amazon CloudFront system.
    tags {[key: string]: string}
    domain string
    arn str
    ARN (Amazon Resource Name) for the distribution tenant.
    connection_group_id str
    The CloudFront connection group the tenant is associated with.
    customizations Sequence[GetDistributionTenantCustomization]
    distribution_id str
    The ID of the CloudFront distribution the tenant is associated with.
    domains Sequence[GetDistributionTenantDomain]
    List of domains for the distribution tenant.
    enabled bool
    Whether the distribution tenant is enabled.
    etag str
    Current version of the distribution tenant's information. For example: E2QWRUHAPOMQZL.
    id str
    managed_certificate_requests Sequence[GetDistributionTenantManagedCertificateRequest]
    name str
    parameters Sequence[GetDistributionTenantParameter]
    status str
    Current status of the distribution tenant. Deployed if the distribution tenant's information is fully propagated throughout the Amazon CloudFront system.
    tags Mapping[str, str]
    domain str
    arn String
    ARN (Amazon Resource Name) for the distribution tenant.
    connectionGroupId String
    The CloudFront connection group the tenant is associated with.
    customizations List<Property Map>
    distributionId String
    The ID of the CloudFront distribution the tenant is associated with.
    domains List<Property Map>
    List of domains for the distribution tenant.
    enabled Boolean
    Whether the distribution tenant is enabled.
    etag String
    Current version of the distribution tenant's information. For example: E2QWRUHAPOMQZL.
    id String
    managedCertificateRequests List<Property Map>
    name String
    parameters List<Property Map>
    status String
    Current status of the distribution tenant. Deployed if the distribution tenant's information is fully propagated throughout the Amazon CloudFront system.
    tags Map<String>
    domain String

    Supporting Types

    GetDistributionTenantCustomization

    GetDistributionTenantCustomizationCertificate

    Arn string
    ARN (Amazon Resource Name) for the distribution tenant.
    Arn string
    ARN (Amazon Resource Name) for the distribution tenant.
    arn String
    ARN (Amazon Resource Name) for the distribution tenant.
    arn string
    ARN (Amazon Resource Name) for the distribution tenant.
    arn str
    ARN (Amazon Resource Name) for the distribution tenant.
    arn String
    ARN (Amazon Resource Name) for the distribution tenant.

    GetDistributionTenantCustomizationGeoRestriction

    Locations List<string>
    RestrictionType string
    Locations []string
    RestrictionType string
    locations List<String>
    restrictionType String
    locations string[]
    restrictionType string
    locations Sequence[str]
    restriction_type str
    locations List<String>
    restrictionType String

    GetDistributionTenantCustomizationWebAcl

    Action string
    Arn string
    ARN (Amazon Resource Name) for the distribution tenant.
    Action string
    Arn string
    ARN (Amazon Resource Name) for the distribution tenant.
    action String
    arn String
    ARN (Amazon Resource Name) for the distribution tenant.
    action string
    arn string
    ARN (Amazon Resource Name) for the distribution tenant.
    action str
    arn str
    ARN (Amazon Resource Name) for the distribution tenant.
    action String
    arn String
    ARN (Amazon Resource Name) for the distribution tenant.

    GetDistributionTenantDomain

    Domain string
    An associated domain of the distribution tenant. Exactly one of id or domain must be specified.
    Status string
    Current status of the distribution tenant. Deployed if the distribution tenant's information is fully propagated throughout the Amazon CloudFront system.
    Domain string
    An associated domain of the distribution tenant. Exactly one of id or domain must be specified.
    Status string
    Current status of the distribution tenant. Deployed if the distribution tenant's information is fully propagated throughout the Amazon CloudFront system.
    domain String
    An associated domain of the distribution tenant. Exactly one of id or domain must be specified.
    status String
    Current status of the distribution tenant. Deployed if the distribution tenant's information is fully propagated throughout the Amazon CloudFront system.
    domain string
    An associated domain of the distribution tenant. Exactly one of id or domain must be specified.
    status string
    Current status of the distribution tenant. Deployed if the distribution tenant's information is fully propagated throughout the Amazon CloudFront system.
    domain str
    An associated domain of the distribution tenant. Exactly one of id or domain must be specified.
    status str
    Current status of the distribution tenant. Deployed if the distribution tenant's information is fully propagated throughout the Amazon CloudFront system.
    domain String
    An associated domain of the distribution tenant. Exactly one of id or domain must be specified.
    status String
    Current status of the distribution tenant. Deployed if the distribution tenant's information is fully propagated throughout the Amazon CloudFront system.

    GetDistributionTenantManagedCertificateRequest

    GetDistributionTenantParameter

    Name string
    Value string
    Name string
    Value string
    name String
    value String
    name string
    value string
    name str
    value str
    name String
    value String

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v7.16.0 published on Friday, Jan 9, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate