1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. cloudfront
  5. getDistributionTenant

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

AWS Cloud Control v1.29.0 published on Thursday, Jun 5, 2025 by Pulumi

aws-native.cloudfront.getDistributionTenant

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.29.0 published on Thursday, Jun 5, 2025 by Pulumi

    The distribution tenant.

    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(id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetDistributionTenantResult
    def get_distribution_tenant_output(id: 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-native:cloudfront:getDistributionTenant
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of the distribution tenant.
    Id string
    The ID of the distribution tenant.
    id String
    The ID of the distribution tenant.
    id string
    The ID of the distribution tenant.
    id str
    The ID of the distribution tenant.
    id String
    The ID of the distribution tenant.

    getDistributionTenant Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the distribution tenant.
    ConnectionGroupId string
    The ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.
    CreatedTime string
    The date and time when the distribution tenant was created.
    Customizations Pulumi.AwsNative.CloudFront.Outputs.DistributionTenantCustomizations
    Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
    DistributionId string
    The ID of the multi-tenant distribution.
    DomainResults List<Pulumi.AwsNative.CloudFront.Outputs.DistributionTenantDomainResult>
    Domains List<string>
    The domains associated with the distribution tenant.
    ETag string
    The current version of the distribution tenant.
    Enabled bool
    Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.
    Id string
    The ID of the distribution tenant.
    LastModifiedTime string
    The date and time when the distribution tenant was updated.
    Parameters List<Pulumi.AwsNative.CloudFront.Outputs.DistributionTenantParameter>
    A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
    Status string
    The status of the distribution tenant.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A complex type that contains zero or more Tag elements.
    Arn string
    The Amazon Resource Name (ARN) of the distribution tenant.
    ConnectionGroupId string
    The ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.
    CreatedTime string
    The date and time when the distribution tenant was created.
    Customizations DistributionTenantCustomizations
    Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
    DistributionId string
    The ID of the multi-tenant distribution.
    DomainResults []DistributionTenantDomainResult
    Domains []string
    The domains associated with the distribution tenant.
    ETag string
    The current version of the distribution tenant.
    Enabled bool
    Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.
    Id string
    The ID of the distribution tenant.
    LastModifiedTime string
    The date and time when the distribution tenant was updated.
    Parameters []DistributionTenantParameter
    A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
    Status string
    The status of the distribution tenant.
    Tags Tag
    A complex type that contains zero or more Tag elements.
    arn String
    The Amazon Resource Name (ARN) of the distribution tenant.
    connectionGroupId String
    The ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.
    createdTime String
    The date and time when the distribution tenant was created.
    customizations DistributionTenantCustomizations
    Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
    distributionId String
    The ID of the multi-tenant distribution.
    domainResults List<DistributionTenantDomainResult>
    domains List<String>
    The domains associated with the distribution tenant.
    eTag String
    The current version of the distribution tenant.
    enabled Boolean
    Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.
    id String
    The ID of the distribution tenant.
    lastModifiedTime String
    The date and time when the distribution tenant was updated.
    parameters List<DistributionTenantParameter>
    A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
    status String
    The status of the distribution tenant.
    tags List<Tag>
    A complex type that contains zero or more Tag elements.
    arn string
    The Amazon Resource Name (ARN) of the distribution tenant.
    connectionGroupId string
    The ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.
    createdTime string
    The date and time when the distribution tenant was created.
    customizations DistributionTenantCustomizations
    Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
    distributionId string
    The ID of the multi-tenant distribution.
    domainResults DistributionTenantDomainResult[]
    domains string[]
    The domains associated with the distribution tenant.
    eTag string
    The current version of the distribution tenant.
    enabled boolean
    Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.
    id string
    The ID of the distribution tenant.
    lastModifiedTime string
    The date and time when the distribution tenant was updated.
    parameters DistributionTenantParameter[]
    A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
    status string
    The status of the distribution tenant.
    tags Tag[]
    A complex type that contains zero or more Tag elements.
    arn str
    The Amazon Resource Name (ARN) of the distribution tenant.
    connection_group_id str
    The ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.
    created_time str
    The date and time when the distribution tenant was created.
    customizations DistributionTenantCustomizations
    Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
    distribution_id str
    The ID of the multi-tenant distribution.
    domain_results Sequence[DistributionTenantDomainResult]
    domains Sequence[str]
    The domains associated with the distribution tenant.
    e_tag str
    The current version of the distribution tenant.
    enabled bool
    Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.
    id str
    The ID of the distribution tenant.
    last_modified_time str
    The date and time when the distribution tenant was updated.
    parameters Sequence[DistributionTenantParameter]
    A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
    status str
    The status of the distribution tenant.
    tags Sequence[root_Tag]
    A complex type that contains zero or more Tag elements.
    arn String
    The Amazon Resource Name (ARN) of the distribution tenant.
    connectionGroupId String
    The ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.
    createdTime String
    The date and time when the distribution tenant was created.
    customizations Property Map
    Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
    distributionId String
    The ID of the multi-tenant distribution.
    domainResults List<Property Map>
    domains List<String>
    The domains associated with the distribution tenant.
    eTag String
    The current version of the distribution tenant.
    enabled Boolean
    Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.
    id String
    The ID of the distribution tenant.
    lastModifiedTime String
    The date and time when the distribution tenant was updated.
    parameters List<Property Map>
    A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
    status String
    The status of the distribution tenant.
    tags List<Property Map>
    A complex type that contains zero or more Tag elements.

    Supporting Types

    DistributionTenantCertificate

    Arn string
    The Amazon Resource Name (ARN) of the ACM certificate.
    Arn string
    The Amazon Resource Name (ARN) of the ACM certificate.
    arn String
    The Amazon Resource Name (ARN) of the ACM certificate.
    arn string
    The Amazon Resource Name (ARN) of the ACM certificate.
    arn str
    The Amazon Resource Name (ARN) of the ACM certificate.
    arn String
    The Amazon Resource Name (ARN) of the ACM certificate.

    DistributionTenantCustomizations

    certificate Property Map
    The ACMlong (ACM) certificate.
    geoRestrictions Property Map
    The geographic restrictions.
    webAcl Property Map
    The WAF web ACL.

    DistributionTenantDomainResult

    Domain string
    The specified domain.
    Status Pulumi.AwsNative.CloudFront.DistributionTenantDomainResultStatus
    Whether the domain is active or inactive.
    Domain string
    The specified domain.
    Status DistributionTenantDomainResultStatus
    Whether the domain is active or inactive.
    domain String
    The specified domain.
    status DistributionTenantDomainResultStatus
    Whether the domain is active or inactive.
    domain string
    The specified domain.
    status DistributionTenantDomainResultStatus
    Whether the domain is active or inactive.
    domain str
    The specified domain.
    status DistributionTenantDomainResultStatus
    Whether the domain is active or inactive.
    domain String
    The specified domain.
    status "active" | "inactive"
    Whether the domain is active or inactive.

    DistributionTenantDomainResultStatus

    DistributionTenantGeoRestrictionCustomization

    Locations List<string>
    The locations for geographic restrictions.
    RestrictionType Pulumi.AwsNative.CloudFront.DistributionTenantGeoRestrictionCustomizationRestrictionType
    The method that you want to use to restrict distribution of your content by country:

    • none: No geographic restriction is enabled, meaning access to content is not restricted by client geo location.
    • blacklist: The Location elements specify the countries in which you don't want CloudFront to distribute your content.
    • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.
    Locations []string
    The locations for geographic restrictions.
    RestrictionType DistributionTenantGeoRestrictionCustomizationRestrictionType
    The method that you want to use to restrict distribution of your content by country:

    • none: No geographic restriction is enabled, meaning access to content is not restricted by client geo location.
    • blacklist: The Location elements specify the countries in which you don't want CloudFront to distribute your content.
    • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.
    locations List<String>
    The locations for geographic restrictions.
    restrictionType DistributionTenantGeoRestrictionCustomizationRestrictionType
    The method that you want to use to restrict distribution of your content by country:

    • none: No geographic restriction is enabled, meaning access to content is not restricted by client geo location.
    • blacklist: The Location elements specify the countries in which you don't want CloudFront to distribute your content.
    • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.
    locations string[]
    The locations for geographic restrictions.
    restrictionType DistributionTenantGeoRestrictionCustomizationRestrictionType
    The method that you want to use to restrict distribution of your content by country:

    • none: No geographic restriction is enabled, meaning access to content is not restricted by client geo location.
    • blacklist: The Location elements specify the countries in which you don't want CloudFront to distribute your content.
    • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.
    locations Sequence[str]
    The locations for geographic restrictions.
    restriction_type DistributionTenantGeoRestrictionCustomizationRestrictionType
    The method that you want to use to restrict distribution of your content by country:

    • none: No geographic restriction is enabled, meaning access to content is not restricted by client geo location.
    • blacklist: The Location elements specify the countries in which you don't want CloudFront to distribute your content.
    • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.
    locations List<String>
    The locations for geographic restrictions.
    restrictionType "blacklist" | "whitelist" | "none"
    The method that you want to use to restrict distribution of your content by country:

    • none: No geographic restriction is enabled, meaning access to content is not restricted by client geo location.
    • blacklist: The Location elements specify the countries in which you don't want CloudFront to distribute your content.
    • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.

    DistributionTenantGeoRestrictionCustomizationRestrictionType

    DistributionTenantParameter

    Name string
    The parameter name.
    Value string
    The parameter value.
    Name string
    The parameter name.
    Value string
    The parameter value.
    name String
    The parameter name.
    value String
    The parameter value.
    name string
    The parameter name.
    value string
    The parameter value.
    name str
    The parameter name.
    value str
    The parameter value.
    name String
    The parameter name.
    value String
    The parameter value.

    DistributionTenantWebAclCustomization

    Action Pulumi.AwsNative.CloudFront.DistributionTenantWebAclCustomizationAction
    The action for the WAF web ACL customization. You can specify override to specify a separate WAF web ACL for the distribution tenant. If you specify disable, the distribution tenant won't have WAF web ACL protections and won't inherit from the multi-tenant distribution.
    Arn string
    The Amazon Resource Name (ARN) of the WAF web ACL.
    Action DistributionTenantWebAclCustomizationAction
    The action for the WAF web ACL customization. You can specify override to specify a separate WAF web ACL for the distribution tenant. If you specify disable, the distribution tenant won't have WAF web ACL protections and won't inherit from the multi-tenant distribution.
    Arn string
    The Amazon Resource Name (ARN) of the WAF web ACL.
    action DistributionTenantWebAclCustomizationAction
    The action for the WAF web ACL customization. You can specify override to specify a separate WAF web ACL for the distribution tenant. If you specify disable, the distribution tenant won't have WAF web ACL protections and won't inherit from the multi-tenant distribution.
    arn String
    The Amazon Resource Name (ARN) of the WAF web ACL.
    action DistributionTenantWebAclCustomizationAction
    The action for the WAF web ACL customization. You can specify override to specify a separate WAF web ACL for the distribution tenant. If you specify disable, the distribution tenant won't have WAF web ACL protections and won't inherit from the multi-tenant distribution.
    arn string
    The Amazon Resource Name (ARN) of the WAF web ACL.
    action DistributionTenantWebAclCustomizationAction
    The action for the WAF web ACL customization. You can specify override to specify a separate WAF web ACL for the distribution tenant. If you specify disable, the distribution tenant won't have WAF web ACL protections and won't inherit from the multi-tenant distribution.
    arn str
    The Amazon Resource Name (ARN) of the WAF web ACL.
    action "override" | "disable"
    The action for the WAF web ACL customization. You can specify override to specify a separate WAF web ACL for the distribution tenant. If you specify disable, the distribution tenant won't have WAF web ACL protections and won't inherit from the multi-tenant distribution.
    arn String
    The Amazon Resource Name (ARN) of the WAF web ACL.

    DistributionTenantWebAclCustomizationAction

    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

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

    AWS Cloud Control v1.29.0 published on Thursday, Jun 5, 2025 by Pulumi