This page documents the language specification for the aws package. If you're looking for help working with the inputs, outputs, or functions of aws resources in a Pulumi program, please see the resource documentation for examples and API reference.
servicequotas¶
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.
- class
pulumi_aws.servicequotas.AwaitableGetServiceQuotaResult(adjustable=None, arn=None, default_value=None, global_quota=None, id=None, quota_code=None, quota_name=None, service_code=None, service_name=None, value=None)¶
- class
pulumi_aws.servicequotas.AwaitableGetServiceResult(id=None, service_code=None, service_name=None)¶
- class
pulumi_aws.servicequotas.GetServiceQuotaResult(adjustable=None, arn=None, default_value=None, global_quota=None, id=None, quota_code=None, quota_name=None, service_code=None, service_name=None, value=None)¶ A collection of values returned by getServiceQuota.
adjustable= None¶Whether the service quota is adjustable.
arn= None¶Amazon Resource Name (ARN) of the service quota.
default_value= None¶Default value of the service quota.
global_quota= None¶Whether the service quota is global for the AWS account.
id= None¶The provider-assigned unique ID for this managed resource.
service_name= None¶Name of the service.
value= None¶Current value of the service quota.
- class
pulumi_aws.servicequotas.GetServiceResult(id=None, service_code=None, service_name=None)¶ A collection of values returned by getService.
id= None¶The provider-assigned unique ID for this managed resource.
service_code= None¶Code of the service.
- class
pulumi_aws.servicequotas.ServiceQuota(resource_name, opts=None, quota_code=None, service_code=None, value=None, __props__=None, __name__=None, __opts__=None)¶ Manages an individual Service Quota.
import pulumi import pulumi_aws as aws example = aws.servicequotas.ServiceQuota("example", quota_code="L-F678F1CE", service_code="vpc", value=75)
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
quota_code (pulumi.Input[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 (pulumi.Input[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 (pulumi.Input[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.
adjustable: pulumi.Output[bool] = None¶Whether the service quota can be increased.
arn: pulumi.Output[str] = None¶Amazon Resource Name (ARN) of the service quota.
default_value: pulumi.Output[float] = None¶Default value of the service quota.
quota_code: pulumi.Output[str] = None¶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: pulumi.Output[str] = None¶Name of the quota.
service_code: pulumi.Output[str] = None¶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: pulumi.Output[str] = None¶Name of the service.
value: pulumi.Output[float] = None¶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.
- 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)¶ Get an existing ServiceQuota resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
adjustable (pulumi.Input[bool]) – Whether the service quota can be increased.
arn (pulumi.Input[str]) – Amazon Resource Name (ARN) of the service quota.
default_value (pulumi.Input[float]) – Default value of the service quota.
quota_code (pulumi.Input[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 (pulumi.Input[str]) – Name of the quota.
service_code (pulumi.Input[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 (pulumi.Input[str]) – Name of the service.
value (pulumi.Input[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.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
pulumi_aws.servicequotas.get_service(service_name=None, opts=None)¶Retrieve information about a Service Quotas Service.
import pulumi import pulumi_aws as aws example = aws.servicequotas.get_service(service_name="Amazon Virtual Private Cloud (Amazon VPC)")
- Parameters
service_name (str) –
Service name to lookup within Service Quotas. Available values can be found with the AWS CLI service-quotas list-services command.
pulumi_aws.servicequotas.get_service_quota(quota_code=None, quota_name=None, service_code=None, opts=None)¶Retrieve information about a Service Quota.
import pulumi import pulumi_aws as aws by_quota_code = aws.servicequotas.get_service_quota(quota_code="L-F678F1CE", service_code="vpc") by_quota_name = aws.servicequotas.get_service_quota(quota_name="VPCs per Region", service_code="vpc")
- Parameters
quota_code (str) –
Quota code within the service. When configured, the data source directly looks up the service quota. Available values can be found with the AWS CLI service-quotas list-service-quotas command.
quota_name (str) –
Quota name within the service. When configured, the data source searches through all service quotas to find the matching quota name. Available values can be found with the AWS CLI service-quotas list-service-quotas command.
service_code (str) –
Service code for the quota. Available values can be found with the
servicequotas.getServicedata source or AWS CLI service-quotas list-services command.