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

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()
.quotaCode("L-2ACBD22F")
.region("us-east-1")
.serviceCode("lambda")
.value("80")
.build());
}
}

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
fun TemplateArgs(quotaCode: Output<String>? = null, region: Output<String>? = null, serviceCode: Output<String>? = null, value: Output<Double>? = null)

Functions

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

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.