We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.getPartition
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 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:
- 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).
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi