ServiceQuota

Manages an individual Service Quota.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Aws.ServiceQuotas.ServiceQuota("example", new Aws.ServiceQuotas.ServiceQuotaArgs
        {
            QuotaCode = "L-F678F1CE",
            ServiceCode = "vpc",
            Value = 75,
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/servicequotas"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := servicequotas.NewServiceQuota(ctx, "example", &servicequotas.ServiceQuotaArgs{
            QuotaCode:   pulumi.String("L-F678F1CE"),
            ServiceCode: pulumi.String("vpc"),
            Value:       pulumi.Float64(75),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

example = aws.servicequotas.ServiceQuota("example",
    quota_code="L-F678F1CE",
    service_code="vpc",
    value=75)
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.servicequotas.ServiceQuota("example", {
    quotaCode: "L-F678F1CE",
    serviceCode: "vpc",
    value: 75,
});

Create a ServiceQuota Resource

def ServiceQuota(resource_name, opts=None, quota_code=None, service_code=None, value=None, __props__=None);
func NewServiceQuota(ctx *Context, name string, args ServiceQuotaArgs, opts ...ResourceOption) (*ServiceQuota, error)
name string
The unique name of the resource.
args ServiceQuotaArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ServiceQuotaArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ServiceQuotaArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ServiceQuota Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ServiceQuota resource accepts the following input properties:

QuotaCode string

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.

ServiceCode string

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

Value double

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.

QuotaCode string

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.

ServiceCode string

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

Value float64

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.

quotaCode string

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.

serviceCode string

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

value number

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.

quota_code str

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.

service_code str

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

value float

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.

Outputs

All input properties are implicitly available as output properties. Additionally, the ServiceQuota resource produces the following output properties:

Adjustable bool

Whether the service quota can be increased.

Arn string

Amazon Resource Name (ARN) of the service quota.

DefaultValue double

Default value of the service quota.

Id string
The provider-assigned unique ID for this managed resource.
QuotaName string

Name of the quota.

RequestId string
RequestStatus string
ServiceName string

Name of the service.

Adjustable bool

Whether the service quota can be increased.

Arn string

Amazon Resource Name (ARN) of the service quota.

DefaultValue float64

Default value of the service quota.

Id string
The provider-assigned unique ID for this managed resource.
QuotaName string

Name of the quota.

RequestId string
RequestStatus string
ServiceName string

Name of the service.

adjustable boolean

Whether the service quota can be increased.

arn string

Amazon Resource Name (ARN) of the service quota.

defaultValue number

Default value of the service quota.

id string
The provider-assigned unique ID for this managed resource.
quotaName string

Name of the quota.

requestId string
requestStatus string
serviceName string

Name of the service.

adjustable bool

Whether the service quota can be increased.

arn str

Amazon Resource Name (ARN) of the service quota.

default_value float

Default value of the service quota.

id str
The provider-assigned unique ID for this managed resource.
quota_name str

Name of the quota.

request_id str
request_status str
service_name str

Name of the service.

Look up an Existing ServiceQuota Resource

Get an existing ServiceQuota resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ServiceQuotaState, opts?: CustomResourceOptions): ServiceQuota
static get(resource_name, id, opts=None, adjustable=None, arn=None, default_value=None, quota_code=None, quota_name=None, request_id=None, request_status=None, service_code=None, service_name=None, value=None, __props__=None);
func GetServiceQuota(ctx *Context, name string, id IDInput, state *ServiceQuotaState, opts ...ResourceOption) (*ServiceQuota, error)
public static ServiceQuota Get(string name, Input<string> id, ServiceQuotaState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Adjustable bool

Whether the service quota can be increased.

Arn string

Amazon Resource Name (ARN) of the service quota.

DefaultValue double

Default value of the service quota.

QuotaCode string

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.

QuotaName string

Name of the quota.

RequestId string
RequestStatus string
ServiceCode string

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

ServiceName string

Name of the service.

Value double

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.

Adjustable bool

Whether the service quota can be increased.

Arn string

Amazon Resource Name (ARN) of the service quota.

DefaultValue float64

Default value of the service quota.

QuotaCode string

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.

QuotaName string

Name of the quota.

RequestId string
RequestStatus string
ServiceCode string

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

ServiceName string

Name of the service.

Value float64

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.

adjustable boolean

Whether the service quota can be increased.

arn string

Amazon Resource Name (ARN) of the service quota.

defaultValue number

Default value of the service quota.

quotaCode string

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.

quotaName string

Name of the quota.

requestId string
requestStatus string
serviceCode string

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

serviceName string

Name of the service.

value number

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.

adjustable bool

Whether the service quota can be increased.

arn str

Amazon Resource Name (ARN) of the service quota.

default_value float

Default value of the service quota.

quota_code str

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.

quota_name str

Name of the quota.

request_id str
request_status str
service_code str

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

service_name str

Name of the service.

value float

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.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.