AWS v6.73.0 published on Wednesday, Mar 19, 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<GetTemplates Template> 
- A list of quota increase templates for specified region. See templates.
- Region string
- AWS Region to which the quota increases apply.
- Templates
[]GetTemplates Template 
- A list of quota increase templates for specified region. See templates.
- region String
- AWS Region to which the quota increases apply.
- templates
List<GetTemplates Template> 
- A list of quota increase templates for specified region. See templates.
- region string
- AWS Region to which the quota increases apply.
- templates
GetTemplates Template[] 
- A list of quota increase templates for specified region. See templates.
- region str
- AWS Region to which the quota increases apply.
- templates
Sequence[GetTemplates 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<GetTemplates Template> 
- A list of quota increase templates for specified region. See templates.
- Id string
- Region string
- AWS Region to which the template applies.
- Templates
[]GetTemplates 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<GetTemplates Template> 
- A list of quota increase templates for specified region. See templates.
- id string
- region string
- AWS Region to which the template applies.
- templates
GetTemplates 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[GetTemplates 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  
- GlobalQuota bool
- Indicates whether the quota is global.
- QuotaCode string
- Quota identifier.
- QuotaName string
- Quota name.
- Region string
- AWS Region to which the quota increases apply.
- ServiceCode string
- (Required) Service identifier.
- ServiceName string
- Service name.
- Unit string
- Unit of measurement.
- Value double
- (Required) The new, increased value for the quota.
- GlobalQuota bool
- Indicates whether the quota is global.
- QuotaCode string
- Quota identifier.
- QuotaName string
- Quota name.
- Region string
- AWS Region to which the quota increases apply.
- ServiceCode string
- (Required) Service identifier.
- ServiceName string
- Service name.
- Unit string
- Unit of measurement.
- Value float64
- (Required) The new, increased value for the quota.
- globalQuota Boolean
- Indicates whether the quota is global.
- quotaCode String
- Quota identifier.
- quotaName String
- Quota name.
- region String
- AWS Region to which the quota increases apply.
- serviceCode String
- (Required) Service identifier.
- serviceName String
- Service name.
- unit String
- Unit of measurement.
- value Double
- (Required) The new, increased value for the quota.
- globalQuota boolean
- Indicates whether the quota is global.
- quotaCode string
- Quota identifier.
- quotaName string
- Quota name.
- region string
- AWS Region to which the quota increases apply.
- serviceCode string
- (Required) Service identifier.
- serviceName 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.
- globalQuota Boolean
- Indicates whether the quota is global.
- quotaCode String
- Quota identifier.
- quotaName String
- Quota name.
- region String
- AWS Region to which the quota increases apply.
- serviceCode String
- (Required) Service identifier.
- serviceName 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.