AWS v6.77.1 published on Friday, Apr 18, 2025 by Pulumi
aws.servicequotas.getTemplates
Explore with Pulumi AI
Data source for managing an AWS Service Quotas Templates.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.servicequotas.getTemplates({
    region: "us-east-1",
});
import pulumi
import pulumi_aws as aws
example = aws.servicequotas.get_templates(region="us-east-1")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicequotas"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicequotas.GetTemplates(ctx, &servicequotas.GetTemplatesArgs{
			Region: "us-east-1",
		}, 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 example = Aws.ServiceQuotas.GetTemplates.Invoke(new()
    {
        Region = "us-east-1",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.servicequotas.ServicequotasFunctions;
import com.pulumi.aws.servicequotas.inputs.GetTemplatesArgs;
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 example = ServicequotasFunctions.getTemplates(GetTemplatesArgs.builder()
            .region("us-east-1")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:servicequotas:getTemplates
      arguments:
        region: us-east-1
Using getTemplates
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 getTemplates(args: GetTemplatesArgs, opts?: InvokeOptions): Promise<GetTemplatesResult>
function getTemplatesOutput(args: GetTemplatesOutputArgs, opts?: InvokeOptions): Output<GetTemplatesResult>def get_templates(region: Optional[str] = None,
                  templates: Optional[Sequence[GetTemplatesTemplate]] = None,
                  opts: Optional[InvokeOptions] = None) -> GetTemplatesResult
def get_templates_output(region: Optional[pulumi.Input[str]] = None,
                  templates: Optional[pulumi.Input[Sequence[pulumi.Input[GetTemplatesTemplateArgs]]]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetTemplatesResult]func GetTemplates(ctx *Context, args *GetTemplatesArgs, opts ...InvokeOption) (*GetTemplatesResult, error)
func GetTemplatesOutput(ctx *Context, args *GetTemplatesOutputArgs, opts ...InvokeOption) GetTemplatesResultOutput> Note: This function is named GetTemplates in the Go SDK.
public static class GetTemplates 
{
    public static Task<GetTemplatesResult> InvokeAsync(GetTemplatesArgs args, InvokeOptions? opts = null)
    public static Output<GetTemplatesResult> Invoke(GetTemplatesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTemplatesResult> getTemplates(GetTemplatesArgs args, InvokeOptions options)
public static Output<GetTemplatesResult> getTemplates(GetTemplatesArgs args, InvokeOptions options)
fn::invoke:
  function: aws:servicequotas/getTemplates:getTemplates
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Region string
 - AWS Region to which the quota increases apply.
 - Templates
List<Get
Templates Template>  - A list of quota increase templates for specified region. See 
templates. 
- Region string
 - AWS Region to which the quota increases apply.
 - Templates
[]Get
Templates Template  - A list of quota increase templates for specified region. See 
templates. 
- region String
 - AWS Region to which the quota increases apply.
 - templates
List<Get
Templates Template>  - A list of quota increase templates for specified region. See 
templates. 
- region string
 - AWS Region to which the quota increases apply.
 - templates
Get
Templates Template[]  - A list of quota increase templates for specified region. See 
templates. 
- region str
 - AWS Region to which the quota increases apply.
 - templates
Sequence[Get
Templates Template]  - A list of quota increase templates for specified region. See 
templates. 
- region String
 - AWS Region to which the quota increases apply.
 - templates List<Property Map>
 - A list of quota increase templates for specified region. See 
templates. 
getTemplates Result
The following output properties are available:
- Id string
 - Region string
 - AWS Region to which the template applies.
 - Templates
List<Get
Templates Template>  - A list of quota increase templates for specified region. See 
templates. 
- Id string
 - Region string
 - AWS Region to which the template applies.
 - Templates
[]Get
Templates Template  - A list of quota increase templates for specified region. See 
templates. 
- id String
 - region String
 - AWS Region to which the template applies.
 - templates
List<Get
Templates Template>  - A list of quota increase templates for specified region. See 
templates. 
- id string
 - region string
 - AWS Region to which the template applies.
 - templates
Get
Templates Template[]  - A list of quota increase templates for specified region. See 
templates. 
- id str
 - region str
 - AWS Region to which the template applies.
 - templates
Sequence[Get
Templates Template]  - A list of quota increase templates for specified region. See 
templates. 
- id String
 - region String
 - AWS Region to which the template applies.
 - templates List<Property Map>
 - A list of quota increase templates for specified region. See 
templates. 
Supporting Types
GetTemplatesTemplate  
- Global
Quota bool - Indicates whether the quota is global.
 - Quota
Code string - Quota identifier.
 - Quota
Name string - Quota name.
 - Region string
 - AWS Region to which the quota increases apply.
 - Service
Code string - (Required) Service identifier.
 - Service
Name string - Service name.
 - Unit string
 - Unit of measurement.
 - Value double
 - (Required) The new, increased value for the quota.
 
- Global
Quota bool - Indicates whether the quota is global.
 - Quota
Code string - Quota identifier.
 - Quota
Name string - Quota name.
 - Region string
 - AWS Region to which the quota increases apply.
 - Service
Code string - (Required) Service identifier.
 - Service
Name string - Service name.
 - Unit string
 - Unit of measurement.
 - Value float64
 - (Required) The new, increased value for the quota.
 
- global
Quota Boolean - Indicates whether the quota is global.
 - quota
Code String - Quota identifier.
 - quota
Name String - Quota name.
 - region String
 - AWS Region to which the quota increases apply.
 - service
Code String - (Required) Service identifier.
 - service
Name String - Service name.
 - unit String
 - Unit of measurement.
 - value Double
 - (Required) The new, increased value for the quota.
 
- global
Quota boolean - Indicates whether the quota is global.
 - quota
Code string - Quota identifier.
 - quota
Name string - Quota name.
 - region string
 - AWS Region to which the quota increases apply.
 - service
Code string - (Required) Service identifier.
 - service
Name string - Service name.
 - unit string
 - Unit of measurement.
 - value number
 - (Required) The new, increased value for the quota.
 
- global_
quota bool - Indicates whether the quota is global.
 - quota_
code str - Quota identifier.
 - quota_
name str - Quota name.
 - region str
 - AWS Region to which the quota increases apply.
 - service_
code str - (Required) Service identifier.
 - service_
name str - Service name.
 - unit str
 - Unit of measurement.
 - value float
 - (Required) The new, increased value for the quota.
 
- global
Quota Boolean - Indicates whether the quota is global.
 - quota
Code String - Quota identifier.
 - quota
Name String - Quota name.
 - region String
 - AWS Region to which the quota increases apply.
 - service
Code String - (Required) Service identifier.
 - service
Name String - Service name.
 - unit String
 - Unit of measurement.
 - value Number
 - (Required) The new, increased value for the quota.
 
Package Details
- Repository
 - AWS Classic pulumi/pulumi-aws
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
awsTerraform Provider.