Service Quota Args
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 orus-gov-west-1
in the GovCloud partition. In other regions, the AWS API will return the errorThe 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
Properties
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.
Code of the service to track. For example: vpc
. Available values can be found with the AWS CLI service-quotas list-services command.