TemplateArgs

data class TemplateArgs(val quotaCode: Output<String>? = null, val region: Output<String>? = null, val serviceCode: Output<String>? = null, val value: Output<Double>? = null) : ConvertibleToJava<TemplateArgs>

Resource for managing an AWS Service Quotas Template.

Only the management account of an organization can alter Service Quota templates, and this must be done from the us-east-1 region.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.servicequotas.Template("example", {
region: "us-east-1",
quotaCode: "L-2ACBD22F",
serviceCode: "lambda",
value: 80,
});
import pulumi
import pulumi_aws as aws
example = aws.servicequotas.Template("example",
region="us-east-1",
quota_code="L-2ACBD22F",
service_code="lambda",
value=80)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.ServiceQuotas.Template("example", new()
{
Region = "us-east-1",
QuotaCode = "L-2ACBD22F",
ServiceCode = "lambda",
Value = 80,
});
});
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.NewTemplate(ctx, "example", &servicequotas.TemplateArgs{
Region: pulumi.String("us-east-1"),
QuotaCode: pulumi.String("L-2ACBD22F"),
ServiceCode: pulumi.String("lambda"),
Value: pulumi.Float64(80),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.servicequotas.Template;
import com.pulumi.aws.servicequotas.TemplateArgs;
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) {
var example = new Template("example", TemplateArgs.builder()
.region("us-east-1")
.quotaCode("L-2ACBD22F")
.serviceCode("lambda")
.value("80")
.build());
}
}
resources:
example:
type: aws:servicequotas:Template
properties:
region: us-east-1
quotaCode: L-2ACBD22F
serviceCode: lambda
value: '80'

Import

Using pulumi import, import Service Quotas Template using the id. For example:

$ pulumi import aws:servicequotas/template:Template example us-east-1,L-2ACBD22F,lambda

Constructors

Link copied to clipboard
constructor(quotaCode: Output<String>? = null, region: Output<String>? = null, serviceCode: Output<String>? = null, value: Output<Double>? = null)

Properties

Link copied to clipboard
val quotaCode: Output<String>? = null

Quota identifier. To find the quota code for a specific quota, use the aws.servicequotas.ServiceQuota data source.

Link copied to clipboard
val region: Output<String>? = null

AWS Region to which the template applies.

Link copied to clipboard
val serviceCode: Output<String>? = null

Service identifier. To find the service code value for an AWS service, use the aws.servicequotas.getService data source.

Link copied to clipboard
val value: Output<Double>? = null

The new, increased value for the quota.

Functions

Link copied to clipboard
open override fun toJava(): TemplateArgs