ServiceQuotaArgs

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

Manages an individual Service Quota.

NOTE: Global quotas apply to all AWS regions, but can only be accessed in us-east-1 in the Commercial partition or us-gov-west-1 in the GovCloud partition. In other regions, the AWS API will return the error The request failed because the specified service does not exist.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.servicequotas.ServiceQuota;
import com.pulumi.aws.servicequotas.ServiceQuotaArgs;
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 ServiceQuota("example", ServiceQuotaArgs.builder()
.quotaCode("L-F678F1CE")
.serviceCode("vpc")
.value(75)
.build());
}
}

Import

~>NOTE This resource does not require explicit import and will assume management of an existing service quota on resource creation. aws_servicequotas_service_quota can be imported by using the service code and quota code, separated by a front slash (/), e.g.,

$ pulumi import aws:servicequotas/serviceQuota:ServiceQuota example vpc/L-F678F1CE

Constructors

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

Properties

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

Code of the service quota to track. For example: L-F678F1CE. Available values can be found with the AWS CLI service-quotas list-service-quotas command.

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

Code of the service to track. For example: vpc. Available values can be found with the AWS CLI service-quotas list-services command.

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

Float specifying the desired value for the service quota. If the desired value is higher than the current value, a quota increase request is submitted. When a known request is submitted and pending, the value reflects the desired value of the pending request.

Functions

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