1. Packages
  2. AWS Native
  3. API Docs
  4. getPartition

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

aws-native.getPartition

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

    Using getPartition

    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 getPartition(opts?: InvokeOptions): Promise<GetPartitionResult>
    function getPartitionOutput(opts?: InvokeOptions): Output<GetPartitionResult>
    def get_partition(opts: Optional[InvokeOptions] = None) -> GetPartitionResult
    def get_partition_output(opts: Optional[InvokeOptions] = None) -> Output[GetPartitionResult]
    func GetPartition(ctx *Context, opts ...InvokeOption) (*GetPartitionResult, error)
    func GetPartitionOutput(ctx *Context, opts ...InvokeOption) GetPartitionResultOutput

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

    public static class GetPartition 
    {
        public static Task<GetPartitionResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetPartitionResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPartitionResult> getPartition(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:getPartition
      arguments:
        # arguments dictionary

    getPartition Result

    The following output properties are available:

    DnsSuffix string
    Base DNS domain name for the current partition (e.g., amazonaws.com in AWS Commercial, amazonaws.com.cn in AWS China).
    Partition string
    Identifier of the current partition (e.g., aws in AWS Commercial, aws-cn in AWS China).
    DnsSuffix string
    Base DNS domain name for the current partition (e.g., amazonaws.com in AWS Commercial, amazonaws.com.cn in AWS China).
    Partition string
    Identifier of the current partition (e.g., aws in AWS Commercial, aws-cn in AWS China).
    dnsSuffix String
    Base DNS domain name for the current partition (e.g., amazonaws.com in AWS Commercial, amazonaws.com.cn in AWS China).
    partition String
    Identifier of the current partition (e.g., aws in AWS Commercial, aws-cn in AWS China).
    dnsSuffix string
    Base DNS domain name for the current partition (e.g., amazonaws.com in AWS Commercial, amazonaws.com.cn in AWS China).
    partition string
    Identifier of the current partition (e.g., aws in AWS Commercial, aws-cn in AWS China).
    dns_suffix str
    Base DNS domain name for the current partition (e.g., amazonaws.com in AWS Commercial, amazonaws.com.cn in AWS China).
    partition str
    Identifier of the current partition (e.g., aws in AWS Commercial, aws-cn in AWS China).
    dnsSuffix String
    Base DNS domain name for the current partition (e.g., amazonaws.com in AWS Commercial, amazonaws.com.cn in AWS China).
    partition String
    Identifier of the current partition (e.g., aws in AWS Commercial, aws-cn in AWS China).

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi