import * as core from "@terrascript/core"; export interface ServiceQuotaArgs extends core.ResourceArgs { /** * (Required) Code of the service quota to track. For example: `L-F678F1CE`. Available values can be fo * und with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/la * test/reference/service-quotas/list-service-quotas.html). */ quotaCode: string | core.StringOut; /** * (Required) Code of the service to track. For example: `vpc`. Available values can be found with the * [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/serv * ice-quotas/list-services.html). */ serviceCode: string | core.StringOut; /** * (Required) 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. */ value: number | core.NumberOut; } export class ServiceQuota extends core.Resource { /** * Whether the service quota can be increased. */ @core.attr(Boolean, { computed: true }) public adjustable!: boolean | core.BooleanOut; /** * Amazon Resource Name (ARN) of the service quota. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Default value of the service quota. */ @core.attr(Number, { computed: true }) public defaultValue!: number | core.NumberOut; /** * Service code and quota code, separated by a front slash (`/`) */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Code of the service quota to track. For example: `L-F678F1CE`. Available values can be fo * und with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/la * test/reference/service-quotas/list-service-quotas.html). */ @core.attr(String) public quotaCode!: string | core.StringOut; /** * Name of the quota. */ @core.attr(String, { computed: true }) public quotaName!: string | core.StringOut; @core.attr(String, { computed: true }) public requestId!: string | core.StringOut; @core.attr(String, { computed: true }) public requestStatus!: string | core.StringOut; /** * (Required) Code of the service to track. For example: `vpc`. Available values can be found with the * [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/serv * ice-quotas/list-services.html). */ @core.attr(String) public serviceCode!: string | core.StringOut; /** * Name of the service. */ @core.attr(String, { computed: true }) public serviceName!: string | core.StringOut; /** * (Required) 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. */ @core.attr(Number) public value!: number | core.NumberOut; constructor(name: string, args?: ServiceQuotaArgs) { super(name, "aws_servicequotas_service_quota", args); } public override getNamespace(): string { return "aws_servicequotas"; } }