diff --git a/providers/src/awscc/v00.00.00000/provider.yaml b/providers/src/awscc/v00.00.00000/provider.yaml
index 519b1350..850f597a 100644
--- a/providers/src/awscc/v00.00.00000/provider.yaml
+++ b/providers/src/awscc/v00.00.00000/provider.yaml
@@ -20,6 +20,24 @@ providerServices:
title: acmpca
version: v00.00.00000
description: acmpca
+ aiops:
+ id: aiops:v00.00.00000
+ name: aiops
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/aiops.yaml
+ title: aiops
+ version: v00.00.00000
+ description: aiops
+ amazonmq:
+ id: amazonmq:v00.00.00000
+ name: amazonmq
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/amazonmq.yaml
+ title: amazonmq
+ version: v00.00.00000
+ description: amazonmq
amplify:
id: amplify:v00.00.00000
name: amplify
@@ -101,6 +119,15 @@ providerServices:
title: applicationinsights
version: v00.00.00000
description: applicationinsights
+ applicationsignals:
+ id: applicationsignals:v00.00.00000
+ name: applicationsignals
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/applicationsignals.yaml
+ title: applicationsignals
+ version: v00.00.00000
+ description: applicationsignals
apprunner:
id: apprunner:v00.00.00000
name: apprunner
@@ -128,6 +155,15 @@ providerServices:
title: appsync
version: v00.00.00000
description: appsync
+ apptest:
+ id: apptest:v00.00.00000
+ name: apptest
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/apptest.yaml
+ title: apptest
+ version: v00.00.00000
+ description: apptest
aps:
id: aps:v00.00.00000
name: aps
@@ -137,6 +173,15 @@ providerServices:
title: aps
version: v00.00.00000
description: aps
+ arcregionswitch:
+ id: arcregionswitch:v00.00.00000
+ name: arcregionswitch
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/arcregionswitch.yaml
+ title: arcregionswitch
+ version: v00.00.00000
+ description: arcregionswitch
arczonalshift:
id: arczonalshift:v00.00.00000
name: arczonalshift
@@ -209,6 +254,33 @@ providerServices:
title: batch
version: v00.00.00000
description: batch
+ bcmdataexports:
+ id: bcmdataexports:v00.00.00000
+ name: bcmdataexports
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/bcmdataexports.yaml
+ title: bcmdataexports
+ version: v00.00.00000
+ description: bcmdataexports
+ bedrock:
+ id: bedrock:v00.00.00000
+ name: bedrock
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/bedrock.yaml
+ title: bedrock
+ version: v00.00.00000
+ description: bedrock
+ billing:
+ id: billing:v00.00.00000
+ name: billing
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/billing.yaml
+ title: billing
+ version: v00.00.00000
+ description: billing
billingconductor:
id: billingconductor:v00.00.00000
name: billingconductor
@@ -272,6 +344,15 @@ providerServices:
title: cleanrooms
version: v00.00.00000
description: cleanrooms
+ cleanroomsml:
+ id: cleanroomsml:v00.00.00000
+ name: cleanroomsml
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/cleanroomsml.yaml
+ title: cleanroomsml
+ version: v00.00.00000
+ description: cleanroomsml
cloudformation:
id: cloudformation:v00.00.00000
name: cloudformation
@@ -326,6 +407,15 @@ providerServices:
title: codebuild
version: v00.00.00000
description: codebuild
+ codeconnections:
+ id: codeconnections:v00.00.00000
+ name: codeconnections
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/codeconnections.yaml
+ title: codeconnections
+ version: v00.00.00000
+ description: codeconnections
codedeploy:
id: codedeploy:v00.00.00000
name: codedeploy
@@ -425,6 +515,15 @@ providerServices:
title: connectcampaigns
version: v00.00.00000
description: connectcampaigns
+ connectcampaignsv2:
+ id: connectcampaignsv2:v00.00.00000
+ name: connectcampaignsv2
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/connectcampaignsv2.yaml
+ title: connectcampaignsv2
+ version: v00.00.00000
+ description: connectcampaignsv2
controltower:
id: controltower:v00.00.00000
name: controltower
@@ -488,6 +587,15 @@ providerServices:
title: datazone
version: v00.00.00000
description: datazone
+ deadline:
+ id: deadline:v00.00.00000
+ name: deadline
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/deadline.yaml
+ title: deadline
+ version: v00.00.00000
+ description: deadline
detective:
id: detective:v00.00.00000
name: detective
@@ -533,6 +641,15 @@ providerServices:
title: docdbelastic
version: v00.00.00000
description: docdbelastic
+ dsql:
+ id: dsql:v00.00.00000
+ name: dsql
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/dsql.yaml
+ title: dsql
+ version: v00.00.00000
+ description: dsql
dynamodb:
id: dynamodb:v00.00.00000
name: dynamodb
@@ -677,6 +794,15 @@ providerServices:
title: evidently
version: v00.00.00000
description: evidently
+ evs:
+ id: evs:v00.00.00000
+ name: evs
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/evs.yaml
+ title: evs
+ version: v00.00.00000
+ description: evs
finspace:
id: finspace:v00.00.00000
name: finspace
@@ -866,6 +992,15 @@ providerServices:
title: internetmonitor
version: v00.00.00000
description: internetmonitor
+ invoicing:
+ id: invoicing:v00.00.00000
+ name: invoicing
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/invoicing.yaml
+ title: invoicing
+ version: v00.00.00000
+ description: invoicing
iot:
id: iot:v00.00.00000
name: iot
@@ -902,15 +1037,6 @@ providerServices:
title: iotevents
version: v00.00.00000
description: iotevents
- iotfleethub:
- id: iotfleethub:v00.00.00000
- name: iotfleethub
- preferred: true
- service:
- $ref: awscc/v00.00.00000/services/iotfleethub.yaml
- title: iotfleethub
- version: v00.00.00000
- description: iotfleethub
iotfleetwise:
id: iotfleetwise:v00.00.00000
name: iotfleetwise
@@ -1055,6 +1181,15 @@ providerServices:
title: lambda
version: v00.00.00000
description: lambda
+ launchwizard:
+ id: launchwizard:v00.00.00000
+ name: launchwizard
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/launchwizard.yaml
+ title: launchwizard
+ version: v00.00.00000
+ description: launchwizard
lex:
id: lex:v00.00.00000
name: lex
@@ -1109,15 +1244,6 @@ providerServices:
title: lookoutequipment
version: v00.00.00000
description: lookoutequipment
- lookoutmetrics:
- id: lookoutmetrics:v00.00.00000
- name: lookoutmetrics
- preferred: true
- service:
- $ref: awscc/v00.00.00000/services/lookoutmetrics.yaml
- title: lookoutmetrics
- version: v00.00.00000
- description: lookoutmetrics
lookoutvision:
id: lookoutvision:v00.00.00000
name: lookoutvision
@@ -1208,6 +1334,15 @@ providerServices:
title: memorydb
version: v00.00.00000
description: memorydb
+ mpa:
+ id: mpa:v00.00.00000
+ name: mpa
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/mpa.yaml
+ title: mpa
+ version: v00.00.00000
+ description: mpa
msk:
id: msk:v00.00.00000
name: msk
@@ -1262,15 +1397,24 @@ providerServices:
title: networkmanager
version: v00.00.00000
description: networkmanager
- nimblestudio:
- id: nimblestudio:v00.00.00000
- name: nimblestudio
+ notifications:
+ id: notifications:v00.00.00000
+ name: notifications
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/notifications.yaml
+ title: notifications
+ version: v00.00.00000
+ description: notifications
+ notificationscontacts:
+ id: notificationscontacts:v00.00.00000
+ name: notificationscontacts
preferred: true
service:
- $ref: awscc/v00.00.00000/services/nimblestudio.yaml
- title: nimblestudio
+ $ref: awscc/v00.00.00000/services/notificationscontacts.yaml
+ title: notificationscontacts
version: v00.00.00000
- description: nimblestudio
+ description: notificationscontacts
oam:
id: oam:v00.00.00000
name: oam
@@ -1280,6 +1424,24 @@ providerServices:
title: oam
version: v00.00.00000
description: oam
+ observabilityadmin:
+ id: observabilityadmin:v00.00.00000
+ name: observabilityadmin
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/observabilityadmin.yaml
+ title: observabilityadmin
+ version: v00.00.00000
+ description: observabilityadmin
+ odb:
+ id: odb:v00.00.00000
+ name: odb
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/odb.yaml
+ title: odb
+ version: v00.00.00000
+ description: odb
omics:
id: omics:v00.00.00000
name: omics
@@ -1307,15 +1469,6 @@ providerServices:
title: opensearchservice
version: v00.00.00000
description: opensearchservice
- opsworkscm:
- id: opsworkscm:v00.00.00000
- name: opsworkscm
- preferred: true
- service:
- $ref: awscc/v00.00.00000/services/opsworkscm.yaml
- title: opsworkscm
- version: v00.00.00000
- description: opsworkscm
organizations:
id: organizations:v00.00.00000
name: organizations
@@ -1343,6 +1496,15 @@ providerServices:
title: panorama
version: v00.00.00000
description: panorama
+ paymentcryptography:
+ id: paymentcryptography:v00.00.00000
+ name: paymentcryptography
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/paymentcryptography.yaml
+ title: paymentcryptography
+ version: v00.00.00000
+ description: paymentcryptography
pcaconnectorad:
id: pcaconnectorad:v00.00.00000
name: pcaconnectorad
@@ -1352,6 +1514,24 @@ providerServices:
title: pcaconnectorad
version: v00.00.00000
description: pcaconnectorad
+ pcaconnectorscep:
+ id: pcaconnectorscep:v00.00.00000
+ name: pcaconnectorscep
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/pcaconnectorscep.yaml
+ title: pcaconnectorscep
+ version: v00.00.00000
+ description: pcaconnectorscep
+ pcs:
+ id: pcs:v00.00.00000
+ name: pcs
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/pcs.yaml
+ title: pcs
+ version: v00.00.00000
+ description: pcs
personalize:
id: personalize:v00.00.00000
name: personalize
@@ -1388,6 +1568,15 @@ providerServices:
title: proton
version: v00.00.00000
description: proton
+ qbusiness:
+ id: qbusiness:v00.00.00000
+ name: qbusiness
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/qbusiness.yaml
+ title: qbusiness
+ version: v00.00.00000
+ description: qbusiness
qldb:
id: qldb:v00.00.00000
name: qldb
@@ -1415,6 +1604,15 @@ providerServices:
title: ram
version: v00.00.00000
description: ram
+ rbin:
+ id: rbin:v00.00.00000
+ name: rbin
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/rbin.yaml
+ title: rbin
+ version: v00.00.00000
+ description: rbin
rds:
id: rds:v00.00.00000
name: rds
@@ -1514,6 +1712,15 @@ providerServices:
title: route53
version: v00.00.00000
description: route53
+ route53profiles:
+ id: route53profiles:v00.00.00000
+ name: route53profiles
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/route53profiles.yaml
+ title: route53profiles
+ version: v00.00.00000
+ description: route53profiles
route53recoverycontrol:
id: route53recoverycontrol:v00.00.00000
name: route53recoverycontrol
@@ -1586,6 +1793,15 @@ providerServices:
title: s3outposts
version: v00.00.00000
description: s3outposts
+ s3tables:
+ id: s3tables:v00.00.00000
+ name: s3tables
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/s3tables.yaml
+ title: s3tables
+ version: v00.00.00000
+ description: s3tables
sagemaker:
id: sagemaker:v00.00.00000
name: sagemaker
@@ -1622,6 +1838,15 @@ providerServices:
title: securityhub
version: v00.00.00000
description: securityhub
+ securitylake:
+ id: securitylake:v00.00.00000
+ name: securitylake
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/securitylake.yaml
+ title: securitylake
+ version: v00.00.00000
+ description: securitylake
servicecatalog:
id: servicecatalog:v00.00.00000
name: servicecatalog
@@ -1712,6 +1937,15 @@ providerServices:
title: ssmcontacts
version: v00.00.00000
description: ssmcontacts
+ ssmguiconnect:
+ id: ssmguiconnect:v00.00.00000
+ name: ssmguiconnect
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/ssmguiconnect.yaml
+ title: ssmguiconnect
+ version: v00.00.00000
+ description: ssmguiconnect
ssmincidents:
id: ssmincidents:v00.00.00000
name: ssmincidents
@@ -1721,6 +1955,15 @@ providerServices:
title: ssmincidents
version: v00.00.00000
description: ssmincidents
+ ssmquicksetup:
+ id: ssmquicksetup:v00.00.00000
+ name: ssmquicksetup
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/ssmquicksetup.yaml
+ title: ssmquicksetup
+ version: v00.00.00000
+ description: ssmquicksetup
sso:
id: sso:v00.00.00000
name: sso
@@ -1838,6 +2081,15 @@ providerServices:
title: workspaces
version: v00.00.00000
description: workspaces
+ workspacesinstances:
+ id: workspacesinstances:v00.00.00000
+ name: workspacesinstances
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/workspacesinstances.yaml
+ title: workspacesinstances
+ version: v00.00.00000
+ description: workspacesinstances
workspacesthinclient:
id: workspacesthinclient:v00.00.00000
name: workspacesthinclient
@@ -1874,6 +2126,15 @@ providerServices:
title: cloud_control
version: v00.00.00000
description: cloud_control
+ tagging:
+ id: tagging:v00.00.00000
+ name: tagging
+ preferred: true
+ service:
+ $ref: awscc/v00.00.00000/services/tagging.yaml
+ title: tagging
+ version: v00.00.00000
+ description: tagging
config:
auth:
type: aws_signing_v4
diff --git a/providers/src/awscc/v00.00.00000/services/.gitignore b/providers/src/awscc/v00.00.00000/services/.gitignore
deleted file mode 100644
index 86d0cb27..00000000
--- a/providers/src/awscc/v00.00.00000/services/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-# Ignore everything in this directory
-*
-# Except this file
-!.gitignore
\ No newline at end of file
diff --git a/providers/src/awscc/v00.00.00000/services/accessanalyzer.yaml b/providers/src/awscc/v00.00.00000/services/accessanalyzer.yaml
index 0fd4cf23..95c0f46d 100644
--- a/providers/src/awscc/v00.00.00000/services/accessanalyzer.yaml
+++ b/providers/src/awscc/v00.00.00000/services/accessanalyzer.yaml
@@ -1,9 +1,389 @@
openapi: 3.0.0
info:
title: AccessAnalyzer
- version: 1.0.0
-paths: {}
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+
Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
schemas:
ArchiveRule:
description: An Access Analyzer archive rule. Archive rules automatically archive new findings that meet the criteria you define when you create the rule.
@@ -58,22 +438,100 @@ components:
maxLength: 127
Value:
type: string
- description: 'The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. '
- minLength: 1
+ description: 'The value for the tag. You can specify a value that is 0 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. '
+ minLength: 0
maxLength: 255
required:
- Key
- - Value
+ additionalProperties: false
+ Tags:
+ type: array
+ x-insertionOrder: false
+ uniqueItems: true
+ description: An array of key-value pairs to apply to this resource.
+ items:
+ $ref: '#/components/schemas/Tag'
+ AnalysisRuleCriteria:
+ description: The criteria for an analysis rule for an analyzer.
+ type: object
+ properties:
+ AccountIds:
+ description: A list of AWS account IDs to apply to the analysis rule criteria. The accounts cannot include the organization analyzer owner account. Account IDs can only be applied to the analysis rule criteria for organization-level analyzers.
+ type: array
+ x-insertionOrder: false
+ items:
+ type: string
+ ResourceTags:
+ description: |-
+ An array of key-value pairs to match for your resources. You can use the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
+
+ For the tag key, you can specify a value that is 1 to 128 characters in length and cannot be prefixed with aws:.
+
+ For the tag value, you can specify a value that is 0 to 256 characters in length. If the specified tag value is 0 characters, the rule is applied to all principals with the specified tag key.
+ type: array
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/Tags'
+ additionalProperties: false
+ InternalAccessAnalysisRuleCriteria:
+ description: The criteria for an analysis rule for an internal access analyzer.
+ type: object
+ properties:
+ AccountIds:
+ description: A list of AWS account IDs to apply to the internal access analysis rule criteria. Account IDs can only be applied to the analysis rule criteria for organization-level analyzers and cannot include the organization owner account.
+ type: array
+ x-insertionOrder: false
+ items:
+ type: string
+ ResourceArns:
+ description: A list of resource ARNs to apply to the internal access analysis rule criteria. The analyzer will only generate findings for resources that match these ARNs.
+ type: array
+ x-insertionOrder: false
+ items:
+ type: string
+ ResourceTypes:
+ description: A list of resource types to apply to the internal access analysis rule criteria. The analyzer will only generate findings for resources of these types.
+ type: array
+ x-insertionOrder: false
+ items:
+ type: string
+ additionalProperties: false
+ InternalAccessConfiguration:
+ description: Specifies the configuration of an internal access analyzer for an AWS organization or account. This configuration determines how the analyzer evaluates internal access within your AWS environment.
+ type: object
+ properties:
+ InternalAccessAnalysisRule:
+ description: Contains information about analysis rules for the internal access analyzer. Analysis rules determine which entities will generate findings based on the criteria you define when you create the rule.
+ type: object
+ properties:
+ Inclusions:
+ description: A list of rules for the internal access analyzer containing criteria to include in analysis. Only resources that meet the rule criteria will generate findings.
+ type: array
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/InternalAccessAnalysisRuleCriteria'
+ additionalProperties: false
additionalProperties: false
UnusedAccessConfiguration:
description: The Configuration for Unused Access Analyzer
type: object
properties:
UnusedAccessAge:
- description: The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 180 days.
+ description: The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 365 days.
type: integer
minimum: 1
- maximum: 180
+ maximum: 365
+ AnalysisRule:
+ description: Contains information about rules for the analyzer.
+ type: object
+ properties:
+ Exclusions:
+ description: A list of rules for the analyzer containing criteria to exclude from analysis. Entities that meet the rule criteria will not generate findings.
+ type: array
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/AnalysisRuleCriteria'
+ additionalProperties: false
additionalProperties: false
Analyzer:
type: object
@@ -102,7 +560,7 @@ components:
items:
$ref: '#/components/schemas/Tag'
Type:
- description: The type of the analyzer, must be one of ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS or ORGANIZATION_UNUSED_ACCESS
+ description: The type of the analyzer, must be one of ACCOUNT, ORGANIZATION, ACCOUNT_INTERNAL_ACCESS, ORGANIZATION_INTERNAL_ACCESS, ACCOUNT_UNUSED_ACCESS and ORGANIZATION_UNUSED_ACCESS
type: string
minLength: 0
maxLength: 1024
@@ -112,18 +570,35 @@ components:
properties:
UnusedAccessConfiguration:
$ref: '#/components/schemas/UnusedAccessConfiguration'
+ InternalAccessConfiguration:
+ $ref: '#/components/schemas/InternalAccessConfiguration'
additionalProperties: false
required:
- Type
x-stackql-resource-name: analyzer
- x-stackql-primaryIdentifier:
+ description: The AWS::AccessAnalyzer::Analyzer type specifies an analyzer of the user's account
+ x-type-name: AWS::AccessAnalyzer::Analyzer
+ x-stackql-primary-identifier:
- Arn
x-create-only-properties:
- AnalyzerName
- Type
+ x-conditional-create-only-properties:
- AnalyzerConfiguration
x-read-only-properties:
- Arn
+ x-required-properties:
+ - Type
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - access-analyzer:UntagResource
+ - access-analyzer:TagResource
+ - access-analyzer:ListTagsForResource
x-required-permissions:
create:
- access-analyzer:CreateAnalyzer
@@ -141,48 +616,133 @@ components:
- access-analyzer:ListAnalyzers
- access-analyzer:TagResource
- access-analyzer:UntagResource
+ - access-analyzer:UpdateAnalyzer
- access-analyzer:UpdateArchiveRule
delete:
- access-analyzer:DeleteAnalyzer
list:
- access-analyzer:ListAnalyzers
+ CreateAnalyzerRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ AnalyzerName:
+ description: Analyzer name
+ type: string
+ minLength: 1
+ maxLength: 1024
+ ArchiveRules:
+ type: array
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/ArchiveRule'
+ Arn:
+ description: Amazon Resource Name (ARN) of the analyzer
+ type: string
+ minLength: 1
+ maxLength: 1600
+ Tags:
+ type: array
+ maxItems: 50
+ x-insertionOrder: false
+ uniqueItems: true
+ description: An array of key-value pairs to apply to this resource.
+ items:
+ $ref: '#/components/schemas/Tag'
+ Type:
+ description: The type of the analyzer, must be one of ACCOUNT, ORGANIZATION, ACCOUNT_INTERNAL_ACCESS, ORGANIZATION_INTERNAL_ACCESS, ACCOUNT_UNUSED_ACCESS and ORGANIZATION_UNUSED_ACCESS
+ type: string
+ minLength: 0
+ maxLength: 1024
+ AnalyzerConfiguration:
+ description: The configuration for the analyzer
+ type: object
+ properties:
+ UnusedAccessConfiguration:
+ $ref: '#/components/schemas/UnusedAccessConfiguration'
+ InternalAccessConfiguration:
+ $ref: '#/components/schemas/InternalAccessConfiguration'
+ additionalProperties: false
+ x-stackQL-stringOnly: true
+ x-title: CreateAnalyzerRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
x-stackQL-resources:
analyzers:
name: analyzers
id: awscc.accessanalyzer.analyzers
x-cfn-schema-name: Analyzer
- x-type: list
- x-identifiers:
- - Arn
- config:
- views:
- select:
- predicate: sqlDialect == "sqlite3"
- ddl: |-
- SELECT
- region,
- JSON_EXTRACT(Properties, '$.Arn') as arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AccessAnalyzer::Analyzer'
- AND region = 'us-east-1'
- fallback:
- predicate: sqlDialect == "postgres"
- ddl: |-
- SELECT
- region,
- json_extract_path_text(Properties, 'Arn') as arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AccessAnalyzer::Analyzer'
- AND region = 'us-east-1'
- analyzer:
- name: analyzer
- id: awscc.accessanalyzer.analyzer
- x-cfn-schema-name: Analyzer
- x-type: get
+ x-cfn-type-name: AWS::AccessAnalyzer::Analyzer
x-identifiers:
- Arn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Analyzer&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AccessAnalyzer::Analyzer"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AccessAnalyzer::Analyzer"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AccessAnalyzer::Analyzer"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/analyzers/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/analyzers/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/analyzers/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -197,7 +757,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -211,3 +771,229 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AccessAnalyzer::Analyzer'
AND data__Identifier = ''
AND region = 'us-east-1'
+ analyzers_list_only:
+ name: analyzers_list_only
+ id: awscc.accessanalyzer.analyzers_list_only
+ x-cfn-schema-name: Analyzer
+ x-cfn-type-name: AWS::AccessAnalyzer::Analyzer
+ x-identifiers:
+ - Arn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.Arn') as arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AccessAnalyzer::Analyzer'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'Arn') as arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AccessAnalyzer::Analyzer'
+ AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Analyzer&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateAnalyzer
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateAnalyzerRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/acmpca.yaml b/providers/src/awscc/v00.00.00000/services/acmpca.yaml
index 9d1716bb..c0b782b7 100644
--- a/providers/src/awscc/v00.00.00000/services/acmpca.yaml
+++ b/providers/src/awscc/v00.00.00000/services/acmpca.yaml
@@ -1,9 +1,389 @@
openapi: 3.0.0
info:
title: ACMPCA
- version: 1.0.0
-paths: {}
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
schemas:
ApiPassthrough:
description: |-
@@ -69,7 +449,7 @@ components:
CustomExtension:
description: |-
Specifies the X.509 extension information for a certificate.
- Extensions present in ``CustomExtensions`` follow the ``ApiPassthrough`` [template rules](https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html#template-order-of-operations).
+ Extensions present in ``CustomExtensions`` follow the ``ApiPassthrough``[template rules](https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html#template-order-of-operations).
type: object
additionalProperties: false
properties:
@@ -281,7 +661,6 @@ components:
type: string
required:
- PartyName
- - NameAssigner
UniformResourceIdentifier:
description: String that contains X.509 UniformResourceIdentifier information.
type: string
@@ -332,7 +711,9 @@ components:
- SigningAlgorithm
- Validity
x-stackql-resource-name: certificate
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ACMPCA::Certificate`` resource is used to issue a certificate using your private certificate authority. For more information, see the [IssueCertificate](https://docs.aws.amazon.com/privateca/latest/APIReference/API_IssueCertificate.html) action.
+ x-type-name: AWS::ACMPCA::Certificate
+ x-stackql-primary-identifier:
- Arn
- CertificateAuthorityArn
x-create-only-properties:
@@ -343,9 +724,26 @@ components:
- TemplateArn
- Validity
- ValidityNotBefore
+ x-write-only-properties:
+ - ApiPassthrough
+ - CertificateSigningRequest
+ - SigningAlgorithm
+ - TemplateArn
+ - Validity
+ - ValidityNotBefore
x-read-only-properties:
- Arn
- Certificate
+ x-required-properties:
+ - CertificateAuthorityArn
+ - CertificateSigningRequest
+ - SigningAlgorithm
+ - Validity
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
create:
- acm-pca:IssueCertificate
@@ -354,7 +752,6 @@ components:
- acm-pca:GetCertificate
delete:
- acm-pca:GetCertificate
- update: []
Tag:
type: object
additionalProperties: false
@@ -363,6 +760,8 @@ components:
type: string
Value:
type: string
+ required:
+ - Key
CrlDistributionPointExtensionConfiguration:
description: Configures the default behavior of the CRL Distribution Point extension for certificates issued by your certificate authority
type: object
@@ -389,6 +788,12 @@ components:
type: string
CrlDistributionPointExtensionConfiguration:
$ref: '#/components/schemas/CrlDistributionPointExtensionConfiguration'
+ CrlType:
+ type: string
+ CustomPath:
+ type: string
+ required:
+ - Enabled
OcspConfiguration:
description: Helps to configure online certificate status protocol (OCSP) responder for your certificate authority
type: object
@@ -398,6 +803,8 @@ components:
type: boolean
OcspCustomCname:
type: string
+ required:
+ - Enabled
RevocationConfiguration:
description: Certificate Authority revocation information.
type: object
@@ -488,7 +895,9 @@ components:
- SigningAlgorithm
- Subject
x-stackql-resource-name: certificate_authority
- x-stackql-primaryIdentifier:
+ description: Private certificate authority.
+ x-type-name: AWS::ACMPCA::CertificateAuthority
+ x-stackql-primary-identifier:
- Arn
x-create-only-properties:
- Type
@@ -498,20 +907,39 @@ components:
- CsrExtensions
- KeyStorageSecurityStandard
- UsageMode
+ x-write-only-properties:
+ - Subject
+ - CsrExtensions
+ - RevocationConfiguration
+ - KeyStorageSecurityStandard
x-read-only-properties:
- Arn
- CertificateSigningRequest
+ x-required-properties:
+ - Type
+ - KeyAlgorithm
+ - SigningAlgorithm
+ - Subject
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
+ permissions:
+ - acm-pca:TagCertificateAuthority
+ - acm-pca:UntagCertificateAuthority
x-required-permissions:
create:
- acm-pca:CreateCertificateAuthority
- acm-pca:DescribeCertificateAuthority
- acm-pca:GetCertificateAuthorityCsr
+ - acm-pca:TagCertificateAuthority
read:
- acm-pca:DescribeCertificateAuthority
- acm-pca:GetCertificateAuthorityCsr
- acm-pca:ListTags
update:
- - acm-pca:ListTags
- acm-pca:TagCertificateAuthority
- acm-pca:UntagCertificateAuthority
- acm-pca:UpdateCertificateAuthority
@@ -545,12 +973,25 @@ components:
- CertificateAuthorityArn
- Certificate
x-stackql-resource-name: certificate_authority_activation
- x-stackql-primaryIdentifier:
+ description: Used to install the certificate authority certificate and update the certificate authority status.
+ x-type-name: AWS::ACMPCA::CertificateAuthorityActivation
+ x-stackql-primary-identifier:
- CertificateAuthorityArn
x-create-only-properties:
- CertificateAuthorityArn
+ x-write-only-properties:
+ - Certificate
+ - CertificateChain
x-read-only-properties:
- CompleteCertificateChain
+ x-required-properties:
+ - CertificateAuthorityArn
+ - Certificate
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
create:
- acm-pca:ImportCertificateAuthorityCertificate
@@ -586,7 +1027,9 @@ components:
- CertificateAuthorityArn
- Principal
x-stackql-resource-name: permission
- x-stackql-primaryIdentifier:
+ description: Permission set on private certificate authority
+ x-type-name: AWS::ACMPCA::Permission
+ x-stackql-primary-identifier:
- CertificateAuthorityArn
- Principal
x-create-only-properties:
@@ -594,6 +1037,15 @@ components:
- CertificateAuthorityArn
- Principal
- SourceAccount
+ x-required-properties:
+ - Actions
+ - CertificateAuthorityArn
+ - Principal
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
create:
- acm-pca:CreatePermission
@@ -602,19 +1054,228 @@ components:
- acm-pca:ListPermissions
delete:
- acm-pca:DeletePermission
+ CreateCertificateRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ApiPassthrough:
+ description: Specifies X.509 certificate information to be included in the issued certificate. An ``APIPassthrough`` or ``APICSRPassthrough`` template variant must be selected, or else this parameter is ignored.
+ $ref: '#/components/schemas/ApiPassthrough'
+ CertificateAuthorityArn:
+ description: The Amazon Resource Name (ARN) for the private CA issues the certificate.
+ $ref: '#/components/schemas/Arn'
+ CertificateSigningRequest:
+ description: The certificate signing request (CSR) for the certificate.
+ type: string
+ minLength: 1
+ SigningAlgorithm:
+ description: |-
+ The name of the algorithm that will be used to sign the certificate to be issued.
+ This parameter should not be confused with the ``SigningAlgorithm`` parameter used to sign a CSR in the ``CreateCertificateAuthority`` action.
+ The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.
+ type: string
+ TemplateArn:
+ description: Specifies a custom configuration template to use when issuing a certificate. If this parameter is not provided, PCAshort defaults to the ``EndEntityCertificate/V1`` template. For more information about PCAshort templates, see [Using Templates](https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html).
+ $ref: '#/components/schemas/Arn'
+ Validity:
+ description: The period of time during which the certificate will be valid.
+ $ref: '#/components/schemas/Validity'
+ ValidityNotBefore:
+ description: |-
+ Information describing the start of the validity period of the certificate. This parameter sets the “Not Before" date for the certificate.
+ By default, when issuing a certificate, PCAshort sets the "Not Before" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The ``ValidityNotBefore`` parameter can be used to customize the “Not Before” value.
+ Unlike the ``Validity`` parameter, the ``ValidityNotBefore`` parameter is optional.
+ The ``ValidityNotBefore`` value is expressed as an explicit date and time, using the ``Validity`` type value ``ABSOLUTE``.
+ $ref: '#/components/schemas/Validity'
+ Certificate:
+ description: ''
+ type: string
+ Arn:
+ description: ''
+ $ref: '#/components/schemas/Arn'
+ x-stackQL-stringOnly: true
+ x-title: CreateCertificateRequest
+ type: object
+ required: []
+ CreateCertificateAuthorityRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Arn:
+ description: The Amazon Resource Name (ARN) of the certificate authority.
+ $ref: '#/components/schemas/Arn'
+ Type:
+ description: The type of the certificate authority.
+ type: string
+ KeyAlgorithm:
+ description: Public key algorithm and size, in bits, of the key pair that your CA creates when it issues a certificate.
+ type: string
+ SigningAlgorithm:
+ description: Algorithm your CA uses to sign certificate requests.
+ type: string
+ Subject:
+ description: Structure that contains X.500 distinguished name information for your CA.
+ $ref: '#/components/schemas/Subject'
+ RevocationConfiguration:
+ description: Certificate revocation information used by the CreateCertificateAuthority and UpdateCertificateAuthority actions.
+ $ref: '#/components/schemas/RevocationConfiguration'
+ Tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ CertificateSigningRequest:
+ description: The base64 PEM-encoded certificate signing request (CSR) for your certificate authority certificate.
+ type: string
+ CsrExtensions:
+ description: Structure that contains CSR pass through extension information used by the CreateCertificateAuthority action.
+ $ref: '#/components/schemas/CsrExtensions'
+ KeyStorageSecurityStandard:
+ description: KeyStorageSecurityStadard defines a cryptographic key management compliance standard used for handling CA keys.
+ type: string
+ UsageMode:
+ description: Usage mode of the ceritificate authority.
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateCertificateAuthorityRequest
+ type: object
+ required: []
+ CreateCertificateAuthorityActivationRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ CertificateAuthorityArn:
+ description: Arn of the Certificate Authority.
+ type: string
+ Certificate:
+ description: Certificate Authority certificate that will be installed in the Certificate Authority.
+ type: string
+ CertificateChain:
+ description: Certificate chain for the Certificate Authority certificate.
+ type: string
+ Status:
+ description: The status of the Certificate Authority.
+ type: string
+ CompleteCertificateChain:
+ description: The complete certificate chain, including the Certificate Authority certificate.
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateCertificateAuthorityActivationRequest
+ type: object
+ required: []
+ CreatePermissionRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Actions:
+ description: The actions that the specified AWS service principal can use. Actions IssueCertificate, GetCertificate and ListPermissions must be provided.
+ type: array
+ x-insertionOrder: false
+ items:
+ type: string
+ CertificateAuthorityArn:
+ description: The Amazon Resource Name (ARN) of the Private Certificate Authority that grants the permission.
+ type: string
+ Principal:
+ description: The AWS service or identity that receives the permission. At this time, the only valid principal is acm.amazonaws.com.
+ type: string
+ SourceAccount:
+ description: The ID of the calling account.
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreatePermissionRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
x-stackQL-resources:
- certificate:
- name: certificate
- id: awscc.acmpca.certificate
+ certificates:
+ name: certificates
+ id: awscc.acmpca.certificates
x-cfn-schema-name: Certificate
- x-type: get
+ x-cfn-type-name: AWS::ACMPCA::Certificate
x-identifiers:
- Arn
- CertificateAuthorityArn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Certificate&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ACMPCA::Certificate"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ACMPCA::Certificate"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/certificates/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/certificates/methods/delete_resource'
+ update: []
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -632,7 +1293,7 @@ components:
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -653,38 +1314,61 @@ components:
name: certificate_authorities
id: awscc.acmpca.certificate_authorities
x-cfn-schema-name: CertificateAuthority
- x-type: list
- x-identifiers:
- - Arn
- config:
- views:
- select:
- predicate: sqlDialect == "sqlite3"
- ddl: |-
- SELECT
- region,
- JSON_EXTRACT(Properties, '$.Arn') as arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ACMPCA::CertificateAuthority'
- AND region = 'us-east-1'
- fallback:
- predicate: sqlDialect == "postgres"
- ddl: |-
- SELECT
- region,
- json_extract_path_text(Properties, 'Arn') as arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ACMPCA::CertificateAuthority'
- AND region = 'us-east-1'
- certificate_authority:
- name: certificate_authority
- id: awscc.acmpca.certificate_authority
- x-cfn-schema-name: CertificateAuthority
- x-type: get
+ x-cfn-type-name: AWS::ACMPCA::CertificateAuthority
x-identifiers:
- Arn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CertificateAuthority&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ACMPCA::CertificateAuthority"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ACMPCA::CertificateAuthority"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ACMPCA::CertificateAuthority"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/certificate_authorities/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/certificate_authorities/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/certificate_authorities/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -704,7 +1388,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -723,17 +1407,96 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ACMPCA::CertificateAuthority'
AND data__Identifier = ''
AND region = 'us-east-1'
- certificate_authority_activation:
- name: certificate_authority_activation
- id: awscc.acmpca.certificate_authority_activation
+ certificate_authorities_list_only:
+ name: certificate_authorities_list_only
+ id: awscc.acmpca.certificate_authorities_list_only
+ x-cfn-schema-name: CertificateAuthority
+ x-cfn-type-name: AWS::ACMPCA::CertificateAuthority
+ x-identifiers:
+ - Arn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.Arn') as arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ACMPCA::CertificateAuthority'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'Arn') as arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ACMPCA::CertificateAuthority'
+ AND region = 'us-east-1'
+ certificate_authority_activations:
+ name: certificate_authority_activations
+ id: awscc.acmpca.certificate_authority_activations
x-cfn-schema-name: CertificateAuthorityActivation
- x-type: get
+ x-cfn-type-name: AWS::ACMPCA::CertificateAuthorityActivation
x-identifiers:
- CertificateAuthorityArn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CertificateAuthorityActivation&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ACMPCA::CertificateAuthorityActivation"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ACMPCA::CertificateAuthorityActivation"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ACMPCA::CertificateAuthorityActivation"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/certificate_authority_activations/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/certificate_authority_activations/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/certificate_authority_activations/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -747,7 +1510,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -760,18 +1523,53 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ACMPCA::CertificateAuthorityActivation'
AND data__Identifier = ''
AND region = 'us-east-1'
- permission:
- name: permission
- id: awscc.acmpca.permission
+ permissions:
+ name: permissions
+ id: awscc.acmpca.permissions
x-cfn-schema-name: Permission
- x-type: get
+ x-cfn-type-name: AWS::ACMPCA::Permission
x-identifiers:
- CertificateAuthorityArn
- Principal
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Permission&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ACMPCA::Permission"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ACMPCA::Permission"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/permissions/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/permissions/methods/delete_resource'
+ update: []
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -784,7 +1582,7 @@ components:
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -796,3 +1594,324 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ACMPCA::Permission'
AND data__Identifier = '|'
AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Certificate&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateCertificate
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateCertificateRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__CertificateAuthority&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateCertificateAuthority
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateCertificateAuthorityRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__CertificateAuthorityActivation&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateCertificateAuthorityActivation
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateCertificateAuthorityActivationRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Permission&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreatePermission
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreatePermissionRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/aiops.yaml b/providers/src/awscc/v00.00.00000/services/aiops.yaml
new file mode 100644
index 00000000..49718e3e
--- /dev/null
+++ b/providers/src/awscc/v00.00.00000/services/aiops.yaml
@@ -0,0 +1,996 @@
+openapi: 3.0.0
+info:
+ title: AIOps
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
+components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ schemas:
+ RoleArn:
+ type: string
+ maxLength: 2048
+ minLength: 20
+ description: The Investigation Role's ARN.
+ StringWithPatternAndLengthLimits:
+ type: string
+ maxLength: 512
+ minLength: 1
+ description: User friendly name for resources.
+ Timestamp:
+ type: string
+ description: The timestamp value.
+ InvestigationGroupArn:
+ type: string
+ maxLength: 2048
+ minLength: 20
+ description: The Investigation Group's ARN.
+ ChatbotNotificationChannel:
+ type: object
+ properties:
+ SNSTopicArn:
+ type: string
+ maxLength: 2048
+ minLength: 20
+ ChatConfigurationArns:
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ type: string
+ additionalProperties: false
+ CrossAccountConfiguration:
+ type: object
+ properties:
+ SourceRoleArn:
+ $ref: '#/components/schemas/RoleArn'
+ additionalProperties: false
+ EncryptionConfigMap:
+ type: object
+ properties:
+ EncryptionConfigurationType:
+ type: string
+ maxLength: 128
+ minLength: 1
+ KmsKeyId:
+ type: string
+ maxLength: 256
+ minLength: 1
+ additionalProperties: false
+ Tag:
+ type: object
+ properties:
+ Key:
+ type: string
+ maxLength: 128
+ minLength: 1
+ Value:
+ type: string
+ maxLength: 256
+ minLength: 1
+ required:
+ - Key
+ - Value
+ additionalProperties: false
+ InvestigationGroup:
+ type: object
+ properties:
+ RoleArn:
+ $ref: '#/components/schemas/RoleArn'
+ Name:
+ $ref: '#/components/schemas/StringWithPatternAndLengthLimits'
+ CreatedBy:
+ $ref: '#/components/schemas/StringWithPatternAndLengthLimits'
+ CreatedAt:
+ $ref: '#/components/schemas/Timestamp'
+ LastModifiedBy:
+ $ref: '#/components/schemas/StringWithPatternAndLengthLimits'
+ LastModifiedAt:
+ $ref: '#/components/schemas/StringWithPatternAndLengthLimits'
+ Arn:
+ $ref: '#/components/schemas/InvestigationGroupArn'
+ RetentionInDays:
+ type: integer
+ description: The number of days to retain the investigation group
+ EncryptionConfig:
+ $ref: '#/components/schemas/EncryptionConfigMap'
+ InvestigationGroupPolicy:
+ type: string
+ description: Investigation Group policy
+ IsCloudTrailEventHistoryEnabled:
+ type: boolean
+ description: Flag to enable cloud trail history
+ TagKeyBoundaries:
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ type: string
+ maxLength: 200
+ minLength: 1
+ ChatbotNotificationChannels:
+ description: An array of key-value pairs of notification channels to apply to this resource.
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/ChatbotNotificationChannel'
+ CrossAccountConfigurations:
+ description: An array of cross account configurations.
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/CrossAccountConfiguration'
+ Tags:
+ description: An array of key-value pairs to apply to this resource.
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/Tag'
+ required:
+ - Name
+ x-stackql-resource-name: investigation_group
+ description: Definition of AWS::AIOps::InvestigationGroup Resource Type
+ x-type-name: AWS::AIOps::InvestigationGroup
+ x-stackql-primary-identifier:
+ - Arn
+ x-create-only-properties:
+ - Name
+ - RetentionInDays
+ x-read-only-properties:
+ - CreatedBy
+ - CreatedAt
+ - LastModifiedBy
+ - LastModifiedAt
+ - Arn
+ x-required-properties:
+ - Name
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - aiops:TagResource
+ - aiops:UntagResource
+ - aiops:ListTagsForResource
+ x-required-permissions:
+ create:
+ - aiops:CreateInvestigationGroup
+ - aiops:GetInvestigationGroup
+ - aiops:GetInvestigationGroupPolicy
+ - aiops:PutInvestigationGroupPolicy
+ - aiops:TagResource
+ - aiops:ListTagsForResource
+ - iam:PassRole
+ - kms:DescribeKey
+ - kms:ListAliases
+ - kms:Decrypt
+ - kms:Encrypt
+ - kms:GenerateDataKey
+ read:
+ - aiops:GetInvestigationGroup
+ - aiops:GetInvestigationGroupPolicy
+ - aiops:ListTagsForResource
+ - kms:DescribeKey
+ - kms:ListAliases
+ - kms:Decrypt
+ - kms:Encrypt
+ update:
+ - aiops:GetInvestigationGroup
+ - aiops:UpdateInvestigationGroup
+ - aiops:GetInvestigationGroupPolicy
+ - aiops:PutInvestigationGroupPolicy
+ - aiops:DeleteInvestigationGroupPolicy
+ - aiops:TagResource
+ - aiops:UntagResource
+ - aiops:ListTagsForResource
+ - iam:PassRole
+ - kms:DescribeKey
+ - kms:ListAliases
+ - kms:Decrypt
+ - kms:Encrypt
+ - kms:GenerateDataKey
+ delete:
+ - aiops:DeleteInvestigationGroup
+ - aiops:GetInvestigationGroup
+ - aiops:DeleteInvestigationGroupPolicy
+ - aiops:GetInvestigationGroupPolicy
+ - aiops:UntagResource
+ - kms:DescribeKey
+ - kms:ListAliases
+ list:
+ - aiops:ListInvestigationGroups
+ - kms:DescribeKey
+ - kms:ListAliases
+ CreateInvestigationGroupRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ RoleArn:
+ $ref: '#/components/schemas/RoleArn'
+ Name:
+ $ref: '#/components/schemas/StringWithPatternAndLengthLimits'
+ CreatedBy:
+ $ref: '#/components/schemas/StringWithPatternAndLengthLimits'
+ CreatedAt:
+ $ref: '#/components/schemas/Timestamp'
+ LastModifiedBy:
+ $ref: '#/components/schemas/StringWithPatternAndLengthLimits'
+ LastModifiedAt:
+ $ref: '#/components/schemas/StringWithPatternAndLengthLimits'
+ Arn:
+ $ref: '#/components/schemas/InvestigationGroupArn'
+ RetentionInDays:
+ type: integer
+ description: The number of days to retain the investigation group
+ EncryptionConfig:
+ $ref: '#/components/schemas/EncryptionConfigMap'
+ InvestigationGroupPolicy:
+ type: string
+ description: Investigation Group policy
+ IsCloudTrailEventHistoryEnabled:
+ type: boolean
+ description: Flag to enable cloud trail history
+ TagKeyBoundaries:
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ type: string
+ maxLength: 200
+ minLength: 1
+ ChatbotNotificationChannels:
+ description: An array of key-value pairs of notification channels to apply to this resource.
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/ChatbotNotificationChannel'
+ CrossAccountConfigurations:
+ description: An array of cross account configurations.
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/CrossAccountConfiguration'
+ Tags:
+ description: An array of key-value pairs to apply to this resource.
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-stackQL-stringOnly: true
+ x-title: CreateInvestigationGroupRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
+ x-stackQL-resources:
+ investigation_groups:
+ name: investigation_groups
+ id: awscc.aiops.investigation_groups
+ x-cfn-schema-name: InvestigationGroup
+ x-cfn-type-name: AWS::AIOps::InvestigationGroup
+ x-identifiers:
+ - Arn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__InvestigationGroup&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AIOps::InvestigationGroup"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AIOps::InvestigationGroup"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AIOps::InvestigationGroup"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/investigation_groups/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/investigation_groups/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/investigation_groups/methods/update_resource'
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.RoleArn') as role_arn,
+ JSON_EXTRACT(Properties, '$.Name') as name,
+ JSON_EXTRACT(Properties, '$.CreatedBy') as created_by,
+ JSON_EXTRACT(Properties, '$.CreatedAt') as created_at,
+ JSON_EXTRACT(Properties, '$.LastModifiedBy') as last_modified_by,
+ JSON_EXTRACT(Properties, '$.LastModifiedAt') as last_modified_at,
+ JSON_EXTRACT(Properties, '$.Arn') as arn,
+ JSON_EXTRACT(Properties, '$.RetentionInDays') as retention_in_days,
+ JSON_EXTRACT(Properties, '$.EncryptionConfig') as encryption_config,
+ JSON_EXTRACT(Properties, '$.InvestigationGroupPolicy') as investigation_group_policy,
+ JSON_EXTRACT(Properties, '$.IsCloudTrailEventHistoryEnabled') as is_cloud_trail_event_history_enabled,
+ JSON_EXTRACT(Properties, '$.TagKeyBoundaries') as tag_key_boundaries,
+ JSON_EXTRACT(Properties, '$.ChatbotNotificationChannels') as chatbot_notification_channels,
+ JSON_EXTRACT(Properties, '$.CrossAccountConfigurations') as cross_account_configurations,
+ JSON_EXTRACT(Properties, '$.Tags') as tags
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AIOps::InvestigationGroup'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'RoleArn') as role_arn,
+ json_extract_path_text(Properties, 'Name') as name,
+ json_extract_path_text(Properties, 'CreatedBy') as created_by,
+ json_extract_path_text(Properties, 'CreatedAt') as created_at,
+ json_extract_path_text(Properties, 'LastModifiedBy') as last_modified_by,
+ json_extract_path_text(Properties, 'LastModifiedAt') as last_modified_at,
+ json_extract_path_text(Properties, 'Arn') as arn,
+ json_extract_path_text(Properties, 'RetentionInDays') as retention_in_days,
+ json_extract_path_text(Properties, 'EncryptionConfig') as encryption_config,
+ json_extract_path_text(Properties, 'InvestigationGroupPolicy') as investigation_group_policy,
+ json_extract_path_text(Properties, 'IsCloudTrailEventHistoryEnabled') as is_cloud_trail_event_history_enabled,
+ json_extract_path_text(Properties, 'TagKeyBoundaries') as tag_key_boundaries,
+ json_extract_path_text(Properties, 'ChatbotNotificationChannels') as chatbot_notification_channels,
+ json_extract_path_text(Properties, 'CrossAccountConfigurations') as cross_account_configurations,
+ json_extract_path_text(Properties, 'Tags') as tags
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AIOps::InvestigationGroup'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ investigation_groups_list_only:
+ name: investigation_groups_list_only
+ id: awscc.aiops.investigation_groups_list_only
+ x-cfn-schema-name: InvestigationGroup
+ x-cfn-type-name: AWS::AIOps::InvestigationGroup
+ x-identifiers:
+ - Arn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.Arn') as arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AIOps::InvestigationGroup'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'Arn') as arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AIOps::InvestigationGroup'
+ AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__InvestigationGroup&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateInvestigationGroup
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateInvestigationGroupRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/amazonmq.yaml b/providers/src/awscc/v00.00.00000/services/amazonmq.yaml
new file mode 100644
index 00000000..9d0f76a9
--- /dev/null
+++ b/providers/src/awscc/v00.00.00000/services/amazonmq.yaml
@@ -0,0 +1,1112 @@
+openapi: 3.0.0
+info:
+ title: AmazonMQ
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
+components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ schemas:
+ LogList:
+ type: object
+ additionalProperties: false
+ properties:
+ Audit:
+ type: boolean
+ General:
+ type: boolean
+ LdapServerMetadata:
+ type: object
+ additionalProperties: false
+ properties:
+ Hosts:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ UserRoleName:
+ type: string
+ UserSearchMatching:
+ type: string
+ RoleName:
+ type: string
+ UserBase:
+ type: string
+ UserSearchSubtree:
+ type: boolean
+ RoleSearchMatching:
+ type: string
+ ServiceAccountUsername:
+ type: string
+ RoleBase:
+ type: string
+ ServiceAccountPassword:
+ type: string
+ RoleSearchSubtree:
+ type: boolean
+ required:
+ - Hosts
+ - UserSearchMatching
+ - UserBase
+ - RoleSearchMatching
+ - ServiceAccountUsername
+ - RoleBase
+ - ServiceAccountPassword
+ User:
+ type: object
+ additionalProperties: false
+ properties:
+ ReplicationUser:
+ type: boolean
+ ConsoleAccess:
+ type: boolean
+ Username:
+ type: string
+ Groups:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ Password:
+ type: string
+ required:
+ - Username
+ - Password
+ MaintenanceWindow:
+ type: object
+ additionalProperties: false
+ properties:
+ DayOfWeek:
+ type: string
+ TimeOfDay:
+ type: string
+ TimeZone:
+ type: string
+ required:
+ - DayOfWeek
+ - TimeOfDay
+ - TimeZone
+ TagsEntry:
+ type: object
+ additionalProperties: false
+ properties:
+ Value:
+ type: string
+ Key:
+ type: string
+ required:
+ - Value
+ - Key
+ EncryptionOptions:
+ type: object
+ additionalProperties: false
+ properties:
+ KmsKeyId:
+ type: string
+ UseAwsOwnedKey:
+ type: boolean
+ required:
+ - UseAwsOwnedKey
+ ConfigurationId:
+ type: object
+ additionalProperties: false
+ properties:
+ Revision:
+ type: integer
+ Id:
+ type: string
+ required:
+ - Revision
+ - Id
+ Broker:
+ type: object
+ properties:
+ SecurityGroups:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ DataReplicationPrimaryBrokerArn:
+ type: string
+ Configuration:
+ $ref: '#/components/schemas/ConfigurationId'
+ AuthenticationStrategy:
+ type: string
+ Users:
+ type: array
+ uniqueItems: false
+ items:
+ $ref: '#/components/schemas/User'
+ SubnetIds:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ StompEndpoints:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ MqttEndpoints:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ AmqpEndpoints:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ DeploymentMode:
+ type: string
+ EngineType:
+ type: string
+ EncryptionOptions:
+ $ref: '#/components/schemas/EncryptionOptions'
+ Tags:
+ type: array
+ uniqueItems: false
+ items:
+ $ref: '#/components/schemas/TagsEntry'
+ ConfigurationRevision:
+ type: integer
+ StorageType:
+ type: string
+ EngineVersion:
+ type: string
+ MaintenanceWindowStartTime:
+ $ref: '#/components/schemas/MaintenanceWindow'
+ HostInstanceType:
+ type: string
+ AutoMinorVersionUpgrade:
+ type: boolean
+ Logs:
+ $ref: '#/components/schemas/LogList'
+ ConsoleURLs:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ ConfigurationId:
+ type: string
+ DataReplicationMode:
+ type: string
+ BrokerName:
+ type: string
+ WssEndpoints:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ IpAddresses:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ OpenWireEndpoints:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ LdapServerMetadata:
+ $ref: '#/components/schemas/LdapServerMetadata'
+ PubliclyAccessible:
+ type: boolean
+ Id:
+ type: string
+ Arn:
+ type: string
+ required:
+ - DeploymentMode
+ - HostInstanceType
+ - EngineType
+ - Users
+ - PubliclyAccessible
+ - BrokerName
+ x-stackql-resource-name: broker
+ description: Resource Type definition for AWS::AmazonMQ::Broker
+ x-type-name: AWS::AmazonMQ::Broker
+ x-stackql-primary-identifier:
+ - Id
+ x-create-only-properties:
+ - BrokerName
+ - StorageType
+ - DeploymentMode
+ - EngineType
+ - SubnetIds
+ - AuthenticationStrategy
+ - EncryptionOptions
+ - PubliclyAccessible
+ x-read-only-properties:
+ - IpAddresses
+ - ConsoleURLs
+ - Id
+ - MqttEndpoints
+ - OpenWireEndpoints
+ - ConfigurationId
+ - ConfigurationRevision
+ - StompEndpoints
+ - WssEndpoints
+ - AmqpEndpoints
+ - Arn
+ x-required-properties:
+ - DeploymentMode
+ - HostInstanceType
+ - EngineType
+ - Users
+ - PubliclyAccessible
+ - BrokerName
+ Configuration:
+ type: object
+ properties:
+ Arn:
+ type: string
+ description: The Amazon Resource Name (ARN) of the Amazon MQ configuration.
+ AuthenticationStrategy:
+ type: string
+ description: The authentication strategy associated with the configuration. The default is SIMPLE.
+ EngineType:
+ type: string
+ description: 'The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.'
+ EngineVersion:
+ type: string
+ description: The version of the broker engine.
+ Data:
+ type: string
+ description: The base64-encoded XML configuration.
+ Description:
+ type: string
+ description: The description of the configuration.
+ Id:
+ type: string
+ description: The ID of the Amazon MQ configuration.
+ Name:
+ type: string
+ description: The name of the configuration.
+ Revision:
+ type: string
+ description: The revision number of the configuration.
+ Tags:
+ type: array
+ description: Create tags when creating the configuration.
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/TagsEntry'
+ required:
+ - EngineType
+ - Name
+ x-stackql-resource-name: configuration
+ description: Resource Type definition for AWS::AmazonMQ::Configuration
+ x-type-name: AWS::AmazonMQ::Configuration
+ x-stackql-primary-identifier:
+ - Id
+ x-create-only-properties:
+ - AuthenticationStrategy
+ - EngineType
+ - EngineVersion
+ - Name
+ x-write-only-properties:
+ - Data
+ x-read-only-properties:
+ - Arn
+ - Id
+ - Revision
+ x-required-properties:
+ - EngineType
+ - Name
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
+ permissions:
+ - mq:ListTags
+ - mq:CreateTags
+ - mq:DeleteTags
+ x-required-permissions:
+ create:
+ - mq:CreateConfiguration
+ - mq:CreateTags
+ - mq:UpdateConfiguration
+ read:
+ - mq:DescribeConfiguration
+ - mq:ListTags
+ update:
+ - mq:UpdateConfiguration
+ - mq:CreateTags
+ - mq:DeleteTags
+ delete:
+ - mq:DeleteConfiguration
+ list:
+ - mq:ListConfigurations
+ CreateConfigurationRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Arn:
+ type: string
+ description: The Amazon Resource Name (ARN) of the Amazon MQ configuration.
+ AuthenticationStrategy:
+ type: string
+ description: The authentication strategy associated with the configuration. The default is SIMPLE.
+ EngineType:
+ type: string
+ description: 'The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.'
+ EngineVersion:
+ type: string
+ description: The version of the broker engine.
+ Data:
+ type: string
+ description: The base64-encoded XML configuration.
+ Description:
+ type: string
+ description: The description of the configuration.
+ Id:
+ type: string
+ description: The ID of the Amazon MQ configuration.
+ Name:
+ type: string
+ description: The name of the configuration.
+ Revision:
+ type: string
+ description: The revision number of the configuration.
+ Tags:
+ type: array
+ description: Create tags when creating the configuration.
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/TagsEntry'
+ x-stackQL-stringOnly: true
+ x-title: CreateConfigurationRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
+ x-stackQL-resources:
+ brokers:
+ name: brokers
+ id: awscc.amazonmq.brokers
+ x-cfn-schema-name: Broker
+ x-cfn-type-name: AWS::AmazonMQ::Broker
+ x-identifiers:
+ - Id
+ x-type: cloud_control
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ configurations:
+ name: configurations
+ id: awscc.amazonmq.configurations
+ x-cfn-schema-name: Configuration
+ x-cfn-type-name: AWS::AmazonMQ::Configuration
+ x-identifiers:
+ - Id
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Configuration&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AmazonMQ::Configuration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AmazonMQ::Configuration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AmazonMQ::Configuration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/configurations/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/configurations/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/configurations/methods/update_resource'
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.Arn') as arn,
+ JSON_EXTRACT(Properties, '$.AuthenticationStrategy') as authentication_strategy,
+ JSON_EXTRACT(Properties, '$.EngineType') as engine_type,
+ JSON_EXTRACT(Properties, '$.EngineVersion') as engine_version,
+ JSON_EXTRACT(Properties, '$.Data') as data,
+ JSON_EXTRACT(Properties, '$.Description') as description,
+ JSON_EXTRACT(Properties, '$.Id') as id,
+ JSON_EXTRACT(Properties, '$.Name') as name,
+ JSON_EXTRACT(Properties, '$.Revision') as revision,
+ JSON_EXTRACT(Properties, '$.Tags') as tags
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AmazonMQ::Configuration'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'Arn') as arn,
+ json_extract_path_text(Properties, 'AuthenticationStrategy') as authentication_strategy,
+ json_extract_path_text(Properties, 'EngineType') as engine_type,
+ json_extract_path_text(Properties, 'EngineVersion') as engine_version,
+ json_extract_path_text(Properties, 'Data') as data,
+ json_extract_path_text(Properties, 'Description') as description,
+ json_extract_path_text(Properties, 'Id') as id,
+ json_extract_path_text(Properties, 'Name') as name,
+ json_extract_path_text(Properties, 'Revision') as revision,
+ json_extract_path_text(Properties, 'Tags') as tags
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AmazonMQ::Configuration'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ configurations_list_only:
+ name: configurations_list_only
+ id: awscc.amazonmq.configurations_list_only
+ x-cfn-schema-name: Configuration
+ x-cfn-type-name: AWS::AmazonMQ::Configuration
+ x-identifiers:
+ - Id
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.Id') as id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmazonMQ::Configuration'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'Id') as id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmazonMQ::Configuration'
+ AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Configuration&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateConfiguration
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateConfigurationRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/amplify.yaml b/providers/src/awscc/v00.00.00000/services/amplify.yaml
index 52715348..0a017f31 100644
--- a/providers/src/awscc/v00.00.00000/services/amplify.yaml
+++ b/providers/src/awscc/v00.00.00000/services/amplify.yaml
@@ -1,9 +1,389 @@
openapi: 3.0.0
info:
title: Amplify
- version: 1.0.0
-paths: {}
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
schemas:
AutoBranchCreationConfig:
type: object
@@ -68,6 +448,27 @@ components:
required:
- Username
- Password
+ CacheConfig:
+ type: object
+ additionalProperties: false
+ properties:
+ Type:
+ type: string
+ enum:
+ - AMPLIFY_MANAGED
+ - AMPLIFY_MANAGED_NO_COOKIES
+ JobConfig:
+ type: object
+ additionalProperties: false
+ properties:
+ BuildComputeType:
+ type: string
+ enum:
+ - STANDARD_8GB
+ - LARGE_16GB
+ - XLARGE_72GB
+ required:
+ - BuildComputeType
CustomRule:
type: object
additionalProperties: false
@@ -158,6 +559,13 @@ components:
minLength: 1
maxLength: 25000
pattern: (?s).+
+ CacheConfig:
+ $ref: '#/components/schemas/CacheConfig'
+ ComputeRoleArn:
+ type: string
+ minLength: 0
+ maxLength: 1000
+ pattern: (?s).*
CustomHeaders:
type: string
minLength: 0
@@ -211,16 +619,37 @@ components:
uniqueItems: false
items:
$ref: '#/components/schemas/Tag'
+ JobConfig:
+ $ref: '#/components/schemas/JobConfig'
required:
- Name
x-stackql-resource-name: app
- x-stackql-primaryIdentifier:
+ description: The AWS::Amplify::App resource creates Apps in the Amplify Console. An App is a collection of branches.
+ x-type-name: AWS::Amplify::App
+ x-stackql-primary-identifier:
- Arn
+ x-write-only-properties:
+ - AccessToken
+ - BasicAuthConfig
+ - OauthToken
+ - AutoBranchCreationConfig
x-read-only-properties:
- AppId
- AppName
- Arn
- DefaultDomain
+ x-required-properties:
+ - Name
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
+ permissions:
+ - amplify:TagResource
+ - amplify:ListTagsForResource
+ - amplify:UntagResource
x-required-permissions:
create:
- amplify:GetApp
@@ -298,6 +727,11 @@ components:
minLength: 1
maxLength: 25000
pattern: (?s).+
+ ComputeRoleArn:
+ type: string
+ minLength: 0
+ maxLength: 1000
+ pattern: (?s).*
Description:
type: string
maxLength: 1000
@@ -308,6 +742,8 @@ components:
type: boolean
EnablePullRequestPreview:
type: boolean
+ EnableSkewProtection:
+ type: boolean
EnvironmentVariables:
type: array
uniqueItems: false
@@ -338,13 +774,30 @@ components:
- AppId
- BranchName
x-stackql-resource-name: branch
- x-stackql-primaryIdentifier:
+ description: The AWS::Amplify::Branch resource creates a new branch within an app.
+ x-type-name: AWS::Amplify::Branch
+ x-stackql-primary-identifier:
- Arn
x-create-only-properties:
- AppId
- BranchName
+ x-write-only-properties:
+ - BasicAuthConfig
x-read-only-properties:
- Arn
+ x-required-properties:
+ - AppId
+ - BranchName
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
+ permissions:
+ - amplify:TagResource
+ - amplify:ListTagsForResource
+ - amplify:UntagResource
x-required-permissions:
create:
- amplify:GetBranch
@@ -408,7 +861,7 @@ components:
- CUSTOM
CustomCertificateArn:
type: string
- pattern: '"^arn:aws:acm:[a-z0-9-]+:\d{12}:certificate\/.+$"'
+ pattern: ^arn:aws:acm:[a-z0-9-]+:\d{12}:certificate\/.+$
Certificate:
type: object
additionalProperties: false
@@ -495,27 +948,39 @@ components:
- DomainName
- SubDomainSettings
x-stackql-resource-name: domain
- x-stackql-primaryIdentifier:
+ description: The AWS::Amplify::Domain resource allows you to connect a custom domain to your app.
+ x-type-name: AWS::Amplify::Domain
+ x-stackql-primary-identifier:
- Arn
x-create-only-properties:
- AppId
- DomainName
+ x-write-only-properties:
+ - CertificateSettings
x-read-only-properties:
- Arn
- DomainStatus
- StatusReason
- CertificateRecord
+ - Certificate
+ - UpdateStatus
+ x-required-properties:
+ - AppId
+ - DomainName
+ - SubDomainSettings
x-required-permissions:
create:
+ - amplify:GetDomainAssociation
- amplify:CreateDomainAssociation
- route53:ListHostedZones
- route53:ChangeResourceRecordSets
- iam:PassRole
- amplify:TagResource
delete:
+ - amplify:GetDomainAssociation
- amplify:DeleteDomainAssociation
+ - route53:ListHostedZones
- iam:PassRole
- - amplify:DeleteDomainAssociation
list:
- amplify:ListDomainAssociations
- iam:PassRole
@@ -526,6 +991,7 @@ components:
- iam:PassRole
- amplify:ListTagsForResource
update:
+ - amplify:GetDomainAssociation
- amplify:UpdateDomainAssociation
- route53:ListHostedZones
- route53:ChangeResourceRecordSets
@@ -533,43 +999,326 @@ components:
- amplify:ListTagsForResource
- amplify:TagResource
- amplify:UntagResource
+ CreateAppRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ AccessToken:
+ type: string
+ minLength: 1
+ maxLength: 255
+ AppId:
+ type: string
+ minLength: 1
+ maxLength: 20
+ pattern: d[a-z0-9]+
+ AppName:
+ type: string
+ minLength: 1
+ maxLength: 255
+ pattern: (?s).+
+ Arn:
+ type: string
+ maxLength: 1000
+ pattern: (?s).*
+ AutoBranchCreationConfig:
+ $ref: '#/components/schemas/AutoBranchCreationConfig'
+ BasicAuthConfig:
+ $ref: '#/components/schemas/BasicAuthConfig'
+ BuildSpec:
+ type: string
+ minLength: 1
+ maxLength: 25000
+ pattern: (?s).+
+ CacheConfig:
+ $ref: '#/components/schemas/CacheConfig'
+ ComputeRoleArn:
+ type: string
+ minLength: 0
+ maxLength: 1000
+ pattern: (?s).*
+ CustomHeaders:
+ type: string
+ minLength: 0
+ maxLength: 25000
+ pattern: (?s).*
+ CustomRules:
+ type: array
+ uniqueItems: false
+ items:
+ $ref: '#/components/schemas/CustomRule'
+ DefaultDomain:
+ type: string
+ minLength: 0
+ maxLength: 1000
+ Description:
+ type: string
+ maxLength: 1000
+ pattern: (?s).*
+ EnableBranchAutoDeletion:
+ type: boolean
+ EnvironmentVariables:
+ type: array
+ uniqueItems: false
+ items:
+ $ref: '#/components/schemas/EnvironmentVariable'
+ IAMServiceRole:
+ type: string
+ minLength: 1
+ maxLength: 1000
+ pattern: (?s).*
+ Name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ pattern: (?s).+
+ OauthToken:
+ type: string
+ maxLength: 1000
+ pattern: (?s).*
+ Platform:
+ type: string
+ enum:
+ - WEB
+ - WEB_DYNAMIC
+ - WEB_COMPUTE
+ Repository:
+ type: string
+ pattern: (?s).*
+ Tags:
+ type: array
+ uniqueItems: false
+ items:
+ $ref: '#/components/schemas/Tag'
+ JobConfig:
+ $ref: '#/components/schemas/JobConfig'
+ x-stackQL-stringOnly: true
+ x-title: CreateAppRequest
+ type: object
+ required: []
+ CreateBranchRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ AppId:
+ type: string
+ minLength: 1
+ maxLength: 20
+ pattern: d[a-z0-9]+
+ Arn:
+ type: string
+ maxLength: 1000
+ pattern: (?s).*
+ BasicAuthConfig:
+ $ref: '#/components/schemas/BasicAuthConfig'
+ Backend:
+ $ref: '#/components/schemas/Backend'
+ BranchName:
+ type: string
+ minLength: 1
+ maxLength: 255
+ pattern: (?s).+
+ BuildSpec:
+ type: string
+ minLength: 1
+ maxLength: 25000
+ pattern: (?s).+
+ ComputeRoleArn:
+ type: string
+ minLength: 0
+ maxLength: 1000
+ pattern: (?s).*
+ Description:
+ type: string
+ maxLength: 1000
+ pattern: (?s).*
+ EnableAutoBuild:
+ type: boolean
+ EnablePerformanceMode:
+ type: boolean
+ EnablePullRequestPreview:
+ type: boolean
+ EnableSkewProtection:
+ type: boolean
+ EnvironmentVariables:
+ type: array
+ uniqueItems: false
+ items:
+ $ref: '#/components/schemas/EnvironmentVariable'
+ Framework:
+ type: string
+ maxLength: 255
+ pattern: (?s).*
+ PullRequestEnvironmentName:
+ type: string
+ maxLength: 20
+ pattern: (?s).*
+ Stage:
+ type: string
+ enum:
+ - EXPERIMENTAL
+ - BETA
+ - PULL_REQUEST
+ - PRODUCTION
+ - DEVELOPMENT
+ Tags:
+ type: array
+ uniqueItems: false
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-stackQL-stringOnly: true
+ x-title: CreateBranchRequest
+ type: object
+ required: []
+ CreateDomainRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ AppId:
+ type: string
+ minLength: 1
+ maxLength: 20
+ pattern: d[a-z0-9]+
+ Arn:
+ type: string
+ maxLength: 1000
+ pattern: (?s).*
+ AutoSubDomainCreationPatterns:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ minLength: 1
+ maxLength: 2048
+ pattern: (?s).+
+ AutoSubDomainIAMRole:
+ type: string
+ pattern: ^$|^arn:.+:iam::\d{12}:role.+
+ maxLength: 1000
+ CertificateRecord:
+ type: string
+ maxLength: 1000
+ Certificate:
+ $ref: '#/components/schemas/Certificate'
+ CertificateSettings:
+ $ref: '#/components/schemas/CertificateSettings'
+ DomainName:
+ type: string
+ pattern: ^(((?!-)[A-Za-z0-9-]{0,62}[A-Za-z0-9])\.)+((?!-)[A-Za-z0-9-]{1,62}[A-Za-z0-9])(\.)?$
+ maxLength: 255
+ DomainStatus:
+ type: string
+ UpdateStatus:
+ type: string
+ EnableAutoSubDomain:
+ type: boolean
+ StatusReason:
+ type: string
+ maxLength: 1000
+ SubDomainSettings:
+ type: array
+ uniqueItems: false
+ items:
+ $ref: '#/components/schemas/SubDomainSetting'
+ maxItems: 255
+ x-stackQL-stringOnly: true
+ x-title: CreateDomainRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
x-stackQL-resources:
apps:
name: apps
id: awscc.amplify.apps
x-cfn-schema-name: App
- x-type: list
- x-identifiers:
- - Arn
- config:
- views:
- select:
- predicate: sqlDialect == "sqlite3"
- ddl: |-
- SELECT
- region,
- JSON_EXTRACT(Properties, '$.Arn') as arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Amplify::App'
- AND region = 'us-east-1'
- fallback:
- predicate: sqlDialect == "postgres"
- ddl: |-
- SELECT
- region,
- json_extract_path_text(Properties, 'Arn') as arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Amplify::App'
- AND region = 'us-east-1'
- app:
- name: app
- id: awscc.amplify.app
- x-cfn-schema-name: App
- x-type: get
+ x-cfn-type-name: AWS::Amplify::App
x-identifiers:
- Arn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__App&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::Amplify::App"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::Amplify::App"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::Amplify::App"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/apps/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/apps/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/apps/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -581,6 +1330,8 @@ components:
JSON_EXTRACT(Properties, '$.AutoBranchCreationConfig') as auto_branch_creation_config,
JSON_EXTRACT(Properties, '$.BasicAuthConfig') as basic_auth_config,
JSON_EXTRACT(Properties, '$.BuildSpec') as build_spec,
+ JSON_EXTRACT(Properties, '$.CacheConfig') as cache_config,
+ JSON_EXTRACT(Properties, '$.ComputeRoleArn') as compute_role_arn,
JSON_EXTRACT(Properties, '$.CustomHeaders') as custom_headers,
JSON_EXTRACT(Properties, '$.CustomRules') as custom_rules,
JSON_EXTRACT(Properties, '$.DefaultDomain') as default_domain,
@@ -592,12 +1343,13 @@ components:
JSON_EXTRACT(Properties, '$.OauthToken') as oauth_token,
JSON_EXTRACT(Properties, '$.Platform') as platform,
JSON_EXTRACT(Properties, '$.Repository') as repository,
- JSON_EXTRACT(Properties, '$.Tags') as tags
+ JSON_EXTRACT(Properties, '$.Tags') as tags,
+ JSON_EXTRACT(Properties, '$.JobConfig') as job_config
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::Amplify::App'
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -609,6 +1361,8 @@ components:
json_extract_path_text(Properties, 'AutoBranchCreationConfig') as auto_branch_creation_config,
json_extract_path_text(Properties, 'BasicAuthConfig') as basic_auth_config,
json_extract_path_text(Properties, 'BuildSpec') as build_spec,
+ json_extract_path_text(Properties, 'CacheConfig') as cache_config,
+ json_extract_path_text(Properties, 'ComputeRoleArn') as compute_role_arn,
json_extract_path_text(Properties, 'CustomHeaders') as custom_headers,
json_extract_path_text(Properties, 'CustomRules') as custom_rules,
json_extract_path_text(Properties, 'DefaultDomain') as default_domain,
@@ -620,17 +1374,24 @@ components:
json_extract_path_text(Properties, 'OauthToken') as oauth_token,
json_extract_path_text(Properties, 'Platform') as platform,
json_extract_path_text(Properties, 'Repository') as repository,
- json_extract_path_text(Properties, 'Tags') as tags
+ json_extract_path_text(Properties, 'Tags') as tags,
+ json_extract_path_text(Properties, 'JobConfig') as job_config
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::Amplify::App'
AND data__Identifier = ''
AND region = 'us-east-1'
- branches:
- name: branches
- id: awscc.amplify.branches
- x-cfn-schema-name: Branch
- x-type: list
+ apps_list_only:
+ name: apps_list_only
+ id: awscc.amplify.apps_list_only
+ x-cfn-schema-name: App
+ x-cfn-type-name: AWS::Amplify::App
x-identifiers:
- Arn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -639,7 +1400,7 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.Arn') as arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Amplify::Branch'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Amplify::App'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
@@ -647,19 +1408,67 @@ components:
SELECT
region,
json_extract_path_text(Properties, 'Arn') as arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Amplify::Branch'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Amplify::App'
AND region = 'us-east-1'
- branch:
- name: branch
- id: awscc.amplify.branch
+ branches:
+ name: branches
+ id: awscc.amplify.branches
x-cfn-schema-name: Branch
- x-type: get
+ x-cfn-type-name: AWS::Amplify::Branch
x-identifiers:
- Arn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Branch&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::Amplify::Branch"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::Amplify::Branch"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::Amplify::Branch"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/branches/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/branches/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/branches/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -670,10 +1479,12 @@ components:
JSON_EXTRACT(Properties, '$.Backend') as backend,
JSON_EXTRACT(Properties, '$.BranchName') as branch_name,
JSON_EXTRACT(Properties, '$.BuildSpec') as build_spec,
+ JSON_EXTRACT(Properties, '$.ComputeRoleArn') as compute_role_arn,
JSON_EXTRACT(Properties, '$.Description') as description,
JSON_EXTRACT(Properties, '$.EnableAutoBuild') as enable_auto_build,
JSON_EXTRACT(Properties, '$.EnablePerformanceMode') as enable_performance_mode,
JSON_EXTRACT(Properties, '$.EnablePullRequestPreview') as enable_pull_request_preview,
+ JSON_EXTRACT(Properties, '$.EnableSkewProtection') as enable_skew_protection,
JSON_EXTRACT(Properties, '$.EnvironmentVariables') as environment_variables,
JSON_EXTRACT(Properties, '$.Framework') as framework,
JSON_EXTRACT(Properties, '$.PullRequestEnvironmentName') as pull_request_environment_name,
@@ -683,7 +1494,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -694,10 +1505,12 @@ components:
json_extract_path_text(Properties, 'Backend') as backend,
json_extract_path_text(Properties, 'BranchName') as branch_name,
json_extract_path_text(Properties, 'BuildSpec') as build_spec,
+ json_extract_path_text(Properties, 'ComputeRoleArn') as compute_role_arn,
json_extract_path_text(Properties, 'Description') as description,
json_extract_path_text(Properties, 'EnableAutoBuild') as enable_auto_build,
json_extract_path_text(Properties, 'EnablePerformanceMode') as enable_performance_mode,
json_extract_path_text(Properties, 'EnablePullRequestPreview') as enable_pull_request_preview,
+ json_extract_path_text(Properties, 'EnableSkewProtection') as enable_skew_protection,
json_extract_path_text(Properties, 'EnvironmentVariables') as environment_variables,
json_extract_path_text(Properties, 'Framework') as framework,
json_extract_path_text(Properties, 'PullRequestEnvironmentName') as pull_request_environment_name,
@@ -706,13 +1519,19 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::Amplify::Branch'
AND data__Identifier = ''
AND region = 'us-east-1'
- domains:
- name: domains
- id: awscc.amplify.domains
- x-cfn-schema-name: Domain
- x-type: list
+ branches_list_only:
+ name: branches_list_only
+ id: awscc.amplify.branches_list_only
+ x-cfn-schema-name: Branch
+ x-cfn-type-name: AWS::Amplify::Branch
x-identifiers:
- Arn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -721,7 +1540,7 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.Arn') as arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Amplify::Domain'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Amplify::Branch'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
@@ -729,19 +1548,67 @@ components:
SELECT
region,
json_extract_path_text(Properties, 'Arn') as arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Amplify::Domain'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Amplify::Branch'
AND region = 'us-east-1'
- domain:
- name: domain
- id: awscc.amplify.domain
+ domains:
+ name: domains
+ id: awscc.amplify.domains
x-cfn-schema-name: Domain
- x-type: get
+ x-cfn-type-name: AWS::Amplify::Domain
x-identifiers:
- Arn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::Amplify::Domain"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::Amplify::Domain"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::Amplify::Domain"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/domains/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/domains/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/domains/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -763,7 +1630,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -784,3 +1651,313 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::Amplify::Domain'
AND data__Identifier = ''
AND region = 'us-east-1'
+ domains_list_only:
+ name: domains_list_only
+ id: awscc.amplify.domains_list_only
+ x-cfn-schema-name: Domain
+ x-cfn-type-name: AWS::Amplify::Domain
+ x-identifiers:
+ - Arn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.Arn') as arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Amplify::Domain'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'Arn') as arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Amplify::Domain'
+ AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__App&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateApp
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateAppRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Branch&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateBranch
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateBranchRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateDomain
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateDomainRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/amplifyuibuilder.yaml b/providers/src/awscc/v00.00.00000/services/amplifyuibuilder.yaml
index 202d3365..ff9e94d7 100644
--- a/providers/src/awscc/v00.00.00000/services/amplifyuibuilder.yaml
+++ b/providers/src/awscc/v00.00.00000/services/amplifyuibuilder.yaml
@@ -1,9 +1,389 @@
openapi: 3.0.0
info:
title: AmplifyUIBuilder
- version: 1.0.0
-paths: {}
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
schemas:
ActionParameters:
type: object
@@ -347,7 +727,9 @@ components:
items:
$ref: '#/components/schemas/ComponentVariant'
x-stackql-resource-name: component
- x-stackql-primaryIdentifier:
+ description: Definition of AWS::AmplifyUIBuilder::Component Resource Type
+ x-type-name: AWS::AmplifyUIBuilder::Component
+ x-stackql-primary-identifier:
- AppId
- EnvironmentName
- Id
@@ -358,6 +740,15 @@ components:
- CreatedAt
- Id
- ModifiedAt
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - amplifyuibuilder:TagResource
+ - amplifyuibuilder:UntagResource
x-required-permissions:
create:
- amplify:GetApp
@@ -719,7 +1110,9 @@ components:
Tags:
$ref: '#/components/schemas/Tags'
x-stackql-resource-name: form
- x-stackql-primaryIdentifier:
+ description: Definition of AWS::AmplifyUIBuilder::Form Resource Type
+ x-type-name: AWS::AmplifyUIBuilder::Form
+ x-stackql-primary-identifier:
- AppId
- EnvironmentName
- Id
@@ -728,17 +1121,24 @@ components:
- EnvironmentName
x-read-only-properties:
- Id
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - amplifyuibuilder:TagResource
+ - amplifyuibuilder:UntagResource
x-required-permissions:
create:
- amplify:GetApp
- amplifyuibuilder:CreateForm
- amplifyuibuilder:GetForm
- amplifyuibuilder:TagResource
- - amplifyuibuilder:UntagResource
read:
- amplify:GetApp
- amplifyuibuilder:GetForm
- - amplifyuibuilder:TagResource
update:
- amplify:GetApp
- amplifyuibuilder:GetForm
@@ -748,7 +1148,6 @@ components:
delete:
- amplify:GetApp
- amplifyuibuilder:DeleteForm
- - amplifyuibuilder:TagResource
- amplifyuibuilder:UntagResource
list:
- amplify:GetApp
@@ -801,7 +1200,9 @@ components:
items:
$ref: '#/components/schemas/ThemeValues'
x-stackql-resource-name: theme
- x-stackql-primaryIdentifier:
+ description: Definition of AWS::AmplifyUIBuilder::Theme Resource Type
+ x-type-name: AWS::AmplifyUIBuilder::Theme
+ x-stackql-primary-identifier:
- AppId
- EnvironmentName
- Id
@@ -812,6 +1213,15 @@ components:
- CreatedAt
- Id
- ModifiedAt
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - amplifyuibuilder:TagResource
+ - amplifyuibuilder:UntagResource
x-required-permissions:
create:
- amplify:GetApp
@@ -834,51 +1244,224 @@ components:
list:
- amplify:GetApp
- amplifyuibuilder:ListThemes
+ CreateComponentRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ AppId:
+ type: string
+ BindingProperties:
+ $ref: '#/components/schemas/ComponentBindingProperties'
+ Children:
+ type: array
+ items:
+ $ref: '#/components/schemas/ComponentChild'
+ CollectionProperties:
+ $ref: '#/components/schemas/ComponentCollectionProperties'
+ ComponentType:
+ type: string
+ maxLength: 255
+ minLength: 1
+ CreatedAt:
+ type: string
+ format: date-time
+ EnvironmentName:
+ type: string
+ Events:
+ $ref: '#/components/schemas/ComponentEvents'
+ Id:
+ type: string
+ ModifiedAt:
+ type: string
+ format: date-time
+ Name:
+ type: string
+ maxLength: 255
+ minLength: 1
+ Overrides:
+ $ref: '#/components/schemas/ComponentOverrides'
+ Properties:
+ $ref: '#/components/schemas/ComponentProperties'
+ SchemaVersion:
+ type: string
+ SourceId:
+ type: string
+ Tags:
+ $ref: '#/components/schemas/Tags'
+ Variants:
+ type: array
+ items:
+ $ref: '#/components/schemas/ComponentVariant'
+ x-stackQL-stringOnly: true
+ x-title: CreateComponentRequest
+ type: object
+ required: []
+ CreateFormRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ AppId:
+ type: string
+ Cta:
+ $ref: '#/components/schemas/FormCTA'
+ DataType:
+ $ref: '#/components/schemas/FormDataTypeConfig'
+ EnvironmentName:
+ type: string
+ Fields:
+ $ref: '#/components/schemas/FieldsMap'
+ FormActionType:
+ $ref: '#/components/schemas/FormActionType'
+ Id:
+ type: string
+ LabelDecorator:
+ $ref: '#/components/schemas/LabelDecorator'
+ Name:
+ type: string
+ maxLength: 255
+ minLength: 1
+ SchemaVersion:
+ type: string
+ SectionalElements:
+ $ref: '#/components/schemas/SectionalElementMap'
+ Style:
+ $ref: '#/components/schemas/FormStyle'
+ Tags:
+ $ref: '#/components/schemas/Tags'
+ x-stackQL-stringOnly: true
+ x-title: CreateFormRequest
+ type: object
+ required: []
+ CreateThemeRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ AppId:
+ type: string
+ CreatedAt:
+ type: string
+ format: date-time
+ EnvironmentName:
+ type: string
+ Id:
+ type: string
+ ModifiedAt:
+ type: string
+ format: date-time
+ Name:
+ type: string
+ maxLength: 255
+ minLength: 1
+ Overrides:
+ type: array
+ items:
+ $ref: '#/components/schemas/ThemeValues'
+ Tags:
+ $ref: '#/components/schemas/Tags'
+ Values:
+ type: array
+ items:
+ $ref: '#/components/schemas/ThemeValues'
+ x-stackQL-stringOnly: true
+ x-title: CreateThemeRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
x-stackQL-resources:
components:
name: components
id: awscc.amplifyuibuilder.components
x-cfn-schema-name: Component
- x-type: list
- x-identifiers:
- - AppId
- - EnvironmentName
- - Id
- config:
- views:
- select:
- predicate: sqlDialect == "sqlite3"
- ddl: |-
- SELECT
- region,
- JSON_EXTRACT(Properties, '$.AppId') as app_id,
- JSON_EXTRACT(Properties, '$.EnvironmentName') as environment_name,
- JSON_EXTRACT(Properties, '$.Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Component'
- AND region = 'us-east-1'
- fallback:
- predicate: sqlDialect == "postgres"
- ddl: |-
- SELECT
- region,
- json_extract_path_text(Properties, 'AppId') as app_id,
- json_extract_path_text(Properties, 'EnvironmentName') as environment_name,
- json_extract_path_text(Properties, 'Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Component'
- AND region = 'us-east-1'
- component:
- name: component
- id: awscc.amplifyuibuilder.component
- x-cfn-schema-name: Component
- x-type: get
+ x-cfn-type-name: AWS::AmplifyUIBuilder::Component
x-identifiers:
- AppId
- EnvironmentName
- Id
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Component&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AmplifyUIBuilder::Component"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AmplifyUIBuilder::Component"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AmplifyUIBuilder::Component"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/components/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/components/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/components/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -904,7 +1487,7 @@ components:
AND data__Identifier = '||'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -929,15 +1512,21 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Component'
AND data__Identifier = '||'
AND region = 'us-east-1'
- forms:
- name: forms
- id: awscc.amplifyuibuilder.forms
- x-cfn-schema-name: Form
- x-type: list
+ components_list_only:
+ name: components_list_only
+ id: awscc.amplifyuibuilder.components_list_only
+ x-cfn-schema-name: Component
+ x-cfn-type-name: AWS::AmplifyUIBuilder::Component
x-identifiers:
- AppId
- EnvironmentName
- Id
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -948,7 +1537,7 @@ components:
JSON_EXTRACT(Properties, '$.AppId') as app_id,
JSON_EXTRACT(Properties, '$.EnvironmentName') as environment_name,
JSON_EXTRACT(Properties, '$.Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Form'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Component'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
@@ -958,21 +1547,69 @@ components:
json_extract_path_text(Properties, 'AppId') as app_id,
json_extract_path_text(Properties, 'EnvironmentName') as environment_name,
json_extract_path_text(Properties, 'Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Form'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Component'
AND region = 'us-east-1'
- form:
- name: form
- id: awscc.amplifyuibuilder.form
+ forms:
+ name: forms
+ id: awscc.amplifyuibuilder.forms
x-cfn-schema-name: Form
- x-type: get
+ x-cfn-type-name: AWS::AmplifyUIBuilder::Form
x-identifiers:
- AppId
- EnvironmentName
- Id
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Form&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AmplifyUIBuilder::Form"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AmplifyUIBuilder::Form"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AmplifyUIBuilder::Form"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/forms/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/forms/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/forms/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -994,7 +1631,7 @@ components:
AND data__Identifier = '||'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1015,15 +1652,21 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Form'
AND data__Identifier = '||'
AND region = 'us-east-1'
- themes:
- name: themes
- id: awscc.amplifyuibuilder.themes
- x-cfn-schema-name: Theme
- x-type: list
+ forms_list_only:
+ name: forms_list_only
+ id: awscc.amplifyuibuilder.forms_list_only
+ x-cfn-schema-name: Form
+ x-cfn-type-name: AWS::AmplifyUIBuilder::Form
x-identifiers:
- AppId
- EnvironmentName
- Id
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -1034,7 +1677,7 @@ components:
JSON_EXTRACT(Properties, '$.AppId') as app_id,
JSON_EXTRACT(Properties, '$.EnvironmentName') as environment_name,
JSON_EXTRACT(Properties, '$.Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Theme'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Form'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
@@ -1044,21 +1687,69 @@ components:
json_extract_path_text(Properties, 'AppId') as app_id,
json_extract_path_text(Properties, 'EnvironmentName') as environment_name,
json_extract_path_text(Properties, 'Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Theme'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Form'
AND region = 'us-east-1'
- theme:
- name: theme
- id: awscc.amplifyuibuilder.theme
+ themes:
+ name: themes
+ id: awscc.amplifyuibuilder.themes
x-cfn-schema-name: Theme
- x-type: get
+ x-cfn-type-name: AWS::AmplifyUIBuilder::Theme
x-identifiers:
- AppId
- EnvironmentName
- Id
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Theme&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AmplifyUIBuilder::Theme"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AmplifyUIBuilder::Theme"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AmplifyUIBuilder::Theme"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/themes/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/themes/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/themes/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1076,7 +1767,7 @@ components:
AND data__Identifier = '||'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1093,3 +1784,319 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Theme'
AND data__Identifier = '||'
AND region = 'us-east-1'
+ themes_list_only:
+ name: themes_list_only
+ id: awscc.amplifyuibuilder.themes_list_only
+ x-cfn-schema-name: Theme
+ x-cfn-type-name: AWS::AmplifyUIBuilder::Theme
+ x-identifiers:
+ - AppId
+ - EnvironmentName
+ - Id
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.AppId') as app_id,
+ JSON_EXTRACT(Properties, '$.EnvironmentName') as environment_name,
+ JSON_EXTRACT(Properties, '$.Id') as id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Theme'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'AppId') as app_id,
+ json_extract_path_text(Properties, 'EnvironmentName') as environment_name,
+ json_extract_path_text(Properties, 'Id') as id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AmplifyUIBuilder::Theme'
+ AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Component&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateComponent
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateComponentRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Form&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateForm
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateFormRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Theme&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateTheme
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateThemeRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/apigateway.yaml b/providers/src/awscc/v00.00.00000/services/apigateway.yaml
index 263acf7c..75178ed8 100644
--- a/providers/src/awscc/v00.00.00000/services/apigateway.yaml
+++ b/providers/src/awscc/v00.00.00000/services/apigateway.yaml
@@ -1,9 +1,389 @@
openapi: 3.0.0
info:
title: ApiGateway
- version: 1.0.0
-paths: {}
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
schemas:
Account:
type: object
@@ -12,34 +392,39 @@ components:
description: ''
type: string
CloudWatchRoleArn:
- description: The ARN of an Amazon CloudWatch role for the current Account.
+ description: ''
type: string
x-stackql-resource-name: account
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::Account`` resource specifies the IAM role that Amazon API Gateway uses to write API logs to Amazon CloudWatch Logs. To avoid overwriting other roles, you should only have one ``AWS::ApiGateway::Account`` resource per region per account.
+ x-type-name: AWS::ApiGateway::Account
+ x-stackql-primary-identifier:
- Id
x-read-only-properties:
- Id
+ x-tagging:
+ taggable: false
x-required-permissions:
+ read:
+ - apigateway:GET
create:
- apigateway:PATCH
- iam:GetRole
- iam:PassRole
- read:
- - apigateway:GET
update:
- apigateway:PATCH
- iam:GetRole
- iam:PassRole
- delete: []
+ delete:
+ - apigateway:PATCH
StageKey:
type: object
additionalProperties: false
properties:
RestApiId:
- description: The string identifier of the associated RestApi.
+ description: ''
type: string
StageName:
- description: The stage name associated with the stage key.
+ description: ''
type: string
description: '``StageKey`` is a property of the [AWS::ApiGateway::ApiKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html) resource that specifies the stage to associate with the API key. This association allows only clients with the key to make requests to methods in that stage.'
Tag:
@@ -53,6 +438,7 @@ components:
required:
- Value
- Key
+ description: ''
ApiKey:
type: object
properties:
@@ -60,17 +446,17 @@ components:
description: ''
type: string
CustomerId:
- description: An MKT customer identifier, when integrating with the AWS SaaS Marketplace.
+ description: ''
type: string
Description:
- description: The description of the ApiKey.
+ description: ''
type: string
Enabled:
- description: Specifies whether the ApiKey can be used by callers.
+ description: ''
default: false
type: boolean
GenerateDistinctId:
- description: Specifies whether (``true``) or not (``false``) the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.
+ description: ''
type: boolean
Name:
description: |-
@@ -78,29 +464,43 @@ components:
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
type: string
StageKeys:
- description: DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
+ description: ''
type: array
uniqueItems: true
items:
$ref: '#/components/schemas/StageKey'
Tags:
- description: The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:``. The tag value can be up to 256 characters.
+ description: ''
type: array
uniqueItems: false
items:
$ref: '#/components/schemas/Tag'
Value:
- description: Specifies a value of the API key.
+ description: ''
type: string
x-stackql-resource-name: api_key
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::ApiKey`` resource creates a unique key that you can distribute to clients who are executing API Gateway ``Method`` resources that require an API key. To specify which API key clients must use, map the API key with the ``RestApi`` and ``Stage`` resources that include the methods that require a key.
+ x-type-name: AWS::ApiGateway::ApiKey
+ x-stackql-primary-identifier:
- APIKeyId
x-create-only-properties:
- GenerateDistinctId
- Name
- Value
+ x-write-only-properties:
+ - GenerateDistinctId
x-read-only-properties:
- APIKeyId
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - apigateway:PUT
+ - apigateway:DELETE
+ - apigateway:GET
x-required-permissions:
create:
- apigateway:POST
@@ -122,61 +522,65 @@ components:
type: object
properties:
RestApiId:
- description: The string identifier of the associated RestApi.
+ description: ''
type: string
AuthorizerId:
type: string
description: ''
AuthType:
- description: Optional customer-defined field, used in OpenAPI imports and exports without functional impact.
+ description: ''
type: string
AuthorizerCredentials:
- description: Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.
+ description: ''
type: string
AuthorizerResultTtlInSeconds:
- description: The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.
+ description: ''
type: integer
AuthorizerUri:
- description: >-
- Specifies the authorizer's Uniform Resource Identifier (URI). For ``TOKEN`` or ``REQUEST`` authorizers, this must be a well-formed Lambda function URI, for example, ``arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations``. In general, the URI has this form ``arn:aws:apigateway:{region}:lambda:path/{service_api}``, where ``{region}`` is the same as the region hosting the Lambda function,
- ``path`` indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial ``/``. For Lambda functions, this is usually of the form ``/2015-03-31/functions/[FunctionARN]/invocations``.
+ description: ''
type: string
IdentitySource:
- description: >-
- The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a
- comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not
- null and non-empty. Only when thi
+ description: ''
type: string
IdentityValidationExpression:
- description: >-
- A validation expression for the incoming identity token. For ``TOKEN`` authorizers, this value is a regular expression. For ``COGNITO_USER_POOLS`` authorizers, API Gateway will match the ``aud`` field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to
- the ``REQUEST`` authorizer.
+ description: ''
type: string
Name:
- description: The name of the authorizer.
+ description: ''
type: string
ProviderARNs:
- description: 'A list of the Amazon Cognito user pool ARNs for the ``COGNITO_USER_POOLS`` authorizer. Each element is of this format: ``arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}``. For a ``TOKEN`` or ``REQUEST`` authorizer, this is not defined.'
+ description: ''
type: array
uniqueItems: true
items:
type: string
x-insertionOrder: false
Type:
- description: The authorizer type. Valid values are ``TOKEN`` for a Lambda function using a single authorization token submitted in a custom header, ``REQUEST`` for a Lambda function using incoming request parameters, and ``COGNITO_USER_POOLS`` for using an Amazon Cognito user pool.
+ description: ''
type: string
required:
- RestApiId
- Type
- Name
x-stackql-resource-name: authorizer
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::Authorizer`` resource creates an authorization layer that API Gateway activates for methods that have authorization enabled. API Gateway activates the authorizer when a client calls those methods.
+ x-type-name: AWS::ApiGateway::Authorizer
+ x-stackql-primary-identifier:
- RestApiId
- AuthorizerId
x-create-only-properties:
- RestApiId
x-read-only-properties:
- AuthorizerId
+ x-required-properties:
+ - RestApiId
+ - Type
+ - Name
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
create:
- apigateway:POST
@@ -196,25 +600,87 @@ components:
properties:
BasePath:
type: string
- description: The base path name that callers of the API must provide as part of the URL after the domain name.
+ description: ''
DomainName:
type: string
- description: The domain name of the BasePathMapping resource to be described.
+ description: ''
RestApiId:
type: string
- description: The string identifier of the associated RestApi.
+ description: ''
Stage:
type: string
- description: The name of the associated stage.
+ description: ''
required:
- DomainName
x-stackql-resource-name: base_path_mapping
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::BasePathMapping`` resource creates a base path that clients who call your API must use in the invocation URL.
+ x-type-name: AWS::ApiGateway::BasePathMapping
+ x-stackql-primary-identifier:
- DomainName
- BasePath
x-create-only-properties:
- DomainName
- BasePath
+ x-required-properties:
+ - DomainName
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
+ x-required-permissions:
+ create:
+ - apigateway:POST
+ - apigateway:GET
+ read:
+ - apigateway:GET
+ update:
+ - apigateway:GET
+ - apigateway:DELETE
+ - apigateway:PATCH
+ delete:
+ - apigateway:DELETE
+ list:
+ - apigateway:GET
+ BasePathMappingV2:
+ type: object
+ properties:
+ BasePath:
+ type: string
+ description: The base path name that callers of the API must provide in the URL after the domain name.
+ DomainNameArn:
+ type: string
+ description: The Arn of an AWS::ApiGateway::DomainNameV2 resource.
+ RestApiId:
+ type: string
+ description: The ID of the API.
+ Stage:
+ type: string
+ description: The name of the API's stage.
+ BasePathMappingArn:
+ type: string
+ description: Amazon Resource Name (ARN) of the resource.
+ required:
+ - DomainNameArn
+ - RestApiId
+ x-stackql-resource-name: base_path_mapping_v2
+ description: Resource Type definition for AWS::ApiGateway::BasePathMappingV2
+ x-type-name: AWS::ApiGateway::BasePathMappingV2
+ x-stackql-primary-identifier:
+ - BasePathMappingArn
+ x-create-only-properties:
+ - DomainNameArn
+ - BasePath
+ x-read-only-properties:
+ - BasePathMappingArn
+ x-required-properties:
+ - DomainNameArn
+ - RestApiId
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
create:
- apigateway:POST
@@ -236,19 +702,31 @@ components:
description: ''
type: string
Description:
- description: The description of the client certificate.
+ description: ''
type: string
Tags:
- description: The collection of tags. Each tag element is associated with a given resource.
+ description: ''
type: array
uniqueItems: false
items:
$ref: '#/components/schemas/Tag'
x-stackql-resource-name: client_certificate
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::ClientCertificate`` resource creates a client certificate that API Gateway uses to configure client-side SSL authentication for sending requests to the integration endpoint.
+ x-type-name: AWS::ApiGateway::ClientCertificate
+ x-stackql-primary-identifier:
- ClientCertificateId
x-read-only-properties:
- ClientCertificateId
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - apigateway:PUT
+ - apigateway:DELETE
+ - apigateway:GET
x-required-permissions:
create:
- apigateway:POST
@@ -265,249 +743,255 @@ components:
- apigateway:DELETE
list:
- apigateway:GET
- StageDescription:
+ MethodSetting:
+ description: |-
+ The ``MethodSetting`` property type configures settings for all methods in a stage.
+ The ``MethodSettings`` property of the ``AWS::ApiGateway::Stage`` resource contains a list of ``MethodSetting`` property types.
type: object
additionalProperties: false
properties:
- AccessLogSetting:
- description: Specifies settings for logging access in this stage.
- $ref: '#/components/schemas/AccessLogSetting'
- CacheClusterEnabled:
- description: Specifies whether a cache cluster is enabled for the stage.
- type: boolean
- CacheClusterSize:
- description: The size of the stage's cache cluster. For more information, see [cacheClusterSize](https://docs.aws.amazon.com/apigateway/latest/api/API_CreateStage.html#apigw-CreateStage-request-cacheClusterSize) in the *API Gateway API Reference*.
- type: string
CacheDataEncrypted:
- description: Indicates whether the cached responses are encrypted.
+ description: ''
type: boolean
CacheTtlInSeconds:
- description: The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.
+ description: ''
type: integer
CachingEnabled:
- description: Indicates whether responses are cached and returned for requests. You must enable a cache cluster on the stage to cache responses. For more information, see [Enable API Gateway Caching in a Stage to Enhance API Performance](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html) in the *API Gateway Developer Guide*.
+ description: ''
+ type: boolean
+ DataTraceEnabled:
+ description: ''
+ type: boolean
+ HttpMethod:
+ description: The HTTP method. To apply settings to multiple resources and methods, specify an asterisk (``*``) for the ``HttpMethod`` and ``/*`` for the ``ResourcePath``. This parameter is required when you specify a ``MethodSetting``.
+ type: string
+ LoggingLevel:
+ description: ''
+ type: string
+ MetricsEnabled:
+ description: ''
type: boolean
+ ResourcePath:
+ description: >-
+ The resource path for this method. Forward slashes (``/``) are encoded as ``~1`` and the initial slash must include a forward slash. For example, the path value ``/resource/subresource`` must be encoded as ``/~1resource~1subresource``. To specify the root path, use only a slash (``/``). To apply settings to multiple resources and methods, specify an asterisk (``*``) for the ``HttpMethod`` and ``/*`` for the ``ResourcePath``. This parameter is required when you specify a
+ ``MethodSetting``.
+ type: string
+ ThrottlingBurstLimit:
+ description: ''
+ type: integer
+ minimum: 0
+ ThrottlingRateLimit:
+ description: ''
+ type: number
+ minimum: 0
+ StageDescription:
+ description: '``StageDescription`` is a property of the [AWS::ApiGateway::Deployment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html) resource that configures a deployment stage.'
+ additionalProperties: false
+ type: object
+ properties:
+ CacheTtlInSeconds:
+ description: The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.
+ type: integer
+ Description:
+ description: A description of the purpose of the stage.
+ type: string
+ LoggingLevel:
+ description: The logging level for this method. For valid values, see the ``loggingLevel`` property of the [MethodSetting](https://docs.aws.amazon.com/apigateway/latest/api/API_MethodSetting.html) resource in the *Amazon API Gateway API Reference*.
+ type: string
CanarySetting:
description: Specifies settings for the canary deployment in this stage.
$ref: '#/components/schemas/CanarySetting'
+ ThrottlingRateLimit:
+ description: The target request steady-state rate limit. For more information, see [Manage API Request Throttling](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html) in the *API Gateway Developer Guide*.
+ type: number
ClientCertificateId:
description: The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
type: string
- DataTraceEnabled:
- description: Indicates whether data trace logging is enabled for methods in the stage. API Gateway pushes these logs to Amazon CloudWatch Logs.
- type: boolean
- Description:
- description: A description of the purpose of the stage.
- type: string
+ Variables:
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: string
+ description: 'A map that defines the stage variables. Variable names must consist of alphanumeric characters, and the values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``.'
+ additionalProperties: false
+ type: object
DocumentationVersion:
description: The version identifier of the API documentation snapshot.
type: string
- LoggingLevel:
- description: The logging level for this method. For valid values, see the ``loggingLevel`` property of the [MethodSetting](https://docs.aws.amazon.com/apigateway/latest/api/API_MethodSetting.html) resource in the *Amazon API Gateway API Reference*.
- type: string
+ CacheDataEncrypted:
+ description: Indicates whether the cached responses are encrypted.
+ type: boolean
+ DataTraceEnabled:
+ description: Indicates whether data trace logging is enabled for methods in the stage. API Gateway pushes these logs to Amazon CloudWatch Logs.
+ type: boolean
+ ThrottlingBurstLimit:
+ description: The target request burst rate limit. This allows more requests through for a period of time than the target rate limit. For more information, see [Manage API Request Throttling](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html) in the *API Gateway Developer Guide*.
+ type: integer
+ CachingEnabled:
+ description: Indicates whether responses are cached and returned for requests. You must enable a cache cluster on the stage to cache responses. For more information, see [Enable API Gateway Caching in a Stage to Enhance API Performance](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html) in the *API Gateway Developer Guide*.
+ type: boolean
+ TracingEnabled:
+ description: |-
+ Specifies whether active tracing with X-ray is enabled for this stage.
+ For more information, see [Trace API Gateway API Execution with X-Ray](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-xray.html) in the *API Gateway Developer Guide*.
+ type: boolean
MethodSettings:
- description: Configures settings for all of the stage's methods.
- type: array
uniqueItems: true
+ description: Configures settings for all of the stage's methods.
x-insertionOrder: false
+ type: array
items:
$ref: '#/components/schemas/MethodSetting'
+ AccessLogSetting:
+ description: Specifies settings for logging access in this stage.
+ $ref: '#/components/schemas/AccessLogSetting'
+ CacheClusterSize:
+ description: The size of the stage's cache cluster. For more information, see [cacheClusterSize](https://docs.aws.amazon.com/apigateway/latest/api/API_CreateStage.html#apigw-CreateStage-request-cacheClusterSize) in the *API Gateway API Reference*.
+ type: string
MetricsEnabled:
description: Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.
type: boolean
Tags:
- description: An array of arbitrary tags (key-value pairs) to associate with the stage.
- type: array
uniqueItems: false
+ description: An array of arbitrary tags (key-value pairs) to associate with the stage.
x-insertionOrder: false
+ type: array
items:
$ref: '#/components/schemas/Tag'
- ThrottlingBurstLimit:
- description: The target request burst rate limit. This allows more requests through for a period of time than the target rate limit. For more information, see [Manage API Request Throttling](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html) in the *API Gateway Developer Guide*.
- type: integer
- ThrottlingRateLimit:
- description: The target request steady-state rate limit. For more information, see [Manage API Request Throttling](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html) in the *API Gateway Developer Guide*.
- type: number
- TracingEnabled:
- description: |-
- Specifies whether active tracing with X-ray is enabled for this stage.
- For more information, see [Trace API Gateway API Execution with X-Ray](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-xray.html) in the *API Gateway Developer Guide*.
+ CacheClusterEnabled:
+ description: ''
type: boolean
- Variables:
- description: 'A map that defines the stage variables. Variable names must consist of alphanumeric characters, and the values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``.'
- type: object
- additionalProperties: false
- x-patternProperties:
- '[a-zA-Z0-9]+':
- type: string
- description: '``StageDescription`` is a property of the [AWS::ApiGateway::Deployment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html) resource that configures a deployment stage.'
- DeploymentCanarySettings:
+ CanarySetting:
+ description: ''
type: object
additionalProperties: false
properties:
+ DeploymentId:
+ description: ''
+ type: string
PercentTraffic:
- description: The percentage (0.0-100.0) of traffic routed to the canary deployment.
+ description: ''
type: number
+ minimum: 0
+ maximum: 100
StageVariableOverrides:
- description: A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
+ description: ''
type: object
additionalProperties: false
x-patternProperties:
'[a-zA-Z0-9]+':
type: string
UseStageCache:
- description: A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
+ description: ''
type: boolean
+ DeploymentCanarySettings:
description: The ``DeploymentCanarySettings`` property type specifies settings for the canary deployment.
- AccessLogSetting:
- description: |-
- The ``AccessLogSetting`` property type specifies settings for logging access in this stage.
- ``AccessLogSetting`` is a property of the [AWS::ApiGateway::Stage](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html) resource.
- type: object
additionalProperties: false
- properties:
- DestinationArn:
- description: The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with ``amazon-apigateway-``. This parameter is required to enable access logging.
- type: string
- Format:
- description: A single line format of the access logs of data, as specified by selected [$context variables](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference). The format must include at least ``$context.requestId``. This parameter is required to enable access logging.
- type: string
- CanarySetting:
- description: Configuration settings of a canary deployment.
type: object
- additionalProperties: false
properties:
- DeploymentId:
- description: The ID of the canary deployment.
- type: string
- PercentTraffic:
- description: The percent (0-100) of traffic diverted to a canary deployment.
- type: number
- minimum: 0
- maximum: 100
StageVariableOverrides:
- description: Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.
- type: object
- additionalProperties: false
x-patternProperties:
'[a-zA-Z0-9]+':
type: string
+ description: ''
+ additionalProperties: false
+ type: object
+ PercentTraffic:
+ description: ''
+ type: number
UseStageCache:
- description: A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
+ description: ''
type: boolean
- MethodSetting:
+ AccessLogSetting:
description: |-
- The ``MethodSetting`` property type configures settings for all methods in a stage.
- The ``MethodSettings`` property of the ``AWS::ApiGateway::Stage`` resource contains a list of ``MethodSetting`` property types.
+ The ``AccessLogSetting`` property type specifies settings for logging access in this stage.
+ ``AccessLogSetting`` is a property of the [AWS::ApiGateway::Stage](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html) resource.
type: object
additionalProperties: false
properties:
- CacheDataEncrypted:
- description: Specifies whether the cached responses are encrypted.
- type: boolean
- CacheTtlInSeconds:
- description: Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
- type: integer
- CachingEnabled:
- description: Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.
- type: boolean
- DataTraceEnabled:
- description: Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs.
- type: boolean
- HttpMethod:
- description: The HTTP method. To apply settings to multiple resources and methods, specify an asterisk (``*``) for the ``HttpMethod`` and ``/*`` for the ``ResourcePath``. This parameter is required when you specify a ``MethodSetting``.
- type: string
- LoggingLevel:
- description: Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are ``OFF``, ``ERROR``, and ``INFO``. Choose ``ERROR`` to write only error-level entries to CloudWatch Logs, or choose ``INFO`` to include all ``ERROR`` events as well as extra informational events.
+ DestinationArn:
+ description: The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with ``amazon-apigateway-``. This parameter is required to enable access logging.
type: string
- MetricsEnabled:
- description: Specifies whether Amazon CloudWatch metrics are enabled for this method.
- type: boolean
- ResourcePath:
- description: >-
- The resource path for this method. Forward slashes (``/``) are encoded as ``~1`` and the initial slash must include a forward slash. For example, the path value ``/resource/subresource`` must be encoded as ``/~1resource~1subresource``. To specify the root path, use only a slash (``/``). To apply settings to multiple resources and methods, specify an asterisk (``*``) for the ``HttpMethod`` and ``/*`` for the ``ResourcePath``. This parameter is required when you specify a
- ``MethodSetting``.
+ Format:
+ description: A single line format of the access logs of data, as specified by selected [$context variables](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference). The format must include at least ``$context.requestId``. This parameter is required to enable access logging.
type: string
- ThrottlingBurstLimit:
- description: Specifies the throttling burst limit.
- type: integer
- minimum: 0
- ThrottlingRateLimit:
- description: Specifies the throttling rate limit.
- type: number
- minimum: 0
Deployment:
type: object
properties:
DeploymentId:
- type: string
description: ''
- DeploymentCanarySettings:
- $ref: '#/components/schemas/DeploymentCanarySettings'
- description: The input configuration for a canary deployment.
- Description:
type: string
- description: The description for the Deployment resource to create.
- RestApiId:
+ Description:
+ description: ''
type: string
- description: The string identifier of the associated RestApi.
StageDescription:
- $ref: '#/components/schemas/StageDescription'
description: The description of the Stage resource for the Deployment resource to create. To specify a stage description, you must also provide a stage name.
+ $ref: '#/components/schemas/StageDescription'
StageName:
+ description: ''
+ type: string
+ RestApiId:
+ description: ''
type: string
- description: The name of the Stage resource for the Deployment resource to create.
+ DeploymentCanarySettings:
+ description: ''
+ $ref: '#/components/schemas/DeploymentCanarySettings'
required:
- RestApiId
x-stackql-resource-name: deployment
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::Deployment`` resource deploys an API Gateway ``RestApi`` resource to a stage so that clients can call the API over the internet. The stage acts as an environment.
+ x-type-name: AWS::ApiGateway::Deployment
+ x-stackql-primary-identifier:
- DeploymentId
- RestApiId
x-create-only-properties:
- DeploymentCanarySettings
- RestApiId
+ x-write-only-properties:
+ - StageName
+ - StageDescription
+ - DeploymentCanarySettings
x-read-only-properties:
- DeploymentId
+ x-required-properties:
+ - RestApiId
+ x-tagging:
+ taggable: false
x-required-permissions:
+ read:
+ - apigateway:GET
create:
- apigateway:POST
- apigateway:PATCH
- apigateway:PUT
- apigateway:GET
- read:
- - apigateway:GET
update:
- apigateway:PATCH
- apigateway:GET
- apigateway:PUT
- apigateway:DELETE
+ list:
+ - apigateway:GET
delete:
- apigateway:GET
- apigateway:DELETE
- list:
- - apigateway:GET
Location:
type: object
additionalProperties: false
properties:
Method:
- description: >-
- The HTTP verb of a method. It is a valid field for the API entity types of ``METHOD``, ``PATH_PARAMETER``, ``QUERY_PARAMETER``, ``REQUEST_HEADER``, ``REQUEST_BODY``, ``RESPONSE``, ``RESPONSE_HEADER``, and ``RESPONSE_BODY``. The default value is ``*`` for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other ``location`` attributes, the child entity's ``method`` attribute must match that of the
- parent entity exactly.
+ description: ''
type: string
Name:
- description: The name of the targeted API entity. It is a valid and required field for the API entity types of ``AUTHORIZER``, ``MODEL``, ``PATH_PARAMETER``, ``QUERY_PARAMETER``, ``REQUEST_HEADER``, ``REQUEST_BODY`` and ``RESPONSE_HEADER``. It is an invalid field for any other entity type.
+ description: ''
type: string
Path:
- description: >-
- The URL path of the target. It is a valid field for the API entity types of ``RESOURCE``, ``METHOD``, ``PATH_PARAMETER``, ``QUERY_PARAMETER``, ``REQUEST_HEADER``, ``REQUEST_BODY``, ``RESPONSE``, ``RESPONSE_HEADER``, and ``RESPONSE_BODY``. The default value is ``/`` for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the other ``location`` attributes, the child entity's ``path`` attribute
- must match that of the parent entity as a prefix.
+ description: ''
type: string
StatusCode:
- description: The HTTP status code of a response. It is a valid field for the API entity types of ``RESPONSE``, ``RESPONSE_HEADER``, and ``RESPONSE_BODY``. The default value is ``*`` for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other ``location`` attributes, the child entity's ``statusCode`` attribute must match that of the parent entity exactly.
+ description: ''
type: string
Type:
- description: The type of API entity to which the documentation content applies. Valid values are ``API``, ``AUTHORIZER``, ``MODEL``, ``RESOURCE``, ``METHOD``, ``PATH_PARAMETER``, ``QUERY_PARAMETER``, ``REQUEST_HEADER``, ``REQUEST_BODY``, ``RESPONSE``, ``RESPONSE_HEADER``, and ``RESPONSE_BODY``. Content inheritance does not apply to any entity of the ``API``, ``AUTHORIZER``, ``METHOD``, ``MODEL``, ``REQUEST_BODY``, or ``RESOURCE`` type.
+ description: ''
type: string
enum:
- API
@@ -532,20 +1016,22 @@ components:
description: ''
type: string
Location:
- description: The location of the targeted API entity of the to-be-created documentation part.
+ description: ''
$ref: '#/components/schemas/Location'
Properties:
- description: The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
+ description: ''
type: string
RestApiId:
- description: The string identifier of the associated RestApi.
+ description: ''
type: string
required:
- Location
- Properties
- RestApiId
x-stackql-resource-name: documentation_part
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::DocumentationPart`` resource creates a documentation part for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*.
+ x-type-name: AWS::ApiGateway::DocumentationPart
+ x-stackql-primary-identifier:
- DocumentationPartId
- RestApiId
x-create-only-properties:
@@ -553,6 +1039,12 @@ components:
- RestApiId
x-read-only-properties:
- DocumentationPartId
+ x-required-properties:
+ - Location
+ - Properties
+ - RestApiId
+ x-tagging:
+ taggable: false
x-required-permissions:
create:
- apigateway:GET
@@ -570,26 +1062,33 @@ components:
type: object
properties:
Description:
- description: A description about the new documentation snapshot.
+ description: ''
type: string
DocumentationVersion:
- description: The version identifier of the to-be-updated documentation version.
+ description: ''
type: string
minLength: 1
RestApiId:
- description: The string identifier of the associated RestApi.
+ description: ''
type: string
minLength: 1
required:
- DocumentationVersion
- RestApiId
x-stackql-resource-name: documentation_version
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::DocumentationVersion`` resource creates a snapshot of the documentation for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*.
+ x-type-name: AWS::ApiGateway::DocumentationVersion
+ x-stackql-primary-identifier:
- DocumentationVersion
- RestApiId
x-create-only-properties:
- DocumentationVersion
- RestApiId
+ x-required-properties:
+ - DocumentationVersion
+ - RestApiId
+ x-tagging:
+ taggable: false
x-required-permissions:
create:
- apigateway:GET
@@ -604,82 +1103,266 @@ components:
list:
- apigateway:GET
EndpointConfiguration:
- type: object
+ description: |-
+ The ``EndpointConfiguration`` property type specifies the endpoint types of a REST API.
+ ``EndpointConfiguration`` is a property of the [AWS::ApiGateway::RestApi](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html) resource.
additionalProperties: false
+ type: object
properties:
+ IpAddressType:
+ description: ''
+ type: string
Types:
- type: array
uniqueItems: true
+ description: ''
+ type: array
items:
type: string
- description: A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is ``"EDGE"``. For a regional API and its custom domain name, the endpoint type is ``REGIONAL``. For a private API, the endpoint type is ``PRIVATE``.
VpcEndpointIds:
- type: array
uniqueItems: true
+ description: ''
+ type: array
items:
+ relationshipRef:
+ typeName: AWS::EC2::VPCEndpoint
+ propertyPath: /properties/Id
type: string
- description: A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for ``PRIVATE`` endpoint type.
- description: |-
- The ``EndpointConfiguration`` property type specifies the endpoint types of a REST API.
- ``EndpointConfiguration`` is a property of the [AWS::ApiGateway::RestApi](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html) resource.
MutualTlsAuthentication:
type: object
properties:
TruststoreUri:
type: string
+ description: ''
TruststoreVersion:
type: string
+ description: ''
additionalProperties: false
+ description: ''
DomainName:
type: object
properties:
DomainName:
type: string
+ description: ''
+ DomainNameArn:
+ type: string
+ description: ''
DistributionDomainName:
type: string
+ description: ''
DistributionHostedZoneId:
type: string
+ description: ''
EndpointConfiguration:
$ref: '#/components/schemas/EndpointConfiguration'
+ description: ''
MutualTlsAuthentication:
$ref: '#/components/schemas/MutualTlsAuthentication'
+ description: ''
RegionalDomainName:
type: string
+ description: ''
RegionalHostedZoneId:
type: string
+ description: ''
CertificateArn:
type: string
+ description: ''
RegionalCertificateArn:
type: string
+ description: ''
OwnershipVerificationCertificateArn:
type: string
+ description: The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the RegionalCertificateArn.
SecurityPolicy:
type: string
+ description: ''
+ RoutingMode:
+ type: string
+ description: ''
+ default: BASE_PATH_MAPPING_ONLY
+ enum:
+ - BASE_PATH_MAPPING_ONLY
+ - ROUTING_RULE_THEN_BASE_PATH_MAPPING
+ - ROUTING_RULE_ONLY
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
+ description: ''
x-stackql-resource-name: domain_name
- x-stackql-primaryIdentifier:
+ description: |-
+ The ``AWS::ApiGateway::DomainName`` resource specifies a custom domain name for your API in API Gateway.
+ You can use a custom domain name to provide a URL that's more intuitive and easier to recall. For more information about using custom domain names, see [Set up Custom Domain Name for an API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) in the *API Gateway Developer Guide*.
+ x-type-name: AWS::ApiGateway::DomainName
+ x-stackql-primary-identifier:
- DomainName
x-create-only-properties:
- DomainName
x-read-only-properties:
+ - DomainNameArn
- RegionalHostedZoneId
- DistributionDomainName
- RegionalDomainName
- DistributionHostedZoneId
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ x-required-permissions:
+ create:
+ - apigateway:POST
+ - apigateway:PUT
+ - apigateway:GET
+ read:
+ - apigateway:GET
+ update:
+ - apigateway:GET
+ - apigateway:PUT
+ - apigateway:PATCH
+ delete:
+ - apigateway:GET
+ - apigateway:DELETE
+ list:
+ - apigateway:GET
+ DomainNameAccessAssociation:
+ type: object
+ properties:
+ DomainNameAccessAssociationArn:
+ type: string
+ description: The amazon resource name (ARN) of the domain name access association resource.
+ DomainNameArn:
+ type: string
+ description: The amazon resource name (ARN) of the domain name resource.
+ AccessAssociationSource:
+ type: string
+ description: The source of the domain name access association resource.
+ AccessAssociationSourceType:
+ type: string
+ description: The source type of the domain name access association resource.
+ enum:
+ - VPCE
+ Tags:
+ description: An array of arbitrary tags (key-value pairs) to associate with the domainname access association.
+ uniqueItems: false
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ required:
+ - DomainNameArn
+ - AccessAssociationSource
+ - AccessAssociationSourceType
+ x-stackql-resource-name: domain_name_access_association
+ description: Resource Type definition for AWS::ApiGateway::DomainNameAccessAssociation.
+ x-type-name: AWS::ApiGateway::DomainNameAccessAssociation
+ x-stackql-primary-identifier:
+ - DomainNameAccessAssociationArn
+ x-create-only-properties:
+ - DomainNameArn
+ - AccessAssociationSource
+ - AccessAssociationSourceType
+ - Tags
+ x-read-only-properties:
+ - DomainNameAccessAssociationArn
+ x-required-properties:
+ - DomainNameArn
+ - AccessAssociationSource
+ - AccessAssociationSourceType
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: false
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - apigateway:POST
+ - apigateway:DELETE
+ - apigateway:GET
+ x-required-permissions:
+ create:
+ - apigateway:POST
+ - apigateway:GET
+ read:
+ - apigateway:GET
+ delete:
+ - apigateway:DELETE
+ - apigateway:GET
+ list:
+ - apigateway:GET
+ DomainNameV2:
+ type: object
+ properties:
+ CertificateArn:
+ type: string
+ DomainName:
+ type: string
+ EndpointConfiguration:
+ $ref: '#/components/schemas/EndpointConfiguration'
+ SecurityPolicy:
+ type: string
+ Policy:
+ type: object
+ DomainNameId:
+ type: string
+ DomainNameArn:
+ type: string
+ description: The amazon resource name (ARN) of the domain name resource.
+ RoutingMode:
+ type: string
+ description: The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY]. All other inputs are invalid.
+ default: BASE_PATH_MAPPING_ONLY
+ enum:
+ - BASE_PATH_MAPPING_ONLY
+ - ROUTING_RULE_THEN_BASE_PATH_MAPPING
+ - ROUTING_RULE_ONLY
+ Tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-stackql-resource-name: domain_name_v2
+ description: Resource Type definition for AWS::ApiGateway::DomainNameV2.
+ x-type-name: AWS::ApiGateway::DomainNameV2
+ x-stackql-primary-identifier:
+ - DomainNameArn
+ x-create-only-properties:
+ - DomainName
+ - SecurityPolicy
+ - EndpointConfiguration
+ x-read-only-properties:
+ - DomainNameId
+ - DomainNameArn
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - apigateway:PUT
+ - apigateway:PATCH
+ - apigateway:DELETE
+ - apigateway:GET
+ - apigateway:POST
x-required-permissions:
create:
- - apigateway:*
+ - apigateway:POST
+ - apigateway:GET
+ - apigateway:UpdateDomainNamePolicy
read:
- - apigateway:*
+ - apigateway:GET
update:
- - apigateway:*
+ - apigateway:GET
+ - apigateway:PUT
+ - apigateway:PATCH
+ - apigateway:UpdateDomainNamePolicy
delete:
- - apigateway:*
+ - apigateway:DELETE
+ - apigateway:GET
+ - apigateway:UpdateDomainNamePolicy
list:
- - apigateway:*
+ - apigateway:GET
GatewayResponse:
type: object
properties:
@@ -687,23 +1370,23 @@ components:
description: ''
type: string
RestApiId:
- description: The string identifier of the associated RestApi.
+ description: ''
type: string
ResponseType:
- description: The response type of the associated GatewayResponse.
+ description: ''
type: string
StatusCode:
- description: The HTTP status code for this GatewayResponse.
+ description: ''
type: string
ResponseParameters:
- description: Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
+ description: ''
type: object
additionalProperties: false
x-patternProperties:
'[a-zA-Z0-9]+':
type: string
ResponseTemplates:
- description: Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
+ description: ''
type: object
additionalProperties: false
x-patternProperties:
@@ -713,17 +1396,26 @@ components:
- ResponseType
- RestApiId
x-stackql-resource-name: gateway_response
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::GatewayResponse`` resource creates a gateway response for your API. For more information, see [API Gateway Responses](https://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html#api-gateway-gatewayResponse-definition) in the *API Gateway Developer Guide*.
+ x-type-name: AWS::ApiGateway::GatewayResponse
+ x-stackql-primary-identifier:
- Id
x-create-only-properties:
- ResponseType
- RestApiId
x-read-only-properties:
- Id
+ x-required-properties:
+ - ResponseType
+ - RestApiId
+ x-tagging:
+ taggable: false
x-required-permissions:
create:
- apigateway:PUT
- apigateway:GET
+ read:
+ - apigateway:GET
update:
- apigateway:GET
- apigateway:PUT
@@ -732,82 +1424,75 @@ components:
- apigateway:DELETE
list:
- apigateway:GET
- Integration:
- type: object
+ MethodResponse:
+ description: ''
additionalProperties: false
+ type: object
properties:
- CacheKeyParameters:
- description: A list of request parameters whose values API Gateway caches. To be valid values for ``cacheKeyParameters``, these parameters must also be specified for Method ``requestParameters``.
- type: array
- uniqueItems: true
- items:
- type: string
- CacheNamespace:
- description: Specifies a group of related cached parameters. By default, API Gateway uses the resource ID as the ``cacheNamespace``. You can specify the same ``cacheNamespace`` across resources to return the same cached data for requests to different resources.
+ ResponseParameters:
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: boolean
+ description: ''
+ additionalProperties: false
+ type: object
+ StatusCode:
+ description: ''
type: string
- ConnectionId:
- description: The ID of the VpcLink used for the integration when ``connectionType=VPC_LINK`` and undefined, otherwise.
+ ResponseModels:
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: string
+ description: ''
+ additionalProperties: false
+ type: object
+ required:
+ - StatusCode
+ Integration:
+ description: '``Integration`` is a property of the [AWS::ApiGateway::Method](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html) resource that specifies information about the target backend that a method calls.'
+ additionalProperties: false
+ type: object
+ properties:
+ CacheNamespace:
+ description: ''
type: string
ConnectionType:
- description: The type of the network connection to the integration endpoint. The valid value is ``INTERNET`` for connections through the public routable internet or ``VPC_LINK`` for private connections between API Gateway and a network load balancer in a VPC. The default value is ``INTERNET``.
+ description: ''
type: string
enum:
- INTERNET
- VPC_LINK
- ContentHandling:
- description: |-
- Specifies how to handle request payload content type conversions. Supported values are ``CONVERT_TO_BINARY`` and ``CONVERT_TO_TEXT``, with the following behaviors:
- If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the ``passthroughBehavior`` is configured to support payload pass-through.
- type: string
- enum:
- - CONVERT_TO_BINARY
- - CONVERT_TO_TEXT
- Credentials:
- description: Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string ``arn:aws:iam::\*:user/\*``. To use resource-based permissions on supported AWS services, specify null.
- type: string
- IntegrationHttpMethod:
- description: Specifies the integration's HTTP method type. For the Type property, if you specify ``MOCK``, this property is optional. For Lambda integrations, you must set the integration method to ``POST``. For all other types, you must specify this property.
- type: string
IntegrationResponses:
- description: Specifies the integration's responses.
- type: array
uniqueItems: true
+ description: ''
+ type: array
items:
$ref: '#/components/schemas/IntegrationResponse'
+ IntegrationHttpMethod:
+ description: ''
+ type: string
+ Uri:
+ description: ''
+ type: string
PassthroughBehavior:
- description: >-
- Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in ``requestTemplates``. The valid value is one of the following: ``WHEN_NO_MATCH``: passes the method request body through the integration request to the back end without
- transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request. ``WHEN_NO_TEMPLATES``: passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415
- Unsupported Media Type response
+ description: ''
type: string
enum:
- WHEN_NO_MATCH
- WHEN_NO_TEMPLATES
- NEVER
RequestParameters:
- description: >-
- A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and
- ``name`` must be a valid and unique method request parameter name.
- type: object
- additionalProperties: false
x-patternProperties:
'[a-zA-Z0-9]+':
type: string
- RequestTemplates:
- description: Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.
- type: object
+ description: ''
additionalProperties: false
- x-patternProperties:
- '[a-zA-Z0-9]+':
- type: string
- TimeoutInMillis:
- description: Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.
- type: integer
- minimum: 50
+ type: object
+ ConnectionId:
+ description: ''
+ type: string
Type:
- description: |-
- Specifies an API method integration type. The valid value is one of the following:
- For the HTTP and HTTP proxy integrations, each integration can specify a protocol (``http/https``), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a ``connectionType`` of ``VPC_LINK`` is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.
+ description: ''
type: string
enum:
- AWS
@@ -815,151 +1500,132 @@ components:
- HTTP
- HTTP_PROXY
- MOCK
- Uri:
- description: |-
- Specifies Uniform Resource Identifier (URI) of the integration endpoint.
- For ``HTTP`` or ``HTTP_PROXY`` integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification for standard integrations. If ``connectionType`` is ``VPC_LINK`` specify the Network Load Balancer DNS name. For ``AWS`` or ``AWS_PROXY`` integrations, the URI is of the form ``arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}``. Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated AWS service (e.g., s3); and {subdomain} is a designated subdomain supported by certain AWS service for fast host-name lookup. action can be used for an AWS service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing service_ap
+ CacheKeyParameters:
+ uniqueItems: true
+ description: ''
+ type: array
+ items:
+ type: string
+ ContentHandling:
+ description: ''
type: string
- required:
- - Type
- description: '``Integration`` is a property of the [AWS::ApiGateway::Method](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html) resource that specifies information about the target backend that a method calls.'
- MethodResponse:
- type: object
- additionalProperties: false
- properties:
- ResponseModels:
- description: Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.
- type: object
- additionalProperties: false
+ enum:
+ - CONVERT_TO_BINARY
+ - CONVERT_TO_TEXT
+ RequestTemplates:
x-patternProperties:
'[a-zA-Z0-9]+':
type: string
- ResponseParameters:
- description: >-
- A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern ``method.response.header.{name}``, where ``name`` is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to
- the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in ``integration.response.header.{name}``, a static value enclosed within a pair of single quotes (e.g., ``'application/json'``), or a JSON expression from the back-end response payload in the form of ``integration.response.body.{JSON-expression}``, where ``JSON-expression`` is a valid JSON expression without the ``$`` prefix.)
- type: object
+ description: ''
additionalProperties: false
- x-patternProperties:
- '[a-zA-Z0-9]+':
- type: boolean
- StatusCode:
- description: The method response's status code.
+ type: object
+ TimeoutInMillis:
+ description: ''
+ type: integer
+ minimum: 50
+ Credentials:
+ description: ''
type: string
required:
- - StatusCode
- description: Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template.
+ - Type
IntegrationResponse:
- type: object
+ description: '``IntegrationResponse`` is a property of the [Amazon API Gateway Method Integration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html) property type that specifies the response that API Gateway sends after a method''s backend finishes processing a request.'
additionalProperties: false
+ type: object
properties:
+ ResponseTemplates:
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: string
+ description: ''
+ additionalProperties: false
+ type: object
+ SelectionPattern:
+ description: ''
+ type: string
ContentHandling:
- description: |-
- Specifies how to handle response payload content type conversions. Supported values are ``CONVERT_TO_BINARY`` and ``CONVERT_TO_TEXT``, with the following behaviors:
- If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.
+ description: ''
type: string
enum:
- CONVERT_TO_BINARY
- CONVERT_TO_TEXT
ResponseParameters:
- description: >-
- A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of ``method.response.header.{name}``, where ``name`` is a valid and unique header name. The mapped non-static value
- must match the pattern of ``integration.response.header.{name}`` or ``integration.response.body.{JSON-expression}``, where ``name`` is a valid and unique response header name and ``JSON-expression`` is a valid JSON expression without the ``$`` prefix.
- type: object
- additionalProperties: false
x-patternProperties:
'[a-zA-Z0-9]+':
type: string
- ResponseTemplates:
- description: Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.
- type: object
+ description: ''
additionalProperties: false
- x-patternProperties:
- '[a-zA-Z0-9]+':
- type: string
- SelectionPattern:
- description: >-
- Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the ``.+`` regex to match error response. However, make sure that the error response does not contain any newline (``\n``) character in such cases. If the back end is an LAMlong function, the LAMlong function error header is matched. For all other
- HTTP and AWS back ends, the HTTP status code is matched.
- type: string
+ type: object
StatusCode:
- description: Specifies the status code that is used to map the integration response to an existing MethodResponse.
+ description: ''
type: string
required:
- StatusCode
- description: '``IntegrationResponse`` is a property of the [Amazon API Gateway Method Integration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html) property type that specifies the response that API Gateway sends after a method''s backend finishes processing a request.'
Method:
type: object
properties:
- ApiKeyRequired:
- description: A boolean flag specifying whether a valid ApiKey is required to invoke this method.
- type: boolean
- AuthorizationScopes:
- description: >-
- A list of authorization scopes configured on the method. The scopes are used with a ``COGNITO_USER_POOLS`` authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide
- an access token instead of an identity token for authorization purposes.
- type: array
- items:
- type: string
- AuthorizationType:
- description: |-
- The method's authorization type. This parameter is required. For valid values, see [Method](https://docs.aws.amazon.com/apigateway/latest/api/API_Method.html) in the *API Gateway API Reference*.
- If you specify the ``AuthorizerId`` property, specify ``CUSTOM`` or ``COGNITO_USER_POOLS`` for this property.
- type: string
- enum:
- - NONE
- - AWS_IAM
- - CUSTOM
- - COGNITO_USER_POOLS
- AuthorizerId:
- description: The identifier of an authorizer to use on this method. The method's authorization type must be ``CUSTOM`` or ``COGNITO_USER_POOLS``.
- type: string
- HttpMethod:
- description: The method's HTTP verb.
- type: string
Integration:
- description: Represents an ``HTTP``, ``HTTP_PROXY``, ``AWS``, ``AWS_PROXY``, or Mock integration.
+ description: ''
$ref: '#/components/schemas/Integration'
- MethodResponses:
- description: Gets a method response associated with a given HTTP status code.
- type: array
- uniqueItems: true
- items:
- $ref: '#/components/schemas/MethodResponse'
OperationName:
- description: A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example.
+ description: ''
type: string
RequestModels:
- description: A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).
- type: object
- additionalProperties: false
x-patternProperties:
'[a-zA-Z0-9]+':
type: string
- RequestParameters:
- description: >-
- A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter
- names defined here are available in Integration to be mapped to integration request parameters or templates.
- type: object
+ description: ''
additionalProperties: false
+ type: object
+ RestApiId:
+ description: ''
+ type: string
+ AuthorizationScopes:
+ description: ''
+ type: array
+ items:
+ type: string
+ RequestValidatorId:
+ description: ''
+ type: string
+ RequestParameters:
x-patternProperties:
'[a-zA-Z0-9]+':
type: boolean
- RequestValidatorId:
- description: The identifier of a RequestValidator for request validation.
+ description: ''
+ additionalProperties: false
+ type: object
+ MethodResponses:
+ uniqueItems: true
+ description: ''
+ type: array
+ items:
+ $ref: '#/components/schemas/MethodResponse'
+ AuthorizerId:
+ description: ''
type: string
ResourceId:
- description: The Resource identifier for the MethodResponse resource.
+ description: ''
type: string
- RestApiId:
- description: The string identifier of the associated RestApi.
+ ApiKeyRequired:
+ description: ''
+ type: boolean
+ AuthorizationType:
+ description: |-
+ The method's authorization type. This parameter is required. For valid values, see [Method](https://docs.aws.amazon.com/apigateway/latest/api/API_Method.html) in the *API Gateway API Reference*.
+ If you specify the ``AuthorizerId`` property, specify ``CUSTOM`` or ``COGNITO_USER_POOLS`` for this property.
+ type: string
+ HttpMethod:
+ description: ''
type: string
required:
- RestApiId
- ResourceId
- HttpMethod
x-stackql-resource-name: method
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::Method`` resource creates API Gateway methods that define the parameters and body that clients must send in their requests.
+ x-type-name: AWS::ApiGateway::Method
+ x-stackql-primary-identifier:
- RestApiId
- ResourceId
- HttpMethod
@@ -967,13 +1633,22 @@ components:
- RestApiId
- ResourceId
- HttpMethod
+ x-required-properties:
+ - RestApiId
+ - ResourceId
+ - HttpMethod
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
+ read:
+ - apigateway:GET
create:
- apigateway:PUT
- apigateway:GET
- iam:PassRole
- read:
- - apigateway:GET
update:
- apigateway:GET
- apigateway:DELETE
@@ -986,10 +1661,10 @@ components:
properties:
ContentType:
type: string
- description: The content-type for the model.
+ description: ''
Description:
type: string
- description: The description of the model.
+ description: ''
Name:
type: string
description: |-
@@ -997,20 +1672,26 @@ components:
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
RestApiId:
type: string
- description: The string identifier of the associated RestApi.
+ description: ''
Schema:
- description: The schema for the model. For ``application/json`` models, this should be JSON schema draft 4 model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.
+ description: ''
type: object
required:
- RestApiId
x-stackql-resource-name: model
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::Model`` resource defines the structure of a request or response payload for an API method.
+ x-type-name: AWS::ApiGateway::Model
+ x-stackql-primary-identifier:
- RestApiId
- Name
x-create-only-properties:
- ContentType
- Name
- RestApiId
+ x-required-properties:
+ - RestApiId
+ x-tagging:
+ taggable: false
x-required-permissions:
create:
- apigateway:POST
@@ -1032,21 +1713,23 @@ components:
description: ''
type: string
Name:
- description: The name of this RequestValidator
+ description: ''
type: string
RestApiId:
- description: The string identifier of the associated RestApi.
+ description: ''
type: string
ValidateRequestBody:
- description: A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
+ description: ''
type: boolean
ValidateRequestParameters:
- description: A Boolean flag to indicate whether to validate request parameters (``true``) or not (``false``).
+ description: ''
type: boolean
required:
- RestApiId
x-stackql-resource-name: request_validator
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::RequestValidator`` resource sets up basic validation rules for incoming requests to your API. For more information, see [Enable Basic Request Validation for an API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) in the *API Gateway Developer Guide*.
+ x-type-name: AWS::ApiGateway::RequestValidator
+ x-stackql-primary-identifier:
- RestApiId
- RequestValidatorId
x-create-only-properties:
@@ -1054,6 +1737,10 @@ components:
- RestApiId
x-read-only-properties:
- RequestValidatorId
+ x-required-properties:
+ - RestApiId
+ x-tagging:
+ taggable: false
x-required-permissions:
create:
- apigateway:POST
@@ -1070,24 +1757,26 @@ components:
Resource:
type: object
properties:
- ResourceId:
+ ParentId:
description: ''
type: string
- RestApiId:
- description: The string identifier of the associated RestApi.
+ PathPart:
+ description: ''
type: string
- ParentId:
- description: The parent resource's identifier.
+ ResourceId:
+ description: ''
type: string
- PathPart:
- description: The last path segment for this resource.
+ RestApiId:
+ description: ''
type: string
required:
- ParentId
- PathPart
- RestApiId
x-stackql-resource-name: resource
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::Resource`` resource creates a resource in an API.
+ x-type-name: AWS::ApiGateway::Resource
+ x-stackql-primary-identifier:
- RestApiId
- ResourceId
x-create-only-properties:
@@ -1096,6 +1785,12 @@ components:
- RestApiId
x-read-only-properties:
- ResourceId
+ x-required-properties:
+ - ParentId
+ - PathPart
+ - RestApiId
+ x-tagging:
+ taggable: false
x-required-permissions:
read:
- apigateway:GET
@@ -1104,76 +1799,55 @@ components:
update:
- apigateway:GET
- apigateway:PATCH
- delete:
- - apigateway:DELETE
list:
- apigateway:GET
+ delete:
+ - apigateway:DELETE
S3Location:
- type: object
+ description: |-
+ ``S3Location`` is a property of the [AWS::ApiGateway::RestApi](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html) resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML.
+ On January 1, 2016, the Swagger Specification was donated to the [OpenAPI initiative](https://docs.aws.amazon.com/https://www.openapis.org/), becoming the foundation of the OpenAPI Specification.
additionalProperties: false
+ type: object
properties:
Bucket:
- type: string
description: The name of the S3 bucket where the OpenAPI file is stored.
- ETag:
type: string
+ ETag:
description: The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.
- Version:
type: string
+ Version:
description: For versioning-enabled buckets, a specific version of the OpenAPI file.
- Key:
type: string
+ Key:
description: The file name of the OpenAPI file (Amazon S3 object name).
- description: |-
- ``S3Location`` is a property of the [AWS::ApiGateway::RestApi](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html) resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML.
- On January 1, 2016, the Swagger Specification was donated to the [OpenAPI initiative](https://docs.aws.amazon.com/https://www.openapis.org/), becoming the foundation of the OpenAPI Specification.
+ type: string
RestApi:
type: object
properties:
- RestApiId:
- type: string
- description: ''
- RootResourceId:
- type: string
- description: ''
- ApiKeySourceType:
- type: string
- description: 'The source of the API key for metering requests according to a usage plan. Valid values are: ``HEADER`` to read the API key from the ``X-API-Key`` header of a request. ``AUTHORIZER`` to read the API key from the ``UsageIdentifierKey`` from a custom authorizer.'
- BinaryMediaTypes:
- type: array
- uniqueItems: true
- items:
- type: string
- description: The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
- Body:
+ Policy:
+ description: A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"``.
type: object
- description: An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
BodyS3Location:
- $ref: '#/components/schemas/S3Location'
description: The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format.
- CloneFrom:
- type: string
- description: The ID of the RestApi that you want to clone from.
- EndpointConfiguration:
- $ref: '#/components/schemas/EndpointConfiguration'
- description: A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the ``Parameters`` property.
+ $ref: '#/components/schemas/S3Location'
Description:
+ description: ''
type: string
- description: The description of the RestApi.
- DisableExecuteApiEndpoint:
- type: boolean
- description: Specifies whether clients can invoke your API by using the default ``execute-api`` endpoint. By default, clients can invoke your API with the default ``https://{api_id}.execute-api.{region}.amazonaws.com`` endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
- FailOnWarnings:
- type: boolean
- description: A query parameter to indicate whether to rollback the API update (``true``) or not (``false``) when a warning is encountered. The default value is ``false``.
- Name:
- type: string
- description: The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
MinimumCompressionSize:
+ description: ''
type: integer
- description: A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
- Mode:
+ Parameters:
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: string
+ description: ''
+ additionalProperties: false
+ type: object
+ CloneFrom:
+ description: ''
type: string
+ Mode:
description: |-
This property applies only when you use OpenAPI to define your REST API. The ``Mode`` determines how API Gateway handles resource updates.
Valid values are ``overwrite`` or ``merge``.
@@ -1181,29 +1855,73 @@ components:
For ``merge``, the new API definition is merged with the existing API.
If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is ``overwrite``. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API.
Use the default mode to define top-level ``RestApi`` properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
- Policy:
- type: object
- description: A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"``.
- Parameters:
+ type: string
+ RestApiId:
+ description: ''
+ type: string
+ DisableExecuteApiEndpoint:
+ description: ''
+ type: boolean
+ FailOnWarnings:
+ description: ''
+ type: boolean
+ BinaryMediaTypes:
+ uniqueItems: true
+ description: ''
+ type: array
+ items:
+ type: string
+ Name:
+ description: The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
+ type: string
+ RootResourceId:
+ description: ''
+ type: string
+ ApiKeySourceType:
+ description: ''
+ type: string
+ EndpointConfiguration:
+ description: A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the ``Parameters`` property.
+ $ref: '#/components/schemas/EndpointConfiguration'
+ Body:
+ description: An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
type: object
- additionalProperties: false
- x-patternProperties:
- '[a-zA-Z0-9]+':
- type: string
- description: Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``.
Tags:
- type: array
uniqueItems: false
+ description: ''
+ type: array
items:
$ref: '#/components/schemas/Tag'
- description: The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:``. The tag value can be up to 256 characters.
x-stackql-resource-name: rest_api
- x-stackql-primaryIdentifier:
+ description: |-
+ The ``AWS::ApiGateway::RestApi`` resource creates a REST API. For more information, see [restapi:create](https://docs.aws.amazon.com/apigateway/latest/api/API_CreateRestApi.html) in the *Amazon API Gateway REST API Reference*.
+ On January 1, 2016, the Swagger Specification was donated to the [OpenAPI initiative](https://docs.aws.amazon.com/https://www.openapis.org/), becoming the foundation of the OpenAPI Specification.
+ x-type-name: AWS::ApiGateway::RestApi
+ x-stackql-primary-identifier:
- RestApiId
+ x-write-only-properties:
+ - Body
+ - BodyS3Location
+ - CloneFrom
+ - FailOnWarnings
+ - Mode
+ - Parameters
x-read-only-properties:
- RestApiId
- RootResourceId
+ x-tagging:
+ permissions:
+ - apigateway:PUT
+ - apigateway:DELETE
+ - apigateway:GET
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ tagProperty: /properties/Tags
+ cloudFormationSystemTags: true
x-required-permissions:
+ read:
+ - apigateway:GET
create:
- apigateway:GET
- apigateway:POST
@@ -1212,8 +1930,6 @@ components:
- apigateway:UpdateRestApiPolicy
- s3:GetObject
- iam:PassRole
- read:
- - apigateway:GET
update:
- apigateway:GET
- apigateway:DELETE
@@ -1222,59 +1938,59 @@ components:
- apigateway:UpdateRestApiPolicy
- s3:GetObject
- iam:PassRole
- delete:
- - apigateway:DELETE
list:
- apigateway:GET
+ delete:
+ - apigateway:DELETE
Stage:
type: object
properties:
AccessLogSetting:
- description: Access log settings, including the access log format and access log destination ARN.
+ description: ''
$ref: '#/components/schemas/AccessLogSetting'
CacheClusterEnabled:
- description: Specifies whether a cache cluster is enabled for the stage.
+ description: ''
type: boolean
CacheClusterSize:
- description: The stage's cache capacity in GB. For more information about choosing a cache size, see [Enabling API caching to enhance responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html).
+ description: ''
type: string
CanarySetting:
- description: Settings for the canary deployment in this stage.
+ description: ''
$ref: '#/components/schemas/CanarySetting'
ClientCertificateId:
- description: The identifier of a client certificate for an API stage.
+ description: ''
type: string
DeploymentId:
- description: The identifier of the Deployment that the stage points to.
+ description: ''
type: string
Description:
- description: The stage's description.
+ description: ''
type: string
DocumentationVersion:
- description: The version of the associated API documentation.
+ description: ''
type: string
MethodSettings:
- description: A map that defines the method settings for a Stage resource. Keys (designated as ``/{method_setting_key`` below) are method paths defined as ``{resource_path}/{http_method}`` for an individual method override, or ``/\*/\*`` for overriding all methods in the stage.
+ description: ''
type: array
uniqueItems: true
x-insertionOrder: false
items:
$ref: '#/components/schemas/MethodSetting'
RestApiId:
- description: The string identifier of the associated RestApi.
+ description: ''
type: string
StageName:
- description: The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
+ description: ''
type: string
Tags:
- description: The collection of tags. Each tag element is associated with a given resource.
+ description: ''
type: array
uniqueItems: false
x-insertionOrder: false
items:
$ref: '#/components/schemas/Tag'
TracingEnabled:
- description: Specifies whether active tracing with X-ray is enabled for the Stage.
+ description: ''
type: boolean
Variables:
description: 'A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``.'
@@ -1286,12 +2002,26 @@ components:
required:
- RestApiId
x-stackql-resource-name: stage
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::Stage`` resource creates a stage for a deployment.
+ x-type-name: AWS::ApiGateway::Stage
+ x-stackql-primary-identifier:
- RestApiId
- StageName
x-create-only-properties:
- RestApiId
- StageName
+ x-required-properties:
+ - RestApiId
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - apigateway:PUT
+ - apigateway:DELETE
+ - apigateway:GET
x-required-permissions:
create:
- apigateway:POST
@@ -1315,18 +2045,18 @@ components:
properties:
ApiId:
type: string
- description: API Id of the associated API stage in a usage plan.
+ description: ''
Stage:
type: string
- description: API stage name of the associated API stage in a usage plan.
+ description: ''
Throttle:
type: object
- description: Map containing method level throttling information for API stage in a usage plan.
+ description: ''
additionalProperties: false
x-patternProperties:
.*:
$ref: '#/components/schemas/ThrottleSettings'
- description: API stage name of the associated API stage in a usage plan.
+ description: ''
ThrottleSettings:
type: object
additionalProperties: false
@@ -1334,11 +2064,11 @@ components:
BurstLimit:
type: integer
minimum: 0
- description: The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.
+ description: ''
RateLimit:
type: number
minimum: 0
- description: The API target request rate limit.
+ description: ''
description: '``ThrottleSettings`` is a property of the [AWS::ApiGateway::UsagePlan](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html) resource that specifies the overall request rate (average requests per second) and burst capacity when users call your REST APIs.'
QuotaSettings:
type: object
@@ -1347,14 +2077,14 @@ components:
Limit:
type: integer
minimum: 0
- description: The target maximum number of requests that can be made in a given time period.
+ description: ''
Offset:
type: integer
minimum: 0
- description: The number of requests subtracted from the given limit in the initial time period.
+ description: ''
Period:
type: string
- description: The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".
+ description: ''
description: |-
``QuotaSettings`` is a property of the [AWS::ApiGateway::UsagePlan](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html) resource that specifies a target for the maximum number of requests users can make to your REST APIs.
In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using [](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) to monitor costs and [](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to manage API requests.
@@ -1366,34 +2096,48 @@ components:
description: ''
ApiStages:
type: array
- description: The associated API stages of a usage plan.
+ description: ''
uniqueItems: true
items:
$ref: '#/components/schemas/ApiStage'
Description:
type: string
- description: The description of a usage plan.
+ description: ''
Quota:
$ref: '#/components/schemas/QuotaSettings'
- description: The target maximum number of permitted requests per a given unit time interval.
+ description: ''
Tags:
type: array
- description: The collection of tags. Each tag element is associated with a given resource.
+ description: ''
x-insertionOrder: false
uniqueItems: false
items:
$ref: '#/components/schemas/Tag'
Throttle:
$ref: '#/components/schemas/ThrottleSettings'
- description: A map containing method level throttling information for API stage in a usage plan.
+ description: ''
UsagePlanName:
type: string
- description: The name of a usage plan.
+ description: ''
x-stackql-resource-name: usage_plan
- x-stackql-primaryIdentifier:
+ description: |-
+ The ``AWS::ApiGateway::UsagePlan`` resource creates a usage plan for deployed APIs. A usage plan sets a target for the throttling and quota limits on individual client API keys. For more information, see [Creating and Using API Usage Plans in Amazon API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) in the *API Gateway Developer Guide*.
+ In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using [](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) to monitor costs and [](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to manage API requests.
+ x-type-name: AWS::ApiGateway::UsagePlan
+ x-stackql-primary-identifier:
- Id
x-read-only-properties:
- Id
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - apigateway:PUT
+ - apigateway:DELETE
+ - apigateway:GET
x-required-permissions:
create:
- apigateway:POST
@@ -1419,7 +2163,7 @@ components:
description: The Id of the UsagePlanKey resource.
type: string
KeyType:
- description: The type of a UsagePlanKey resource for a plan customer.
+ description: ''
type: string
enum:
- API_KEY
@@ -1434,7 +2178,9 @@ components:
- UsagePlanId
- KeyId
x-stackql-resource-name: usage_plan_key
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::UsagePlanKey`` resource associates an API key with a usage plan. This association determines which users the usage plan is applied to.
+ x-type-name: AWS::ApiGateway::UsagePlanKey
+ x-stackql-primary-identifier:
- Id
x-create-only-properties:
- KeyId
@@ -1442,6 +2188,12 @@ components:
- KeyType
x-read-only-properties:
- Id
+ x-required-properties:
+ - KeyType
+ - UsagePlanId
+ - KeyId
+ x-tagging:
+ taggable: false
x-required-permissions:
create:
- apigateway:POST
@@ -1457,38 +2209,49 @@ components:
type: object
properties:
Name:
- description: A name for the VPC link.
+ description: ''
type: string
Description:
- description: A description of the VPC link.
+ description: ''
type: string
Tags:
- description: An array of arbitrary tags (key-value pairs) to associate with the stage.
+ description: An array of arbitrary tags (key-value pairs) to associate with the VPC link.
x-insertionOrder: false
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/Tag'
TargetArns:
- description: The ARN of network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.
+ description: ''
type: array
uniqueItems: false
x-insertionOrder: false
items:
type: string
VpcLinkId:
- description: The ID of the instance that backs VPC link.
+ description: ''
type: string
required:
- Name
- TargetArns
x-stackql-resource-name: vpc_link
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGateway::VpcLink`` resource creates an API Gateway VPC link for a REST API to access resources in an Amazon Virtual Private Cloud (VPC). For more information, see [vpclink:create](https://docs.aws.amazon.com/apigateway/latest/api/API_CreateVpcLink.html) in the ``Amazon API Gateway REST API Reference``.
+ x-type-name: AWS::ApiGateway::VpcLink
+ x-stackql-primary-identifier:
- VpcLinkId
x-create-only-properties:
- TargetArns
x-read-only-properties:
- VpcLinkId
+ x-required-properties:
+ - Name
+ - TargetArns
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
x-required-permissions:
create:
- apigateway:POST
@@ -1526,18 +2289,1012 @@ components:
- ec2:DeleteVpcEndpointServiceConfigurations
- ec2:DescribeVpcEndpointServiceConfigurations
- ec2:ModifyVpcEndpointServicePermissions
+ CreateAccountRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Id:
+ description: ''
+ type: string
+ CloudWatchRoleArn:
+ description: ''
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateAccountRequest
+ type: object
+ required: []
+ CreateApiKeyRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ APIKeyId:
+ description: ''
+ type: string
+ CustomerId:
+ description: ''
+ type: string
+ Description:
+ description: ''
+ type: string
+ Enabled:
+ description: ''
+ default: false
+ type: boolean
+ GenerateDistinctId:
+ description: ''
+ type: boolean
+ Name:
+ description: |-
+ A name for the API key. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the API key name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).
+ If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
+ type: string
+ StageKeys:
+ description: ''
+ type: array
+ uniqueItems: true
+ items:
+ $ref: '#/components/schemas/StageKey'
+ Tags:
+ description: ''
+ type: array
+ uniqueItems: false
+ items:
+ $ref: '#/components/schemas/Tag'
+ Value:
+ description: ''
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateApiKeyRequest
+ type: object
+ required: []
+ CreateAuthorizerRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ RestApiId:
+ description: ''
+ type: string
+ AuthorizerId:
+ type: string
+ description: ''
+ AuthType:
+ description: ''
+ type: string
+ AuthorizerCredentials:
+ description: ''
+ type: string
+ AuthorizerResultTtlInSeconds:
+ description: ''
+ type: integer
+ AuthorizerUri:
+ description: ''
+ type: string
+ IdentitySource:
+ description: ''
+ type: string
+ IdentityValidationExpression:
+ description: ''
+ type: string
+ Name:
+ description: ''
+ type: string
+ ProviderARNs:
+ description: ''
+ type: array
+ uniqueItems: true
+ items:
+ type: string
+ x-insertionOrder: false
+ Type:
+ description: ''
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateAuthorizerRequest
+ type: object
+ required: []
+ CreateBasePathMappingRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ BasePath:
+ type: string
+ description: ''
+ DomainName:
+ type: string
+ description: ''
+ RestApiId:
+ type: string
+ description: ''
+ Stage:
+ type: string
+ description: ''
+ x-stackQL-stringOnly: true
+ x-title: CreateBasePathMappingRequest
+ type: object
+ required: []
+ CreateBasePathMappingV2Request:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ BasePath:
+ type: string
+ description: The base path name that callers of the API must provide in the URL after the domain name.
+ DomainNameArn:
+ type: string
+ description: The Arn of an AWS::ApiGateway::DomainNameV2 resource.
+ RestApiId:
+ type: string
+ description: The ID of the API.
+ Stage:
+ type: string
+ description: The name of the API's stage.
+ BasePathMappingArn:
+ type: string
+ description: Amazon Resource Name (ARN) of the resource.
+ x-stackQL-stringOnly: true
+ x-title: CreateBasePathMappingV2Request
+ type: object
+ required: []
+ CreateClientCertificateRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ClientCertificateId:
+ description: ''
+ type: string
+ Description:
+ description: ''
+ type: string
+ Tags:
+ description: ''
+ type: array
+ uniqueItems: false
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-stackQL-stringOnly: true
+ x-title: CreateClientCertificateRequest
+ type: object
+ required: []
+ CreateDeploymentRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ DeploymentId:
+ description: ''
+ type: string
+ Description:
+ description: ''
+ type: string
+ StageDescription:
+ description: The description of the Stage resource for the Deployment resource to create. To specify a stage description, you must also provide a stage name.
+ $ref: '#/components/schemas/StageDescription'
+ StageName:
+ description: ''
+ type: string
+ RestApiId:
+ description: ''
+ type: string
+ DeploymentCanarySettings:
+ description: ''
+ $ref: '#/components/schemas/DeploymentCanarySettings'
+ x-stackQL-stringOnly: true
+ x-title: CreateDeploymentRequest
+ type: object
+ required: []
+ CreateDocumentationPartRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ DocumentationPartId:
+ description: ''
+ type: string
+ Location:
+ description: ''
+ $ref: '#/components/schemas/Location'
+ Properties:
+ description: ''
+ type: string
+ RestApiId:
+ description: ''
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateDocumentationPartRequest
+ type: object
+ required: []
+ CreateDocumentationVersionRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Description:
+ description: ''
+ type: string
+ DocumentationVersion:
+ description: ''
+ type: string
+ minLength: 1
+ RestApiId:
+ description: ''
+ type: string
+ minLength: 1
+ x-stackQL-stringOnly: true
+ x-title: CreateDocumentationVersionRequest
+ type: object
+ required: []
+ CreateDomainNameRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ DomainName:
+ type: string
+ description: ''
+ DomainNameArn:
+ type: string
+ description: ''
+ DistributionDomainName:
+ type: string
+ description: ''
+ DistributionHostedZoneId:
+ type: string
+ description: ''
+ EndpointConfiguration:
+ $ref: '#/components/schemas/EndpointConfiguration'
+ description: ''
+ MutualTlsAuthentication:
+ $ref: '#/components/schemas/MutualTlsAuthentication'
+ description: ''
+ RegionalDomainName:
+ type: string
+ description: ''
+ RegionalHostedZoneId:
+ type: string
+ description: ''
+ CertificateArn:
+ type: string
+ description: ''
+ RegionalCertificateArn:
+ type: string
+ description: ''
+ OwnershipVerificationCertificateArn:
+ type: string
+ description: The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the RegionalCertificateArn.
+ SecurityPolicy:
+ type: string
+ description: ''
+ RoutingMode:
+ type: string
+ description: ''
+ default: BASE_PATH_MAPPING_ONLY
+ enum:
+ - BASE_PATH_MAPPING_ONLY
+ - ROUTING_RULE_THEN_BASE_PATH_MAPPING
+ - ROUTING_RULE_ONLY
+ Tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ description: ''
+ x-stackQL-stringOnly: true
+ x-title: CreateDomainNameRequest
+ type: object
+ required: []
+ CreateDomainNameAccessAssociationRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ DomainNameAccessAssociationArn:
+ type: string
+ description: The amazon resource name (ARN) of the domain name access association resource.
+ DomainNameArn:
+ type: string
+ description: The amazon resource name (ARN) of the domain name resource.
+ AccessAssociationSource:
+ type: string
+ description: The source of the domain name access association resource.
+ AccessAssociationSourceType:
+ type: string
+ description: The source type of the domain name access association resource.
+ enum:
+ - VPCE
+ Tags:
+ description: An array of arbitrary tags (key-value pairs) to associate with the domainname access association.
+ uniqueItems: false
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-stackQL-stringOnly: true
+ x-title: CreateDomainNameAccessAssociationRequest
+ type: object
+ required: []
+ CreateDomainNameV2Request:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ CertificateArn:
+ type: string
+ DomainName:
+ type: string
+ EndpointConfiguration:
+ $ref: '#/components/schemas/EndpointConfiguration'
+ SecurityPolicy:
+ type: string
+ Policy:
+ type: object
+ DomainNameId:
+ type: string
+ DomainNameArn:
+ type: string
+ description: The amazon resource name (ARN) of the domain name resource.
+ RoutingMode:
+ type: string
+ description: The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY]. All other inputs are invalid.
+ default: BASE_PATH_MAPPING_ONLY
+ enum:
+ - BASE_PATH_MAPPING_ONLY
+ - ROUTING_RULE_THEN_BASE_PATH_MAPPING
+ - ROUTING_RULE_ONLY
+ Tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-stackQL-stringOnly: true
+ x-title: CreateDomainNameV2Request
+ type: object
+ required: []
+ CreateGatewayResponseRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Id:
+ description: ''
+ type: string
+ RestApiId:
+ description: ''
+ type: string
+ ResponseType:
+ description: ''
+ type: string
+ StatusCode:
+ description: ''
+ type: string
+ ResponseParameters:
+ description: ''
+ type: object
+ additionalProperties: false
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: string
+ ResponseTemplates:
+ description: ''
+ type: object
+ additionalProperties: false
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateGatewayResponseRequest
+ type: object
+ required: []
+ CreateMethodRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Integration:
+ description: ''
+ $ref: '#/components/schemas/Integration'
+ OperationName:
+ description: ''
+ type: string
+ RequestModels:
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: string
+ description: ''
+ additionalProperties: false
+ type: object
+ RestApiId:
+ description: ''
+ type: string
+ AuthorizationScopes:
+ description: ''
+ type: array
+ items:
+ type: string
+ RequestValidatorId:
+ description: ''
+ type: string
+ RequestParameters:
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: boolean
+ description: ''
+ additionalProperties: false
+ type: object
+ MethodResponses:
+ uniqueItems: true
+ description: ''
+ type: array
+ items:
+ $ref: '#/components/schemas/MethodResponse'
+ AuthorizerId:
+ description: ''
+ type: string
+ ResourceId:
+ description: ''
+ type: string
+ ApiKeyRequired:
+ description: ''
+ type: boolean
+ AuthorizationType:
+ description: |-
+ The method's authorization type. This parameter is required. For valid values, see [Method](https://docs.aws.amazon.com/apigateway/latest/api/API_Method.html) in the *API Gateway API Reference*.
+ If you specify the ``AuthorizerId`` property, specify ``CUSTOM`` or ``COGNITO_USER_POOLS`` for this property.
+ type: string
+ HttpMethod:
+ description: ''
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateMethodRequest
+ type: object
+ required: []
+ CreateModelRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ContentType:
+ type: string
+ description: ''
+ Description:
+ type: string
+ description: ''
+ Name:
+ type: string
+ description: |-
+ A name for the model. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the model name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).
+ If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
+ RestApiId:
+ type: string
+ description: ''
+ Schema:
+ description: ''
+ type: object
+ x-stackQL-stringOnly: true
+ x-title: CreateModelRequest
+ type: object
+ required: []
+ CreateRequestValidatorRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ RequestValidatorId:
+ description: ''
+ type: string
+ Name:
+ description: ''
+ type: string
+ RestApiId:
+ description: ''
+ type: string
+ ValidateRequestBody:
+ description: ''
+ type: boolean
+ ValidateRequestParameters:
+ description: ''
+ type: boolean
+ x-stackQL-stringOnly: true
+ x-title: CreateRequestValidatorRequest
+ type: object
+ required: []
+ CreateResourceRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ParentId:
+ description: ''
+ type: string
+ PathPart:
+ description: ''
+ type: string
+ ResourceId:
+ description: ''
+ type: string
+ RestApiId:
+ description: ''
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateResourceRequest
+ type: object
+ required: []
+ CreateRestApiRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Policy:
+ description: A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"``.
+ type: object
+ BodyS3Location:
+ description: The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format.
+ $ref: '#/components/schemas/S3Location'
+ Description:
+ description: ''
+ type: string
+ MinimumCompressionSize:
+ description: ''
+ type: integer
+ Parameters:
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: string
+ description: ''
+ additionalProperties: false
+ type: object
+ CloneFrom:
+ description: ''
+ type: string
+ Mode:
+ description: |-
+ This property applies only when you use OpenAPI to define your REST API. The ``Mode`` determines how API Gateway handles resource updates.
+ Valid values are ``overwrite`` or ``merge``.
+ For ``overwrite``, the new API definition replaces the existing one. The existing API identifier remains unchanged.
+ For ``merge``, the new API definition is merged with the existing API.
+ If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is ``overwrite``. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API.
+ Use the default mode to define top-level ``RestApi`` properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
+ type: string
+ RestApiId:
+ description: ''
+ type: string
+ DisableExecuteApiEndpoint:
+ description: ''
+ type: boolean
+ FailOnWarnings:
+ description: ''
+ type: boolean
+ BinaryMediaTypes:
+ uniqueItems: true
+ description: ''
+ type: array
+ items:
+ type: string
+ Name:
+ description: The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
+ type: string
+ RootResourceId:
+ description: ''
+ type: string
+ ApiKeySourceType:
+ description: ''
+ type: string
+ EndpointConfiguration:
+ description: A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the ``Parameters`` property.
+ $ref: '#/components/schemas/EndpointConfiguration'
+ Body:
+ description: An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.
+ type: object
+ Tags:
+ uniqueItems: false
+ description: ''
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-stackQL-stringOnly: true
+ x-title: CreateRestApiRequest
+ type: object
+ required: []
+ CreateStageRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ AccessLogSetting:
+ description: ''
+ $ref: '#/components/schemas/AccessLogSetting'
+ CacheClusterEnabled:
+ description: ''
+ type: boolean
+ CacheClusterSize:
+ description: ''
+ type: string
+ CanarySetting:
+ description: ''
+ $ref: '#/components/schemas/CanarySetting'
+ ClientCertificateId:
+ description: ''
+ type: string
+ DeploymentId:
+ description: ''
+ type: string
+ Description:
+ description: ''
+ type: string
+ DocumentationVersion:
+ description: ''
+ type: string
+ MethodSettings:
+ description: ''
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/MethodSetting'
+ RestApiId:
+ description: ''
+ type: string
+ StageName:
+ description: ''
+ type: string
+ Tags:
+ description: ''
+ type: array
+ uniqueItems: false
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/Tag'
+ TracingEnabled:
+ description: ''
+ type: boolean
+ Variables:
+ description: 'A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``.'
+ type: object
+ additionalProperties: false
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateStageRequest
+ type: object
+ required: []
+ CreateUsagePlanRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Id:
+ type: string
+ description: ''
+ ApiStages:
+ type: array
+ description: ''
+ uniqueItems: true
+ items:
+ $ref: '#/components/schemas/ApiStage'
+ Description:
+ type: string
+ description: ''
+ Quota:
+ $ref: '#/components/schemas/QuotaSettings'
+ description: ''
+ Tags:
+ type: array
+ description: ''
+ x-insertionOrder: false
+ uniqueItems: false
+ items:
+ $ref: '#/components/schemas/Tag'
+ Throttle:
+ $ref: '#/components/schemas/ThrottleSettings'
+ description: ''
+ UsagePlanName:
+ type: string
+ description: ''
+ x-stackQL-stringOnly: true
+ x-title: CreateUsagePlanRequest
+ type: object
+ required: []
+ CreateUsagePlanKeyRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ KeyId:
+ description: The Id of the UsagePlanKey resource.
+ type: string
+ KeyType:
+ description: ''
+ type: string
+ enum:
+ - API_KEY
+ UsagePlanId:
+ description: The Id of the UsagePlan resource representing the usage plan containing the UsagePlanKey resource representing a plan customer.
+ type: string
+ Id:
+ description: ''
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateUsagePlanKeyRequest
+ type: object
+ required: []
+ CreateVpcLinkRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Name:
+ description: ''
+ type: string
+ Description:
+ description: ''
+ type: string
+ Tags:
+ description: An array of arbitrary tags (key-value pairs) to associate with the VPC link.
+ x-insertionOrder: false
+ uniqueItems: true
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ TargetArns:
+ description: ''
+ type: array
+ uniqueItems: false
+ x-insertionOrder: false
+ items:
+ type: string
+ VpcLinkId:
+ description: ''
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateVpcLinkRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
x-stackQL-resources:
- account:
- name: account
- id: awscc.apigateway.account
+ accounts:
+ name: accounts
+ id: awscc.apigateway.accounts
x-cfn-schema-name: Account
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::Account
x-identifiers:
- Id
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Account&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Account"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Account"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Account"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/accounts/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/accounts/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/accounts/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1548,7 +3305,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1562,38 +3319,61 @@ components:
name: api_keys
id: awscc.apigateway.api_keys
x-cfn-schema-name: ApiKey
- x-type: list
- x-identifiers:
- - APIKeyId
- config:
- views:
- select:
- predicate: sqlDialect == "sqlite3"
- ddl: |-
- SELECT
- region,
- JSON_EXTRACT(Properties, '$.APIKeyId') as api_key_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::ApiKey'
- AND region = 'us-east-1'
- fallback:
- predicate: sqlDialect == "postgres"
- ddl: |-
- SELECT
- region,
- json_extract_path_text(Properties, 'APIKeyId') as api_key_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::ApiKey'
- AND region = 'us-east-1'
- api_key:
- name: api_key
- id: awscc.apigateway.api_key
- x-cfn-schema-name: ApiKey
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::ApiKey
x-identifiers:
- APIKeyId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ApiKey&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::ApiKey"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::ApiKey"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::ApiKey"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/api_keys/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/api_keys/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/api_keys/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1611,7 +3391,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1628,14 +3408,19 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::ApiKey'
AND data__Identifier = ''
AND region = 'us-east-1'
- authorizers:
- name: authorizers
- id: awscc.apigateway.authorizers
- x-cfn-schema-name: Authorizer
- x-type: list
+ api_keys_list_only:
+ name: api_keys_list_only
+ id: awscc.apigateway.api_keys_list_only
+ x-cfn-schema-name: ApiKey
+ x-cfn-type-name: AWS::ApiGateway::ApiKey
x-identifiers:
- - RestApiId
- - AuthorizerId
+ - APIKeyId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -1643,31 +3428,77 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
- JSON_EXTRACT(Properties, '$.AuthorizerId') as authorizer_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Authorizer'
+ JSON_EXTRACT(Properties, '$.APIKeyId') as api_key_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::ApiKey'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
- json_extract_path_text(Properties, 'AuthorizerId') as authorizer_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Authorizer'
+ json_extract_path_text(Properties, 'APIKeyId') as api_key_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::ApiKey'
AND region = 'us-east-1'
- authorizer:
- name: authorizer
- id: awscc.apigateway.authorizer
+ authorizers:
+ name: authorizers
+ id: awscc.apigateway.authorizers
x-cfn-schema-name: Authorizer
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::Authorizer
x-identifiers:
- RestApiId
- AuthorizerId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Authorizer&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Authorizer"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Authorizer"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Authorizer"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/authorizers/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/authorizers/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/authorizers/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1687,7 +3518,7 @@ components:
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1706,14 +3537,138 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::Authorizer'
AND data__Identifier = '|'
AND region = 'us-east-1'
+ authorizers_list_only:
+ name: authorizers_list_only
+ id: awscc.apigateway.authorizers_list_only
+ x-cfn-schema-name: Authorizer
+ x-cfn-type-name: AWS::ApiGateway::Authorizer
+ x-identifiers:
+ - RestApiId
+ - AuthorizerId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
+ JSON_EXTRACT(Properties, '$.AuthorizerId') as authorizer_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Authorizer'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
+ json_extract_path_text(Properties, 'AuthorizerId') as authorizer_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Authorizer'
+ AND region = 'us-east-1'
base_path_mappings:
name: base_path_mappings
id: awscc.apigateway.base_path_mappings
x-cfn-schema-name: BasePathMapping
- x-type: list
+ x-cfn-type-name: AWS::ApiGateway::BasePathMapping
+ x-identifiers:
+ - DomainName
+ - BasePath
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__BasePathMapping&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::BasePathMapping"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::BasePathMapping"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::BasePathMapping"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/base_path_mappings/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/base_path_mappings/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/base_path_mappings/methods/update_resource'
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.BasePath') as base_path,
+ JSON_EXTRACT(Properties, '$.DomainName') as domain_name,
+ JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
+ JSON_EXTRACT(Properties, '$.Stage') as stage
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::BasePathMapping'
+ AND data__Identifier = '|'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'BasePath') as base_path,
+ json_extract_path_text(Properties, 'DomainName') as domain_name,
+ json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
+ json_extract_path_text(Properties, 'Stage') as stage
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::BasePathMapping'
+ AND data__Identifier = '|'
+ AND region = 'us-east-1'
+ base_path_mappings_list_only:
+ name: base_path_mappings_list_only
+ id: awscc.apigateway.base_path_mappings_list_only
+ x-cfn-schema-name: BasePathMapping
+ x-cfn-type-name: AWS::ApiGateway::BasePathMapping
x-identifiers:
- DomainName
- BasePath
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -1734,49 +3689,104 @@ components:
json_extract_path_text(Properties, 'BasePath') as base_path
FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::BasePathMapping'
AND region = 'us-east-1'
- base_path_mapping:
- name: base_path_mapping
- id: awscc.apigateway.base_path_mapping
- x-cfn-schema-name: BasePathMapping
- x-type: get
+ base_path_mapping_v2s:
+ name: base_path_mapping_v2s
+ id: awscc.apigateway.base_path_mapping_v2s
+ x-cfn-schema-name: BasePathMappingV2
+ x-cfn-type-name: AWS::ApiGateway::BasePathMappingV2
x-identifiers:
- - DomainName
- - BasePath
+ - BasePathMappingArn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__BasePathMappingV2&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::BasePathMappingV2"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::BasePathMappingV2"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::BasePathMappingV2"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/base_path_mapping_v2s/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/base_path_mapping_v2s/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/base_path_mapping_v2s/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
JSON_EXTRACT(Properties, '$.BasePath') as base_path,
- JSON_EXTRACT(Properties, '$.DomainName') as domain_name,
+ JSON_EXTRACT(Properties, '$.DomainNameArn') as domain_name_arn,
JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
- JSON_EXTRACT(Properties, '$.Stage') as stage
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::BasePathMapping'
- AND data__Identifier = '|'
+ JSON_EXTRACT(Properties, '$.Stage') as stage,
+ JSON_EXTRACT(Properties, '$.BasePathMappingArn') as base_path_mapping_arn
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::BasePathMappingV2'
+ AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
json_extract_path_text(Properties, 'BasePath') as base_path,
- json_extract_path_text(Properties, 'DomainName') as domain_name,
+ json_extract_path_text(Properties, 'DomainNameArn') as domain_name_arn,
json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
- json_extract_path_text(Properties, 'Stage') as stage
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::BasePathMapping'
- AND data__Identifier = '|'
+ json_extract_path_text(Properties, 'Stage') as stage,
+ json_extract_path_text(Properties, 'BasePathMappingArn') as base_path_mapping_arn
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::BasePathMappingV2'
+ AND data__Identifier = ''
AND region = 'us-east-1'
- client_certificates:
- name: client_certificates
- id: awscc.apigateway.client_certificates
- x-cfn-schema-name: ClientCertificate
- x-type: list
+ base_path_mapping_v2s_list_only:
+ name: base_path_mapping_v2s_list_only
+ id: awscc.apigateway.base_path_mapping_v2s_list_only
+ x-cfn-schema-name: BasePathMappingV2
+ x-cfn-type-name: AWS::ApiGateway::BasePathMappingV2
x-identifiers:
- - ClientCertificateId
+ - BasePathMappingArn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -1784,28 +3794,76 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.ClientCertificateId') as client_certificate_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::ClientCertificate'
+ JSON_EXTRACT(Properties, '$.BasePathMappingArn') as base_path_mapping_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::BasePathMappingV2'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'ClientCertificateId') as client_certificate_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::ClientCertificate'
+ json_extract_path_text(Properties, 'BasePathMappingArn') as base_path_mapping_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::BasePathMappingV2'
AND region = 'us-east-1'
- client_certificate:
- name: client_certificate
- id: awscc.apigateway.client_certificate
+ client_certificates:
+ name: client_certificates
+ id: awscc.apigateway.client_certificates
x-cfn-schema-name: ClientCertificate
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::ClientCertificate
x-identifiers:
- ClientCertificateId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ClientCertificate&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::ClientCertificate"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::ClientCertificate"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::ClientCertificate"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/client_certificates/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/client_certificates/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/client_certificates/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1817,7 +3875,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1828,14 +3886,19 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::ClientCertificate'
AND data__Identifier = ''
AND region = 'us-east-1'
- deployments:
- name: deployments
- id: awscc.apigateway.deployments
- x-cfn-schema-name: Deployment
- x-type: list
+ client_certificates_list_only:
+ name: client_certificates_list_only
+ id: awscc.apigateway.client_certificates_list_only
+ x-cfn-schema-name: ClientCertificate
+ x-cfn-type-name: AWS::ApiGateway::ClientCertificate
x-identifiers:
- - DeploymentId
- - RestApiId
+ - ClientCertificateId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -1843,67 +3906,119 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.DeploymentId') as deployment_id,
- JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Deployment'
+ JSON_EXTRACT(Properties, '$.ClientCertificateId') as client_certificate_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::ClientCertificate'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'DeploymentId') as deployment_id,
- json_extract_path_text(Properties, 'RestApiId') as rest_api_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Deployment'
+ json_extract_path_text(Properties, 'ClientCertificateId') as client_certificate_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::ClientCertificate'
AND region = 'us-east-1'
- deployment:
- name: deployment
- id: awscc.apigateway.deployment
+ deployments:
+ name: deployments
+ id: awscc.apigateway.deployments
x-cfn-schema-name: Deployment
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::Deployment
x-identifiers:
- DeploymentId
- RestApiId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Deployment&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Deployment"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Deployment"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Deployment"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/deployments/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/deployments/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/deployments/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
JSON_EXTRACT(Properties, '$.DeploymentId') as deployment_id,
- JSON_EXTRACT(Properties, '$.DeploymentCanarySettings') as deployment_canary_settings,
JSON_EXTRACT(Properties, '$.Description') as description,
- JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
JSON_EXTRACT(Properties, '$.StageDescription') as stage_description,
- JSON_EXTRACT(Properties, '$.StageName') as stage_name
+ JSON_EXTRACT(Properties, '$.StageName') as stage_name,
+ JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
+ JSON_EXTRACT(Properties, '$.DeploymentCanarySettings') as deployment_canary_settings
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::Deployment'
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
json_extract_path_text(Properties, 'DeploymentId') as deployment_id,
- json_extract_path_text(Properties, 'DeploymentCanarySettings') as deployment_canary_settings,
json_extract_path_text(Properties, 'Description') as description,
- json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
json_extract_path_text(Properties, 'StageDescription') as stage_description,
- json_extract_path_text(Properties, 'StageName') as stage_name
+ json_extract_path_text(Properties, 'StageName') as stage_name,
+ json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
+ json_extract_path_text(Properties, 'DeploymentCanarySettings') as deployment_canary_settings
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::Deployment'
AND data__Identifier = '|'
AND region = 'us-east-1'
- documentation_parts:
- name: documentation_parts
- id: awscc.apigateway.documentation_parts
- x-cfn-schema-name: DocumentationPart
- x-type: list
+ deployments_list_only:
+ name: deployments_list_only
+ id: awscc.apigateway.deployments_list_only
+ x-cfn-schema-name: Deployment
+ x-cfn-type-name: AWS::ApiGateway::Deployment
x-identifiers:
- - DocumentationPartId
+ - DeploymentId
- RestApiId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -1911,31 +4026,79 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.DocumentationPartId') as documentation_part_id,
+ JSON_EXTRACT(Properties, '$.DeploymentId') as deployment_id,
JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DocumentationPart'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Deployment'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'DocumentationPartId') as documentation_part_id,
+ json_extract_path_text(Properties, 'DeploymentId') as deployment_id,
json_extract_path_text(Properties, 'RestApiId') as rest_api_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DocumentationPart'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Deployment'
AND region = 'us-east-1'
- documentation_part:
- name: documentation_part
- id: awscc.apigateway.documentation_part
+ documentation_parts:
+ name: documentation_parts
+ id: awscc.apigateway.documentation_parts
x-cfn-schema-name: DocumentationPart
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::DocumentationPart
x-identifiers:
- DocumentationPartId
- RestApiId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DocumentationPart&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DocumentationPart"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DocumentationPart"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DocumentationPart"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/documentation_parts/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/documentation_parts/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/documentation_parts/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1948,7 +4111,7 @@ components:
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1960,14 +4123,20 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::DocumentationPart'
AND data__Identifier = '|'
AND region = 'us-east-1'
- documentation_versions:
- name: documentation_versions
- id: awscc.apigateway.documentation_versions
- x-cfn-schema-name: DocumentationVersion
- x-type: list
+ documentation_parts_list_only:
+ name: documentation_parts_list_only
+ id: awscc.apigateway.documentation_parts_list_only
+ x-cfn-schema-name: DocumentationPart
+ x-cfn-type-name: AWS::ApiGateway::DocumentationPart
x-identifiers:
- - DocumentationVersion
+ - DocumentationPartId
- RestApiId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -1975,31 +4144,79 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.DocumentationVersion') as documentation_version,
+ JSON_EXTRACT(Properties, '$.DocumentationPartId') as documentation_part_id,
JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DocumentationVersion'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DocumentationPart'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'DocumentationVersion') as documentation_version,
+ json_extract_path_text(Properties, 'DocumentationPartId') as documentation_part_id,
json_extract_path_text(Properties, 'RestApiId') as rest_api_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DocumentationVersion'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DocumentationPart'
AND region = 'us-east-1'
- documentation_version:
- name: documentation_version
- id: awscc.apigateway.documentation_version
+ documentation_versions:
+ name: documentation_versions
+ id: awscc.apigateway.documentation_versions
x-cfn-schema-name: DocumentationVersion
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::DocumentationVersion
x-identifiers:
- DocumentationVersion
- RestApiId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DocumentationVersion&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DocumentationVersion"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DocumentationVersion"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DocumentationVersion"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/documentation_versions/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/documentation_versions/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/documentation_versions/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2011,7 +4228,7 @@ components:
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2022,13 +4239,20 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::DocumentationVersion'
AND data__Identifier = '|'
AND region = 'us-east-1'
- domain_names:
- name: domain_names
- id: awscc.apigateway.domain_names
- x-cfn-schema-name: DomainName
- x-type: list
+ documentation_versions_list_only:
+ name: documentation_versions_list_only
+ id: awscc.apigateway.documentation_versions_list_only
+ x-cfn-schema-name: DocumentationVersion
+ x-cfn-type-name: AWS::ApiGateway::DocumentationVersion
x-identifiers:
- - DomainName
+ - DocumentationVersion
+ - RestApiId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -2036,33 +4260,84 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.DomainName') as domain_name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DomainName'
+ JSON_EXTRACT(Properties, '$.DocumentationVersion') as documentation_version,
+ JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DocumentationVersion'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'DomainName') as domain_name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DomainName'
+ json_extract_path_text(Properties, 'DocumentationVersion') as documentation_version,
+ json_extract_path_text(Properties, 'RestApiId') as rest_api_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DocumentationVersion'
AND region = 'us-east-1'
- domain_name:
- name: domain_name
- id: awscc.apigateway.domain_name
+ domain_names:
+ name: domain_names
+ id: awscc.apigateway.domain_names
x-cfn-schema-name: DomainName
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::DomainName
x-identifiers:
- DomainName
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DomainName&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DomainName"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DomainName"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DomainName"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/domain_names/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/domain_names/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/domain_names/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
JSON_EXTRACT(Properties, '$.DomainName') as domain_name,
+ JSON_EXTRACT(Properties, '$.DomainNameArn') as domain_name_arn,
JSON_EXTRACT(Properties, '$.DistributionDomainName') as distribution_domain_name,
JSON_EXTRACT(Properties, '$.DistributionHostedZoneId') as distribution_hosted_zone_id,
JSON_EXTRACT(Properties, '$.EndpointConfiguration') as endpoint_configuration,
@@ -2073,17 +4348,19 @@ components:
JSON_EXTRACT(Properties, '$.RegionalCertificateArn') as regional_certificate_arn,
JSON_EXTRACT(Properties, '$.OwnershipVerificationCertificateArn') as ownership_verification_certificate_arn,
JSON_EXTRACT(Properties, '$.SecurityPolicy') as security_policy,
+ JSON_EXTRACT(Properties, '$.RoutingMode') as routing_mode,
JSON_EXTRACT(Properties, '$.Tags') as tags
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::DomainName'
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
json_extract_path_text(Properties, 'DomainName') as domain_name,
+ json_extract_path_text(Properties, 'DomainNameArn') as domain_name_arn,
json_extract_path_text(Properties, 'DistributionDomainName') as distribution_domain_name,
json_extract_path_text(Properties, 'DistributionHostedZoneId') as distribution_hosted_zone_id,
json_extract_path_text(Properties, 'EndpointConfiguration') as endpoint_configuration,
@@ -2094,17 +4371,369 @@ components:
json_extract_path_text(Properties, 'RegionalCertificateArn') as regional_certificate_arn,
json_extract_path_text(Properties, 'OwnershipVerificationCertificateArn') as ownership_verification_certificate_arn,
json_extract_path_text(Properties, 'SecurityPolicy') as security_policy,
+ json_extract_path_text(Properties, 'RoutingMode') as routing_mode,
json_extract_path_text(Properties, 'Tags') as tags
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::DomainName'
AND data__Identifier = ''
AND region = 'us-east-1'
+ domain_names_list_only:
+ name: domain_names_list_only
+ id: awscc.apigateway.domain_names_list_only
+ x-cfn-schema-name: DomainName
+ x-cfn-type-name: AWS::ApiGateway::DomainName
+ x-identifiers:
+ - DomainName
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.DomainName') as domain_name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DomainName'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'DomainName') as domain_name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DomainName'
+ AND region = 'us-east-1'
+ domain_name_access_associations:
+ name: domain_name_access_associations
+ id: awscc.apigateway.domain_name_access_associations
+ x-cfn-schema-name: DomainNameAccessAssociation
+ x-cfn-type-name: AWS::ApiGateway::DomainNameAccessAssociation
+ x-identifiers:
+ - DomainNameAccessAssociationArn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DomainNameAccessAssociation&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DomainNameAccessAssociation"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DomainNameAccessAssociation"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/domain_name_access_associations/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/domain_name_access_associations/methods/delete_resource'
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.DomainNameAccessAssociationArn') as domain_name_access_association_arn,
+ JSON_EXTRACT(Properties, '$.DomainNameArn') as domain_name_arn,
+ JSON_EXTRACT(Properties, '$.AccessAssociationSource') as access_association_source,
+ JSON_EXTRACT(Properties, '$.AccessAssociationSourceType') as access_association_source_type,
+ JSON_EXTRACT(Properties, '$.Tags') as tags
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::DomainNameAccessAssociation'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'DomainNameAccessAssociationArn') as domain_name_access_association_arn,
+ json_extract_path_text(Properties, 'DomainNameArn') as domain_name_arn,
+ json_extract_path_text(Properties, 'AccessAssociationSource') as access_association_source,
+ json_extract_path_text(Properties, 'AccessAssociationSourceType') as access_association_source_type,
+ json_extract_path_text(Properties, 'Tags') as tags
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::DomainNameAccessAssociation'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ domain_name_access_associations_list_only:
+ name: domain_name_access_associations_list_only
+ id: awscc.apigateway.domain_name_access_associations_list_only
+ x-cfn-schema-name: DomainNameAccessAssociation
+ x-cfn-type-name: AWS::ApiGateway::DomainNameAccessAssociation
+ x-identifiers:
+ - DomainNameAccessAssociationArn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.DomainNameAccessAssociationArn') as domain_name_access_association_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DomainNameAccessAssociation'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'DomainNameAccessAssociationArn') as domain_name_access_association_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DomainNameAccessAssociation'
+ AND region = 'us-east-1'
+ domain_name_v2s:
+ name: domain_name_v2s
+ id: awscc.apigateway.domain_name_v2s
+ x-cfn-schema-name: DomainNameV2
+ x-cfn-type-name: AWS::ApiGateway::DomainNameV2
+ x-identifiers:
+ - DomainNameArn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DomainNameV2&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DomainNameV2"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DomainNameV2"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::DomainNameV2"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/domain_name_v2s/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/domain_name_v2s/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/domain_name_v2s/methods/update_resource'
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.CertificateArn') as certificate_arn,
+ JSON_EXTRACT(Properties, '$.DomainName') as domain_name,
+ JSON_EXTRACT(Properties, '$.EndpointConfiguration') as endpoint_configuration,
+ JSON_EXTRACT(Properties, '$.SecurityPolicy') as security_policy,
+ JSON_EXTRACT(Properties, '$.Policy') as policy,
+ JSON_EXTRACT(Properties, '$.DomainNameId') as domain_name_id,
+ JSON_EXTRACT(Properties, '$.DomainNameArn') as domain_name_arn,
+ JSON_EXTRACT(Properties, '$.RoutingMode') as routing_mode,
+ JSON_EXTRACT(Properties, '$.Tags') as tags
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::DomainNameV2'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'CertificateArn') as certificate_arn,
+ json_extract_path_text(Properties, 'DomainName') as domain_name,
+ json_extract_path_text(Properties, 'EndpointConfiguration') as endpoint_configuration,
+ json_extract_path_text(Properties, 'SecurityPolicy') as security_policy,
+ json_extract_path_text(Properties, 'Policy') as policy,
+ json_extract_path_text(Properties, 'DomainNameId') as domain_name_id,
+ json_extract_path_text(Properties, 'DomainNameArn') as domain_name_arn,
+ json_extract_path_text(Properties, 'RoutingMode') as routing_mode,
+ json_extract_path_text(Properties, 'Tags') as tags
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::DomainNameV2'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ domain_name_v2s_list_only:
+ name: domain_name_v2s_list_only
+ id: awscc.apigateway.domain_name_v2s_list_only
+ x-cfn-schema-name: DomainNameV2
+ x-cfn-type-name: AWS::ApiGateway::DomainNameV2
+ x-identifiers:
+ - DomainNameArn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.DomainNameArn') as domain_name_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DomainNameV2'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'DomainNameArn') as domain_name_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::DomainNameV2'
+ AND region = 'us-east-1'
gateway_responses:
name: gateway_responses
id: awscc.apigateway.gateway_responses
x-cfn-schema-name: GatewayResponse
- x-type: list
+ x-cfn-type-name: AWS::ApiGateway::GatewayResponse
+ x-identifiers:
+ - Id
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__GatewayResponse&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::GatewayResponse"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::GatewayResponse"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::GatewayResponse"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/gateway_responses/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/gateway_responses/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/gateway_responses/methods/update_resource'
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.Id') as id,
+ JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
+ JSON_EXTRACT(Properties, '$.ResponseType') as response_type,
+ JSON_EXTRACT(Properties, '$.StatusCode') as status_code,
+ JSON_EXTRACT(Properties, '$.ResponseParameters') as response_parameters,
+ JSON_EXTRACT(Properties, '$.ResponseTemplates') as response_templates
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::GatewayResponse'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'Id') as id,
+ json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
+ json_extract_path_text(Properties, 'ResponseType') as response_type,
+ json_extract_path_text(Properties, 'StatusCode') as status_code,
+ json_extract_path_text(Properties, 'ResponseParameters') as response_parameters,
+ json_extract_path_text(Properties, 'ResponseTemplates') as response_templates
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::GatewayResponse'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ gateway_responses_list_only:
+ name: gateway_responses_list_only
+ id: awscc.apigateway.gateway_responses_list_only
+ x-cfn-schema-name: GatewayResponse
+ x-cfn-type-name: AWS::ApiGateway::GatewayResponse
x-identifiers:
- Id
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -2123,58 +4752,106 @@ components:
json_extract_path_text(Properties, 'Id') as id
FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::GatewayResponse'
AND region = 'us-east-1'
- method:
- name: method
- id: awscc.apigateway.method
+ methods:
+ name: methods
+ id: awscc.apigateway.methods
x-cfn-schema-name: Method
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::Method
x-identifiers:
- RestApiId
- ResourceId
- HttpMethod
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Method&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Method"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Method"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Method"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/methods/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/methods/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/methods/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
- JSON_EXTRACT(Properties, '$.ApiKeyRequired') as api_key_required,
- JSON_EXTRACT(Properties, '$.AuthorizationScopes') as authorization_scopes,
- JSON_EXTRACT(Properties, '$.AuthorizationType') as authorization_type,
- JSON_EXTRACT(Properties, '$.AuthorizerId') as authorizer_id,
- JSON_EXTRACT(Properties, '$.HttpMethod') as http_method,
JSON_EXTRACT(Properties, '$.Integration') as integration,
- JSON_EXTRACT(Properties, '$.MethodResponses') as method_responses,
JSON_EXTRACT(Properties, '$.OperationName') as operation_name,
JSON_EXTRACT(Properties, '$.RequestModels') as request_models,
- JSON_EXTRACT(Properties, '$.RequestParameters') as request_parameters,
+ JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
+ JSON_EXTRACT(Properties, '$.AuthorizationScopes') as authorization_scopes,
JSON_EXTRACT(Properties, '$.RequestValidatorId') as request_validator_id,
+ JSON_EXTRACT(Properties, '$.RequestParameters') as request_parameters,
+ JSON_EXTRACT(Properties, '$.MethodResponses') as method_responses,
+ JSON_EXTRACT(Properties, '$.AuthorizerId') as authorizer_id,
JSON_EXTRACT(Properties, '$.ResourceId') as resource_id,
- JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id
+ JSON_EXTRACT(Properties, '$.ApiKeyRequired') as api_key_required,
+ JSON_EXTRACT(Properties, '$.AuthorizationType') as authorization_type,
+ JSON_EXTRACT(Properties, '$.HttpMethod') as http_method
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::Method'
AND data__Identifier = '||'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
- json_extract_path_text(Properties, 'ApiKeyRequired') as api_key_required,
- json_extract_path_text(Properties, 'AuthorizationScopes') as authorization_scopes,
- json_extract_path_text(Properties, 'AuthorizationType') as authorization_type,
- json_extract_path_text(Properties, 'AuthorizerId') as authorizer_id,
- json_extract_path_text(Properties, 'HttpMethod') as http_method,
json_extract_path_text(Properties, 'Integration') as integration,
- json_extract_path_text(Properties, 'MethodResponses') as method_responses,
json_extract_path_text(Properties, 'OperationName') as operation_name,
json_extract_path_text(Properties, 'RequestModels') as request_models,
- json_extract_path_text(Properties, 'RequestParameters') as request_parameters,
+ json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
+ json_extract_path_text(Properties, 'AuthorizationScopes') as authorization_scopes,
json_extract_path_text(Properties, 'RequestValidatorId') as request_validator_id,
+ json_extract_path_text(Properties, 'RequestParameters') as request_parameters,
+ json_extract_path_text(Properties, 'MethodResponses') as method_responses,
+ json_extract_path_text(Properties, 'AuthorizerId') as authorizer_id,
json_extract_path_text(Properties, 'ResourceId') as resource_id,
- json_extract_path_text(Properties, 'RestApiId') as rest_api_id
+ json_extract_path_text(Properties, 'ApiKeyRequired') as api_key_required,
+ json_extract_path_text(Properties, 'AuthorizationType') as authorization_type,
+ json_extract_path_text(Properties, 'HttpMethod') as http_method
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::Method'
AND data__Identifier = '||'
AND region = 'us-east-1'
@@ -2182,42 +4859,62 @@ components:
name: models
id: awscc.apigateway.models
x-cfn-schema-name: Model
- x-type: list
- x-identifiers:
- - RestApiId
- - Name
- config:
- views:
- select:
- predicate: sqlDialect == "sqlite3"
- ddl: |-
- SELECT
- region,
- JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
- JSON_EXTRACT(Properties, '$.Name') as name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Model'
- AND region = 'us-east-1'
- fallback:
- predicate: sqlDialect == "postgres"
- ddl: |-
- SELECT
- region,
- json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
- json_extract_path_text(Properties, 'Name') as name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Model'
- AND region = 'us-east-1'
- model:
- name: model
- id: awscc.apigateway.model
- x-cfn-schema-name: Model
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::Model
x-identifiers:
- RestApiId
- Name
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Model&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Model"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Model"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Model"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/models/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/models/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/models/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2231,7 +4928,7 @@ components:
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2244,14 +4941,20 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::Model'
AND data__Identifier = '|'
AND region = 'us-east-1'
- request_validators:
- name: request_validators
- id: awscc.apigateway.request_validators
- x-cfn-schema-name: RequestValidator
- x-type: list
+ models_list_only:
+ name: models_list_only
+ id: awscc.apigateway.models_list_only
+ x-cfn-schema-name: Model
+ x-cfn-type-name: AWS::ApiGateway::Model
x-identifiers:
- RestApiId
- - RequestValidatorId
+ - Name
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -2260,8 +4963,8 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
- JSON_EXTRACT(Properties, '$.RequestValidatorId') as request_validator_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::RequestValidator'
+ JSON_EXTRACT(Properties, '$.Name') as name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Model'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
@@ -2269,21 +4972,69 @@ components:
SELECT
region,
json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
- json_extract_path_text(Properties, 'RequestValidatorId') as request_validator_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::RequestValidator'
+ json_extract_path_text(Properties, 'Name') as name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Model'
AND region = 'us-east-1'
- request_validator:
- name: request_validator
- id: awscc.apigateway.request_validator
+ request_validators:
+ name: request_validators
+ id: awscc.apigateway.request_validators
x-cfn-schema-name: RequestValidator
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::RequestValidator
x-identifiers:
- RestApiId
- RequestValidatorId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RequestValidator&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::RequestValidator"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::RequestValidator"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::RequestValidator"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/request_validators/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/request_validators/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/request_validators/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2297,7 +5048,7 @@ components:
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2310,14 +5061,20 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::RequestValidator'
AND data__Identifier = '|'
AND region = 'us-east-1'
- resources:
- name: resources
- id: awscc.apigateway.resources
- x-cfn-schema-name: Resource
- x-type: list
+ request_validators_list_only:
+ name: request_validators_list_only
+ id: awscc.apigateway.request_validators_list_only
+ x-cfn-schema-name: RequestValidator
+ x-cfn-type-name: AWS::ApiGateway::RequestValidator
x-identifiers:
- RestApiId
- - ResourceId
+ - RequestValidatorId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -2326,8 +5083,8 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
- JSON_EXTRACT(Properties, '$.ResourceId') as resource_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Resource'
+ JSON_EXTRACT(Properties, '$.RequestValidatorId') as request_validator_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::RequestValidator'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
@@ -2335,52 +5092,107 @@ components:
SELECT
region,
json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
- json_extract_path_text(Properties, 'ResourceId') as resource_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Resource'
+ json_extract_path_text(Properties, 'RequestValidatorId') as request_validator_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::RequestValidator'
AND region = 'us-east-1'
- resource:
- name: resource
- id: awscc.apigateway.resource
+ resources:
+ name: resources
+ id: awscc.apigateway.resources
x-cfn-schema-name: Resource
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::Resource
x-identifiers:
- RestApiId
- ResourceId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Resource&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Resource"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Resource"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Resource"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/resources/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/resources/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/resources/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
- JSON_EXTRACT(Properties, '$.ResourceId') as resource_id,
- JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
JSON_EXTRACT(Properties, '$.ParentId') as parent_id,
- JSON_EXTRACT(Properties, '$.PathPart') as path_part
+ JSON_EXTRACT(Properties, '$.PathPart') as path_part,
+ JSON_EXTRACT(Properties, '$.ResourceId') as resource_id,
+ JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::Resource'
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
- json_extract_path_text(Properties, 'ResourceId') as resource_id,
- json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
json_extract_path_text(Properties, 'ParentId') as parent_id,
- json_extract_path_text(Properties, 'PathPart') as path_part
+ json_extract_path_text(Properties, 'PathPart') as path_part,
+ json_extract_path_text(Properties, 'ResourceId') as resource_id,
+ json_extract_path_text(Properties, 'RestApiId') as rest_api_id
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::Resource'
AND data__Identifier = '|'
AND region = 'us-east-1'
- rest_apis:
- name: rest_apis
- id: awscc.apigateway.rest_apis
- x-cfn-schema-name: RestApi
- x-type: list
+ resources_list_only:
+ name: resources_list_only
+ id: awscc.apigateway.resources_list_only
+ x-cfn-schema-name: Resource
+ x-cfn-type-name: AWS::ApiGateway::Resource
x-identifiers:
- RestApiId
+ - ResourceId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -2388,86 +5200,141 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::RestApi'
+ JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
+ JSON_EXTRACT(Properties, '$.ResourceId') as resource_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Resource'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'RestApiId') as rest_api_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::RestApi'
+ json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
+ json_extract_path_text(Properties, 'ResourceId') as resource_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Resource'
AND region = 'us-east-1'
- rest_api:
- name: rest_api
- id: awscc.apigateway.rest_api
+ rest_apis:
+ name: rest_apis
+ id: awscc.apigateway.rest_apis
x-cfn-schema-name: RestApi
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::RestApi
x-identifiers:
- RestApiId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RestApi&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::RestApi"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::RestApi"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::RestApi"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/rest_apis/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/rest_apis/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/rest_apis/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
- JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
- JSON_EXTRACT(Properties, '$.RootResourceId') as root_resource_id,
- JSON_EXTRACT(Properties, '$.ApiKeySourceType') as api_key_source_type,
- JSON_EXTRACT(Properties, '$.BinaryMediaTypes') as binary_media_types,
- JSON_EXTRACT(Properties, '$.Body') as body,
+ JSON_EXTRACT(Properties, '$.Policy') as policy,
JSON_EXTRACT(Properties, '$.BodyS3Location') as body_s3_location,
- JSON_EXTRACT(Properties, '$.CloneFrom') as clone_from,
- JSON_EXTRACT(Properties, '$.EndpointConfiguration') as endpoint_configuration,
JSON_EXTRACT(Properties, '$.Description') as description,
+ JSON_EXTRACT(Properties, '$.MinimumCompressionSize') as minimum_compression_size,
+ JSON_EXTRACT(Properties, '$.Parameters') as parameters,
+ JSON_EXTRACT(Properties, '$.CloneFrom') as clone_from,
+ JSON_EXTRACT(Properties, '$.Mode') as mode,
+ JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
JSON_EXTRACT(Properties, '$.DisableExecuteApiEndpoint') as disable_execute_api_endpoint,
JSON_EXTRACT(Properties, '$.FailOnWarnings') as fail_on_warnings,
+ JSON_EXTRACT(Properties, '$.BinaryMediaTypes') as binary_media_types,
JSON_EXTRACT(Properties, '$.Name') as name,
- JSON_EXTRACT(Properties, '$.MinimumCompressionSize') as minimum_compression_size,
- JSON_EXTRACT(Properties, '$.Mode') as mode,
- JSON_EXTRACT(Properties, '$.Policy') as policy,
- JSON_EXTRACT(Properties, '$.Parameters') as parameters,
+ JSON_EXTRACT(Properties, '$.RootResourceId') as root_resource_id,
+ JSON_EXTRACT(Properties, '$.ApiKeySourceType') as api_key_source_type,
+ JSON_EXTRACT(Properties, '$.EndpointConfiguration') as endpoint_configuration,
+ JSON_EXTRACT(Properties, '$.Body') as body,
JSON_EXTRACT(Properties, '$.Tags') as tags
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::RestApi'
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
- json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
- json_extract_path_text(Properties, 'RootResourceId') as root_resource_id,
- json_extract_path_text(Properties, 'ApiKeySourceType') as api_key_source_type,
- json_extract_path_text(Properties, 'BinaryMediaTypes') as binary_media_types,
- json_extract_path_text(Properties, 'Body') as body,
+ json_extract_path_text(Properties, 'Policy') as policy,
json_extract_path_text(Properties, 'BodyS3Location') as body_s3_location,
- json_extract_path_text(Properties, 'CloneFrom') as clone_from,
- json_extract_path_text(Properties, 'EndpointConfiguration') as endpoint_configuration,
json_extract_path_text(Properties, 'Description') as description,
+ json_extract_path_text(Properties, 'MinimumCompressionSize') as minimum_compression_size,
+ json_extract_path_text(Properties, 'Parameters') as parameters,
+ json_extract_path_text(Properties, 'CloneFrom') as clone_from,
+ json_extract_path_text(Properties, 'Mode') as mode,
+ json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
json_extract_path_text(Properties, 'DisableExecuteApiEndpoint') as disable_execute_api_endpoint,
json_extract_path_text(Properties, 'FailOnWarnings') as fail_on_warnings,
+ json_extract_path_text(Properties, 'BinaryMediaTypes') as binary_media_types,
json_extract_path_text(Properties, 'Name') as name,
- json_extract_path_text(Properties, 'MinimumCompressionSize') as minimum_compression_size,
- json_extract_path_text(Properties, 'Mode') as mode,
- json_extract_path_text(Properties, 'Policy') as policy,
- json_extract_path_text(Properties, 'Parameters') as parameters,
+ json_extract_path_text(Properties, 'RootResourceId') as root_resource_id,
+ json_extract_path_text(Properties, 'ApiKeySourceType') as api_key_source_type,
+ json_extract_path_text(Properties, 'EndpointConfiguration') as endpoint_configuration,
+ json_extract_path_text(Properties, 'Body') as body,
json_extract_path_text(Properties, 'Tags') as tags
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::RestApi'
AND data__Identifier = ''
AND region = 'us-east-1'
- stages:
- name: stages
- id: awscc.apigateway.stages
- x-cfn-schema-name: Stage
- x-type: list
+ rest_apis_list_only:
+ name: rest_apis_list_only
+ id: awscc.apigateway.rest_apis_list_only
+ x-cfn-schema-name: RestApi
+ x-cfn-type-name: AWS::ApiGateway::RestApi
x-identifiers:
- RestApiId
- - StageName
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -2475,31 +5342,77 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
- JSON_EXTRACT(Properties, '$.StageName') as stage_name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Stage'
+ JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::RestApi'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
- json_extract_path_text(Properties, 'StageName') as stage_name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Stage'
+ json_extract_path_text(Properties, 'RestApiId') as rest_api_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::RestApi'
AND region = 'us-east-1'
- stage:
- name: stage
- id: awscc.apigateway.stage
+ stages:
+ name: stages
+ id: awscc.apigateway.stages
x-cfn-schema-name: Stage
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::Stage
x-identifiers:
- RestApiId
- StageName
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Stage&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Stage"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Stage"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::Stage"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/stages/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/stages/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/stages/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2522,7 +5435,7 @@ components:
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2544,13 +5457,20 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::Stage'
AND data__Identifier = '|'
AND region = 'us-east-1'
- usage_plans:
- name: usage_plans
- id: awscc.apigateway.usage_plans
- x-cfn-schema-name: UsagePlan
- x-type: list
+ stages_list_only:
+ name: stages_list_only
+ id: awscc.apigateway.stages_list_only
+ x-cfn-schema-name: Stage
+ x-cfn-type-name: AWS::ApiGateway::Stage
x-identifiers:
- - Id
+ - RestApiId
+ - StageName
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -2558,28 +5478,78 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::UsagePlan'
+ JSON_EXTRACT(Properties, '$.RestApiId') as rest_api_id,
+ JSON_EXTRACT(Properties, '$.StageName') as stage_name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Stage'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::UsagePlan'
+ json_extract_path_text(Properties, 'RestApiId') as rest_api_id,
+ json_extract_path_text(Properties, 'StageName') as stage_name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::Stage'
AND region = 'us-east-1'
- usage_plan:
- name: usage_plan
- id: awscc.apigateway.usage_plan
+ usage_plans:
+ name: usage_plans
+ id: awscc.apigateway.usage_plans
x-cfn-schema-name: UsagePlan
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::UsagePlan
x-identifiers:
- Id
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__UsagePlan&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::UsagePlan"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::UsagePlan"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::UsagePlan"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/usage_plans/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/usage_plans/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/usage_plans/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2595,7 +5565,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2610,13 +5580,19 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::UsagePlan'
AND data__Identifier = ''
AND region = 'us-east-1'
- usage_plan_keys:
- name: usage_plan_keys
- id: awscc.apigateway.usage_plan_keys
- x-cfn-schema-name: UsagePlanKey
- x-type: list
+ usage_plans_list_only:
+ name: usage_plans_list_only
+ id: awscc.apigateway.usage_plans_list_only
+ x-cfn-schema-name: UsagePlan
+ x-cfn-type-name: AWS::ApiGateway::UsagePlan
x-identifiers:
- Id
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -2625,7 +5601,7 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::UsagePlanKey'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::UsagePlan'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
@@ -2633,19 +5609,54 @@ components:
SELECT
region,
json_extract_path_text(Properties, 'Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::UsagePlanKey'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::UsagePlan'
AND region = 'us-east-1'
- usage_plan_key:
- name: usage_plan_key
- id: awscc.apigateway.usage_plan_key
+ usage_plan_keys:
+ name: usage_plan_keys
+ id: awscc.apigateway.usage_plan_keys
x-cfn-schema-name: UsagePlanKey
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::UsagePlanKey
x-identifiers:
- Id
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__UsagePlanKey&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::UsagePlanKey"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::UsagePlanKey"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/usage_plan_keys/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/usage_plan_keys/methods/delete_resource'
+ update: []
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2658,7 +5669,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2670,13 +5681,19 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::UsagePlanKey'
AND data__Identifier = ''
AND region = 'us-east-1'
- vpc_links:
- name: vpc_links
- id: awscc.apigateway.vpc_links
- x-cfn-schema-name: VpcLink
- x-type: list
+ usage_plan_keys_list_only:
+ name: usage_plan_keys_list_only
+ id: awscc.apigateway.usage_plan_keys_list_only
+ x-cfn-schema-name: UsagePlanKey
+ x-cfn-type-name: AWS::ApiGateway::UsagePlanKey
x-identifiers:
- - VpcLinkId
+ - Id
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -2684,28 +5701,76 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.VpcLinkId') as vpc_link_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::VpcLink'
+ JSON_EXTRACT(Properties, '$.Id') as id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::UsagePlanKey'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'VpcLinkId') as vpc_link_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::VpcLink'
+ json_extract_path_text(Properties, 'Id') as id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::UsagePlanKey'
AND region = 'us-east-1'
- vpc_link:
- name: vpc_link
- id: awscc.apigateway.vpc_link
+ vpc_links:
+ name: vpc_links
+ id: awscc.apigateway.vpc_links
x-cfn-schema-name: VpcLink
- x-type: get
+ x-cfn-type-name: AWS::ApiGateway::VpcLink
x-identifiers:
- VpcLinkId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VpcLink&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::VpcLink"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::VpcLink"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGateway::VpcLink"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/vpc_links/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/vpc_links/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/vpc_links/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2719,7 +5784,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2732,3 +5797,1111 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGateway::VpcLink'
AND data__Identifier = ''
AND region = 'us-east-1'
+ vpc_links_list_only:
+ name: vpc_links_list_only
+ id: awscc.apigateway.vpc_links_list_only
+ x-cfn-schema-name: VpcLink
+ x-cfn-type-name: AWS::ApiGateway::VpcLink
+ x-identifiers:
+ - VpcLinkId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.VpcLinkId') as vpc_link_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::VpcLink'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'VpcLinkId') as vpc_link_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGateway::VpcLink'
+ AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Account&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateAccount
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateAccountRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__ApiKey&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateApiKey
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateApiKeyRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Authorizer&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateAuthorizer
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateAuthorizerRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__BasePathMapping&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateBasePathMapping
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateBasePathMappingRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__BasePathMappingV2&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateBasePathMappingV2
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateBasePathMappingV2Request'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__ClientCertificate&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateClientCertificate
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateClientCertificateRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Deployment&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateDeployment
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateDeploymentRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__DocumentationPart&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateDocumentationPart
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateDocumentationPartRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__DocumentationVersion&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateDocumentationVersion
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateDocumentationVersionRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__DomainName&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateDomainName
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateDomainNameRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__DomainNameAccessAssociation&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateDomainNameAccessAssociation
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateDomainNameAccessAssociationRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__DomainNameV2&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateDomainNameV2
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateDomainNameV2Request'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__GatewayResponse&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateGatewayResponse
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateGatewayResponseRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Method&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateMethod
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateMethodRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Model&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateModel
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateModelRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__RequestValidator&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateRequestValidator
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateRequestValidatorRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Resource&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateResourceRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__RestApi&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateRestApi
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateRestApiRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Stage&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateStage
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateStageRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__UsagePlan&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateUsagePlan
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateUsagePlanRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__UsagePlanKey&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateUsagePlanKey
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateUsagePlanKeyRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__VpcLink&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateVpcLink
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateVpcLinkRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/apigatewayv2.yaml b/providers/src/awscc/v00.00.00000/services/apigatewayv2.yaml
index 0c179f45..4ecb7a84 100644
--- a/providers/src/awscc/v00.00.00000/services/apigatewayv2.yaml
+++ b/providers/src/awscc/v00.00.00000/services/apigatewayv2.yaml
@@ -1,9 +1,389 @@
openapi: 3.0.0
info:
title: ApiGatewayV2
- version: 1.0.0
-paths: {}
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
schemas:
BodyS3Location:
type: object
@@ -63,21 +443,38 @@ components:
RouteSelectionExpression:
type: string
description: The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.
+ Body:
+ type: object
+ description: The OpenAPI definition. Supported only for HTTP APIs. To import an HTTP API, you must specify a ``Body`` or ``BodyS3Location``. If you specify a ``Body`` or ``BodyS3Location``, don't specify CloudFormation resources such as ``AWS::ApiGatewayV2::Authorizer`` or ``AWS::ApiGatewayV2::Route``. API Gateway doesn't support the combination of OpenAPI and CloudFormation resources.
BodyS3Location:
$ref: '#/components/schemas/BodyS3Location'
description: The S3 location of an OpenAPI definition. Supported only for HTTP APIs. To import an HTTP API, you must specify a ``Body`` or ``BodyS3Location``. If you specify a ``Body`` or ``BodyS3Location``, don't specify CloudFormation resources such as ``AWS::ApiGatewayV2::Authorizer`` or ``AWS::ApiGatewayV2::Route``. API Gateway doesn't support the combination of OpenAPI and CloudFormation resources.
- Description:
- type: string
- description: The description of the API.
- ApiEndpoint:
- type: string
- description: ''
BasePath:
type: string
description: Specifies how to interpret the base path of the API during import. Valid values are ``ignore``, ``prepend``, and ``split``. The default value is ``ignore``. To learn more, see [Set the OpenAPI basePath Property](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api-basePath.html). Supported only for HTTP APIs.
+ CredentialsArn:
+ type: string
+ description: >-
+ This property is part of quick create. It specifies the credentials required for the integration, if any. For a Lambda integration, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify ``arn:aws:iam::*:user/*``. To use resource-based permissions on supported AWS services, specify ``null``. Currently, this property is not used for HTTP
+ integrations. Supported only for HTTP APIs.
+ CorsConfiguration:
+ $ref: '#/components/schemas/Cors'
+ description: A CORS configuration. Supported only for HTTP APIs. See [Configuring CORS](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) for more information.
+ RouteKey:
+ type: string
+ description: This property is part of quick create. If you don't specify a ``routeKey``, a default route of ``$default`` is created. The ``$default`` route acts as a catch-all for any request made to your API, for a particular stage. The ``$default`` route key can't be modified. You can add routes after creating the API, and you can update the route keys of additional routes. Supported only for HTTP APIs.
+ Target:
+ type: string
+ description: This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs.
FailOnWarnings:
type: boolean
description: Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
+ ApiEndpoint:
+ type: string
+ description: ''
+ Description:
+ type: string
+ description: The description of the API.
DisableExecuteApiEndpoint:
type: boolean
description: Specifies whether clients can invoke your API by using the default ``execute-api`` endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
@@ -87,32 +484,15 @@ components:
Name:
type: string
description: The name of the API. Required unless you specify an OpenAPI definition for ``Body`` or ``S3BodyLocation``.
- Target:
- type: string
- description: This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs.
- CredentialsArn:
- type: string
- description: >-
- This property is part of quick create. It specifies the credentials required for the integration, if any. For a Lambda integration, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify ``arn:aws:iam::*:user/*``. To use resource-based permissions on supported AWS services, specify ``null``. Currently, this property is not used for HTTP
- integrations. Supported only for HTTP APIs.
- CorsConfiguration:
- $ref: '#/components/schemas/Cors'
- description: A CORS configuration. Supported only for HTTP APIs. See [Configuring CORS](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) for more information.
Version:
type: string
description: A version identifier for the API.
ProtocolType:
type: string
description: The API protocol. Valid values are ``WEBSOCKET`` or ``HTTP``. Required unless you specify an OpenAPI definition for ``Body`` or ``S3BodyLocation``.
- RouteKey:
- type: string
- description: This property is part of quick create. If you don't specify a ``routeKey``, a default route of ``$default`` is created. The ``$default`` route acts as a catch-all for any request made to your API, for a particular stage. The ``$default`` route key can't be modified. You can add routes after creating the API, and you can update the route keys of additional routes. Supported only for HTTP APIs.
ApiId:
type: string
description: ''
- Body:
- type: object
- description: The OpenAPI definition. Supported only for HTTP APIs. To import an HTTP API, you must specify a ``Body`` or ``BodyS3Location``. If you specify a ``Body`` or ``BodyS3Location``, don't specify CloudFormation resources such as ``AWS::ApiGatewayV2::Authorizer`` or ``AWS::ApiGatewayV2::Route``. API Gateway doesn't support the combination of OpenAPI and CloudFormation resources.
Tags:
type: object
description: The collection of tags. Each tag element is associated with a given resource.
@@ -123,14 +503,38 @@ components:
ApiKeySelectionExpression:
type: string
description: An API key selection expression. Supported only for WebSocket APIs. See [API Key Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions).
+ IpAddressType:
+ type: string
+ description: ''
x-stackql-resource-name: api
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGatewayV2::Api`` resource creates an API. WebSocket APIs and HTTP APIs are supported. For more information about WebSocket APIs, see [About WebSocket APIs in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-overview.html) in the *API Gateway Developer Guide*. For more information about HTTP APIs, see [HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html) in the *API Gateway Developer Guide.*
+ x-type-name: AWS::ApiGatewayV2::Api
+ x-stackql-primary-identifier:
- ApiId
x-create-only-properties:
- ProtocolType
+ x-write-only-properties:
+ - Body
+ - BasePath
+ - BodyS3Location
+ - BodyS3Location/Etag
+ - BodyS3Location/Bucket
+ - BodyS3Location/Version
+ - BodyS3Location/Key
+ - CredentialsArn
+ - FailOnWarnings
+ - RouteKey
+ - Target
+ - DisableSchemaValidation
x-read-only-properties:
- ApiId
- ApiEndpoint
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
x-required-permissions:
create:
- apigateway:POST
@@ -175,13 +579,26 @@ components:
- Stage
- ApiId
x-stackql-resource-name: api_mapping
- x-stackql-primaryIdentifier:
+ description: >-
+ The ``AWS::ApiGatewayV2::ApiMapping`` resource contains an API mapping. An API mapping relates a path of your custom domain name to a stage of your API. A custom domain name can have multiple API mappings, but the paths can't overlap. A custom domain can map only to APIs of the same protocol type. For more information, see [CreateApiMapping](https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#CreateApiMapping) in the *Amazon API Gateway
+ V2 API Reference*.
+ x-type-name: AWS::ApiGatewayV2::ApiMapping
+ x-stackql-primary-identifier:
- ApiMappingId
- DomainName
x-create-only-properties:
- DomainName
x-read-only-properties:
- ApiMappingId
+ x-required-properties:
+ - DomainName
+ - Stage
+ - ApiId
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
create:
- apigateway:POST
@@ -226,12 +643,6 @@ components:
AuthorizerType:
type: string
description: The authorizer type. Specify ``REQUEST`` for a Lambda function using incoming request parameters. Specify ``JWT`` to use JSON Web Tokens (supported only for HTTP APIs).
- JwtConfiguration:
- $ref: '#/components/schemas/JWTConfiguration'
- description: The ``JWTConfiguration`` property specifies the configuration of a JWT authorizer. Required for the ``JWT`` authorizer type. Supported only for HTTP APIs.
- AuthorizerResultTtlInSeconds:
- type: integer
- description: The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
IdentitySource:
type: array
uniqueItems: false
@@ -241,15 +652,21 @@ components:
The identity source for which authorization is requested.
For a ``REQUEST`` authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. The identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with ``$``, for example, ``$request.header.Auth``, ``$request.querystring.Name``. These parameters are used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, not null, and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized response without calling the Lambda function. For HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see [Working with Lambda authorizers for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html).
For ``JWT``, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example ``$request.header.Authorization``.
+ JwtConfiguration:
+ $ref: '#/components/schemas/JWTConfiguration'
+ description: The ``JWTConfiguration`` property specifies the configuration of a JWT authorizer. Required for the ``JWT`` authorizer type. Supported only for HTTP APIs.
+ AuthorizerResultTtlInSeconds:
+ type: integer
+ description: The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
AuthorizerPayloadFormatVersion:
type: string
description: Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are ``1.0`` and ``2.0``. To learn more, see [Working with Lambda authorizers for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html).
- ApiId:
- type: string
- description: The API identifier.
EnableSimpleResponses:
type: boolean
description: Specifies whether a Lambda authorizer returns a response in a simple format. By default, a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see [Working with Lambda authorizers for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html).
+ ApiId:
+ type: string
+ description: The API identifier.
AuthorizerId:
type: string
description: ''
@@ -261,13 +678,32 @@ components:
- ApiId
- Name
x-stackql-resource-name: authorizer
- x-stackql-primaryIdentifier:
+ description: >-
+ The ``AWS::ApiGatewayV2::Authorizer`` resource creates an authorizer for a WebSocket API or an HTTP API. To learn more, see [Controlling and managing access to a WebSocket API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-control-access.html) and [Controlling and managing access to an HTTP API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-access-control.html) in the *API Gateway Developer
+ Guide*.
+ x-type-name: AWS::ApiGatewayV2::Authorizer
+ x-stackql-primary-identifier:
- AuthorizerId
- ApiId
x-create-only-properties:
- ApiId
+ x-write-only-properties:
+ - AuthorizerPayloadFormatVersion
+ - AuthorizerResultTtlInSeconds
+ - EnableSimpleResponses
+ - AuthorizerCredentialsArn
+ - AuthorizerUri
x-read-only-properties:
- AuthorizerId
+ x-required-properties:
+ - AuthorizerType
+ - ApiId
+ - Name
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
create:
- apigateway:POST
@@ -302,13 +738,25 @@ components:
required:
- ApiId
x-stackql-resource-name: deployment
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGatewayV2::Deployment`` resource creates a deployment for an API.
+ x-type-name: AWS::ApiGatewayV2::Deployment
+ x-stackql-primary-identifier:
- ApiId
- DeploymentId
x-create-only-properties:
- ApiId
+ x-write-only-properties:
+ - StageName
x-read-only-properties:
- DeploymentId
+ x-required-properties:
+ - ApiId
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
x-required-permissions:
create:
- apigateway:POST
@@ -353,9 +801,12 @@ components:
CertificateArn:
type: string
description: An AWS-managed certificate that will be used by the edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.
+ IpAddressType:
+ type: string
+ description: ''
description: |-
The ``DomainNameConfiguration`` property type specifies the configuration for an API's domain name.
- ``DomainNameConfiguration`` is a property of the [AWS::ApiGatewayV2::DomainName](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html) resource.
+ ``DomainNameConfiguration`` is a property of the [AWS::ApiGatewayV2::DomainName](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html) resource.
DomainName:
type: object
properties:
@@ -368,8 +819,11 @@ components:
RegionalDomainName:
description: ''
type: string
+ DomainNameArn:
+ description: ''
+ type: string
DomainName:
- description: The custom domain name for your API in Amazon API Gateway. Uppercase letters are not supported.
+ description: The custom domain name for your API in Amazon API Gateway. Uppercase letters and the underscore (``_``) character are not supported.
type: string
DomainNameConfigurations:
description: The domain name configurations.
@@ -377,6 +831,14 @@ components:
uniqueItems: false
items:
$ref: '#/components/schemas/DomainNameConfiguration'
+ RoutingMode:
+ type: string
+ description: ''
+ default: API_MAPPING_ONLY
+ enum:
+ - API_MAPPING_ONLY
+ - ROUTING_RULE_THEN_API_MAPPING
+ - ROUTING_RULE_ONLY
Tags:
type: object
description: The collection of tags associated with a domain name.
@@ -387,13 +849,26 @@ components:
required:
- DomainName
x-stackql-resource-name: domain_name
- x-stackql-primaryIdentifier:
+ description: |-
+ The ``AWS::ApiGatewayV2::DomainName`` resource specifies a custom domain name for your API in Amazon API Gateway (API Gateway).
+ You can use a custom domain name to provide a URL that's more intuitive and easier to recall. For more information about using custom domain names, see [Set up Custom Domain Name for an API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) in the *API Gateway Developer Guide*.
+ x-type-name: AWS::ApiGatewayV2::DomainName
+ x-stackql-primary-identifier:
- DomainName
x-create-only-properties:
- DomainName
x-read-only-properties:
- RegionalDomainName
- RegionalHostedZoneId
+ - DomainNameArn
+ x-required-properties:
+ - DomainName
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: false
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
x-required-permissions:
create:
- apigateway:POST
@@ -410,6 +885,158 @@ components:
- apigateway:DELETE
list:
- apigateway:GET
+ ResponseParameter:
+ description: response parameter
+ type: object
+ additionalProperties: false
+ properties:
+ Destination:
+ type: string
+ Source:
+ type: string
+ ResponseParameterList:
+ description: list of response parameters
+ type: array
+ items:
+ $ref: '#/components/schemas/ResponseParameter'
+ ResponseParameterMap:
+ description: map of response parameter lists
+ type: object
+ additionalProperties: false
+ properties:
+ ResponseParameters:
+ $ref: '#/components/schemas/ResponseParameterList'
+ TlsConfig:
+ description: The TlsConfig property specifies the TLS configuration for a private integration. Supported only for HTTP APIs.
+ type: object
+ additionalProperties: false
+ properties:
+ ServerNameToVerify:
+ type: string
+ Tag:
+ description: A key-value pair to associate with a resource.
+ type: object
+ additionalProperties: false
+ properties:
+ Key:
+ type: string
+ description: 'The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.'
+ minLength: 1
+ maxLength: 128
+ Value:
+ type: string
+ description: 'The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.'
+ minLength: 0
+ maxLength: 256
+ required:
+ - Key
+ - Value
+ Integration:
+ type: object
+ properties:
+ ApiId:
+ description: The API identifier.
+ type: string
+ ConnectionId:
+ description: The ID of the VPC link for a private integration. Supported only for HTTP APIs.
+ type: string
+ ConnectionType:
+ description: The type of the network connection to the integration endpoint. Specify INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and resources in a VPC. The default value is INTERNET.
+ type: string
+ ContentHandlingStrategy:
+ description: Supported only for WebSocket APIs. Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT.
+ type: string
+ CredentialsArn:
+ description: Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::*:user/*. To use resource-based permissions on supported AWS services, don't specify this parameter.
+ type: string
+ Description:
+ description: The description of the integration.
+ type: string
+ IntegrationMethod:
+ description: Specifies the integration's HTTP method type.
+ type: string
+ IntegrationSubtype:
+ description: Supported only for HTTP API AWS_PROXY integrations. Specifies the AWS service action to invoke.
+ type: string
+ IntegrationId:
+ description: The integration ID.
+ type: string
+ IntegrationType:
+ description: The integration type of an integration.
+ type: string
+ IntegrationUri:
+ description: For a Lambda integration, specify the URI of a Lambda function. For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service.
+ type: string
+ PassthroughBehavior:
+ description: 'Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. Supported only for WebSocket APIs.'
+ type: string
+ PayloadFormatVersion:
+ description: Specifies the format of the payload sent to an integration. Required for HTTP APIs. For HTTP APIs, supported values for Lambda proxy integrations are 1.0 and 2.0 For all other integrations, 1.0 is the only supported value.
+ type: string
+ RequestParameters:
+ description: A key-value map specifying parameters.
+ type: object
+ additionalProperties: false
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: string
+ RequestTemplates:
+ description: A map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client.
+ type: object
+ additionalProperties: false
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: string
+ ResponseParameters:
+ description: Parameters that transform the HTTP response from a backend integration before returning the response to clients. Supported only for HTTP APIs.
+ type: object
+ additionalProperties: false
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ $ref: '#/components/schemas/ResponseParameterMap'
+ TemplateSelectionExpression:
+ description: The template selection expression for the integration. Supported only for WebSocket APIs.
+ type: string
+ TimeoutInMillis:
+ description: Custom timeout between 50 and 29000 milliseconds for WebSocket APIs and between 50 and 30000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
+ type: integer
+ TlsConfig:
+ description: The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
+ $ref: '#/components/schemas/TlsConfig'
+ required:
+ - ApiId
+ - IntegrationType
+ x-stackql-resource-name: integration
+ description: An example resource schema demonstrating some basic constructs and validation rules.
+ x-type-name: AWS::ApiGatewayV2::Integration
+ x-stackql-primary-identifier:
+ - ApiId
+ - IntegrationId
+ x-create-only-properties:
+ - ApiId
+ x-read-only-properties:
+ - IntegrationId
+ x-required-properties:
+ - ApiId
+ - IntegrationType
+ x-tagging:
+ taggable: false
+ x-required-permissions:
+ create:
+ - apigateway:POST
+ - iam:PassRole
+ update:
+ - apigateway:PATCH
+ - apigateway:GET
+ - apigateway:PUT
+ - iam:PassRole
+ read:
+ - apigateway:GET
+ delete:
+ - apigateway:GET
+ - apigateway:DELETE
+ list:
+ - apigateway:GET
IntegrationResponse:
type: object
properties:
@@ -448,7 +1075,9 @@ components:
- IntegrationId
- IntegrationResponseKey
x-stackql-resource-name: integration_response
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGatewayV2::IntegrationResponse`` resource updates an integration response for an WebSocket API. For more information, see [Set up WebSocket API Integration Responses in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-integration-responses.html) in the *API Gateway Developer Guide*.
+ x-type-name: AWS::ApiGatewayV2::IntegrationResponse
+ x-stackql-primary-identifier:
- ApiId
- IntegrationId
- IntegrationResponseId
@@ -457,6 +1086,12 @@ components:
- IntegrationId
x-read-only-properties:
- IntegrationResponseId
+ x-required-properties:
+ - ApiId
+ - IntegrationId
+ - IntegrationResponseKey
+ x-tagging:
+ taggable: false
x-required-permissions:
create:
- apigateway:POST
@@ -497,13 +1132,21 @@ components:
- Schema
- Name
x-stackql-resource-name: model
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGatewayV2::Model`` resource updates data model for a WebSocket API. For more information, see [Model Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-model-selection-expressions) in the *API Gateway Developer Guide*.
+ x-type-name: AWS::ApiGatewayV2::Model
+ x-stackql-primary-identifier:
- ApiId
- ModelId
x-create-only-properties:
- ApiId
x-read-only-properties:
- ModelId
+ x-required-properties:
+ - ApiId
+ - Schema
+ - Name
+ x-tagging:
+ taggable: false
x-required-permissions:
create:
- apigateway:POST
@@ -579,13 +1222,23 @@ components:
- RouteKey
- ApiId
x-stackql-resource-name: route
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGatewayV2::Route`` resource creates a route for an API.
+ x-type-name: AWS::ApiGatewayV2::Route
+ x-stackql-primary-identifier:
- ApiId
- RouteId
x-create-only-properties:
- ApiId
+ x-write-only-properties:
+ - AuthorizerId
+ - RequestParameters
x-read-only-properties:
- RouteId
+ x-required-properties:
+ - RouteKey
+ - ApiId
+ x-tagging:
+ taggable: false
x-required-permissions:
create:
- apigateway:POST
@@ -634,7 +1287,9 @@ components:
- RouteId
- ApiId
x-stackql-resource-name: route_response
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGatewayV2::RouteResponse`` resource creates a route response for a WebSocket API. For more information, see [Set up Route Responses for a WebSocket API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-route-response.html) in the *API Gateway Developer Guide*.
+ x-type-name: AWS::ApiGatewayV2::RouteResponse
+ x-stackql-primary-identifier:
- ApiId
- RouteId
- RouteResponseId
@@ -643,6 +1298,15 @@ components:
- RouteId
x-read-only-properties:
- RouteResponseId
+ x-required-properties:
+ - RouteResponseKey
+ - RouteId
+ - ApiId
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
create:
- apigateway:POST
@@ -657,31 +1321,143 @@ components:
- apigateway:DELETE
list:
- apigateway:GET
- VpcLink:
+ Condition:
type: object
properties:
- VpcLinkId:
- type: string
- description: ''
- SubnetIds:
+ MatchHeaders:
+ $ref: '#/components/schemas/MatchHeaders'
+ MatchBasePaths:
+ $ref: '#/components/schemas/MatchBasePaths'
+ MatchHeaders:
+ type: object
+ required:
+ - AnyOf
+ properties:
+ AnyOf:
type: array
- uniqueItems: false
items:
- type: string
- description: A list of subnet IDs to include in the VPC link.
- SecurityGroupIds:
+ $ref: '#/components/schemas/MatchHeaderValue'
+ MatchBasePaths:
+ type: object
+ required:
+ - AnyOf
+ properties:
+ AnyOf:
type: array
- uniqueItems: false
items:
type: string
- description: A list of security group IDs for the VPC link.
- Tags:
- type: object
- description: The collection of tags. Each tag element is associated with a given resource.
- additionalProperties: false
- x-patternProperties:
- .*:
- type: string
+ MatchHeaderValue:
+ type: object
+ required:
+ - Header
+ - ValueGlob
+ properties:
+ Header:
+ type: string
+ ValueGlob:
+ type: string
+ Action:
+ type: object
+ required:
+ - InvokeApi
+ properties:
+ InvokeApi:
+ $ref: '#/components/schemas/ActionInvokeApi'
+ ActionInvokeApi:
+ type: object
+ required:
+ - ApiId
+ - Stage
+ properties:
+ ApiId:
+ type: string
+ Stage:
+ type: string
+ StripBasePath:
+ type: boolean
+ RoutingRule:
+ type: object
+ properties:
+ RoutingRuleId:
+ description: RoutingRule Id generated by service
+ type: string
+ RoutingRuleArn:
+ type: string
+ description: Amazon Resource Name (ARN) of the resource.
+ DomainNameArn:
+ type: string
+ description: The amazon resource name (ARN) of the domain name resource.
+ Priority:
+ type: integer
+ Conditions:
+ type: array
+ items:
+ $ref: '#/components/schemas/Condition'
+ Actions:
+ type: array
+ items:
+ $ref: '#/components/schemas/Action'
+ required:
+ - DomainNameArn
+ - Priority
+ - Conditions
+ - Actions
+ x-stackql-resource-name: routing_rule
+ description: Schema for AWS::ApiGatewayV2::RoutingRule
+ x-type-name: AWS::ApiGatewayV2::RoutingRule
+ x-stackql-primary-identifier:
+ - RoutingRuleArn
+ x-create-only-properties:
+ - DomainNameArn
+ x-read-only-properties:
+ - RoutingRuleArn
+ - RoutingRuleId
+ x-required-properties:
+ - DomainNameArn
+ - Priority
+ - Conditions
+ - Actions
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
+ x-required-permissions:
+ create:
+ - apigateway:CreateRoutingRule
+ read:
+ - apigateway:GetRoutingRule
+ update:
+ - apigateway:UpdateRoutingRule
+ delete:
+ - apigateway:DeleteRoutingRule
+ list:
+ - apigateway:ListRoutingRules
+ VpcLink:
+ type: object
+ properties:
+ VpcLinkId:
+ type: string
+ description: ''
+ SubnetIds:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ description: A list of subnet IDs to include in the VPC link.
+ SecurityGroupIds:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ description: A list of security group IDs for the VPC link.
+ Tags:
+ type: object
+ description: The collection of tags. Each tag element is associated with a given resource.
+ additionalProperties: false
+ x-patternProperties:
+ .*:
+ type: string
Name:
type: string
description: The name of the VPC link.
@@ -689,13 +1465,24 @@ components:
- SubnetIds
- Name
x-stackql-resource-name: vpc_link
- x-stackql-primaryIdentifier:
+ description: The ``AWS::ApiGatewayV2::VpcLink`` resource creates a VPC link. Supported only for HTTP APIs. The VPC link status must transition from ``PENDING`` to ``AVAILABLE`` to successfully create a VPC link, which can take up to 10 minutes. To learn more, see [Working with VPC Links for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vpc-links.html) in the *API Gateway Developer Guide*.
+ x-type-name: AWS::ApiGatewayV2::VpcLink
+ x-stackql-primary-identifier:
- VpcLinkId
x-create-only-properties:
- SecurityGroupIds
- SubnetIds
x-read-only-properties:
- VpcLinkId
+ x-required-properties:
+ - SubnetIds
+ - Name
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
x-required-permissions:
create:
- apigateway:POST
@@ -728,105 +1515,745 @@ components:
- iam:CreateServiceLinkedRole
- iam:DeleteServiceLinkedRole
- iam:GetServiceLinkedRoleDeletionStatus
+ CreateApiRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ RouteSelectionExpression:
+ type: string
+ description: The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.
+ Body:
+ type: object
+ description: The OpenAPI definition. Supported only for HTTP APIs. To import an HTTP API, you must specify a ``Body`` or ``BodyS3Location``. If you specify a ``Body`` or ``BodyS3Location``, don't specify CloudFormation resources such as ``AWS::ApiGatewayV2::Authorizer`` or ``AWS::ApiGatewayV2::Route``. API Gateway doesn't support the combination of OpenAPI and CloudFormation resources.
+ BodyS3Location:
+ $ref: '#/components/schemas/BodyS3Location'
+ description: The S3 location of an OpenAPI definition. Supported only for HTTP APIs. To import an HTTP API, you must specify a ``Body`` or ``BodyS3Location``. If you specify a ``Body`` or ``BodyS3Location``, don't specify CloudFormation resources such as ``AWS::ApiGatewayV2::Authorizer`` or ``AWS::ApiGatewayV2::Route``. API Gateway doesn't support the combination of OpenAPI and CloudFormation resources.
+ BasePath:
+ type: string
+ description: Specifies how to interpret the base path of the API during import. Valid values are ``ignore``, ``prepend``, and ``split``. The default value is ``ignore``. To learn more, see [Set the OpenAPI basePath Property](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api-basePath.html). Supported only for HTTP APIs.
+ CredentialsArn:
+ type: string
+ description: >-
+ This property is part of quick create. It specifies the credentials required for the integration, if any. For a Lambda integration, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify ``arn:aws:iam::*:user/*``. To use resource-based permissions on supported AWS services, specify ``null``. Currently, this property is not used for
+ HTTP integrations. Supported only for HTTP APIs.
+ CorsConfiguration:
+ $ref: '#/components/schemas/Cors'
+ description: A CORS configuration. Supported only for HTTP APIs. See [Configuring CORS](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) for more information.
+ RouteKey:
+ type: string
+ description: This property is part of quick create. If you don't specify a ``routeKey``, a default route of ``$default`` is created. The ``$default`` route acts as a catch-all for any request made to your API, for a particular stage. The ``$default`` route key can't be modified. You can add routes after creating the API, and you can update the route keys of additional routes. Supported only for HTTP APIs.
+ Target:
+ type: string
+ description: This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs.
+ FailOnWarnings:
+ type: boolean
+ description: Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
+ ApiEndpoint:
+ type: string
+ description: ''
+ Description:
+ type: string
+ description: The description of the API.
+ DisableExecuteApiEndpoint:
+ type: boolean
+ description: Specifies whether clients can invoke your API by using the default ``execute-api`` endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
+ DisableSchemaValidation:
+ type: boolean
+ description: Avoid validating models when creating a deployment. Supported only for WebSocket APIs.
+ Name:
+ type: string
+ description: The name of the API. Required unless you specify an OpenAPI definition for ``Body`` or ``S3BodyLocation``.
+ Version:
+ type: string
+ description: A version identifier for the API.
+ ProtocolType:
+ type: string
+ description: The API protocol. Valid values are ``WEBSOCKET`` or ``HTTP``. Required unless you specify an OpenAPI definition for ``Body`` or ``S3BodyLocation``.
+ ApiId:
+ type: string
+ description: ''
+ Tags:
+ type: object
+ description: The collection of tags. Each tag element is associated with a given resource.
+ additionalProperties: false
+ x-patternProperties:
+ .*:
+ type: string
+ ApiKeySelectionExpression:
+ type: string
+ description: An API key selection expression. Supported only for WebSocket APIs. See [API Key Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions).
+ IpAddressType:
+ type: string
+ description: ''
+ x-stackQL-stringOnly: true
+ x-title: CreateApiRequest
+ type: object
+ required: []
+ CreateApiMappingRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ApiMappingId:
+ description: ''
+ type: string
+ DomainName:
+ description: The domain name.
+ type: string
+ Stage:
+ description: The API stage.
+ type: string
+ ApiMappingKey:
+ description: The API mapping key.
+ type: string
+ ApiId:
+ description: The identifier of the API.
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateApiMappingRequest
+ type: object
+ required: []
+ CreateAuthorizerRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ IdentityValidationExpression:
+ type: string
+ description: This parameter is not used.
+ AuthorizerUri:
+ type: string
+ description: >-
+ The authorizer's Uniform Resource Identifier (URI). For ``REQUEST`` authorizers, this must be a well-formed Lambda function URI, for example, ``arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations``. In general, the URI has this form: ``arn:aws:apigateway:{region}:lambda:path/{service_api}``, where *{region}* is the same as the region hosting the Lambda function, path indicates that the
+ remaining substring in the URI should be treated as the path to the resource, including the initial ``/``. For Lambda functions, this is usually of the form ``/2015-03-31/functions/[FunctionARN]/invocations``.
+ AuthorizerCredentialsArn:
+ type: string
+ description: Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null. Supported only for ``REQUEST`` authorizers.
+ AuthorizerType:
+ type: string
+ description: The authorizer type. Specify ``REQUEST`` for a Lambda function using incoming request parameters. Specify ``JWT`` to use JSON Web Tokens (supported only for HTTP APIs).
+ IdentitySource:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ description: |-
+ The identity source for which authorization is requested.
+ For a ``REQUEST`` authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. The identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with ``$``, for example, ``$request.header.Auth``, ``$request.querystring.Name``. These parameters are used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, not null, and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized response without calling the Lambda function. For HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see [Working with Lambda authorizers for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html).
+ For ``JWT``, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example ``$request.header.Authorization``.
+ JwtConfiguration:
+ $ref: '#/components/schemas/JWTConfiguration'
+ description: The ``JWTConfiguration`` property specifies the configuration of a JWT authorizer. Required for the ``JWT`` authorizer type. Supported only for HTTP APIs.
+ AuthorizerResultTtlInSeconds:
+ type: integer
+ description: The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
+ AuthorizerPayloadFormatVersion:
+ type: string
+ description: Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are ``1.0`` and ``2.0``. To learn more, see [Working with Lambda authorizers for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html).
+ EnableSimpleResponses:
+ type: boolean
+ description: Specifies whether a Lambda authorizer returns a response in a simple format. By default, a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see [Working with Lambda authorizers for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html).
+ ApiId:
+ type: string
+ description: The API identifier.
+ AuthorizerId:
+ type: string
+ description: ''
+ Name:
+ type: string
+ description: The name of the authorizer.
+ x-stackQL-stringOnly: true
+ x-title: CreateAuthorizerRequest
+ type: object
+ required: []
+ CreateDeploymentRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ DeploymentId:
+ type: string
+ description: ''
+ Description:
+ type: string
+ description: The description for the deployment resource.
+ StageName:
+ type: string
+ description: The name of an existing stage to associate with the deployment.
+ ApiId:
+ type: string
+ description: The API identifier.
+ x-stackQL-stringOnly: true
+ x-title: CreateDeploymentRequest
+ type: object
+ required: []
+ CreateDomainNameRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ MutualTlsAuthentication:
+ description: The mutual TLS authentication configuration for a custom domain name.
+ $ref: '#/components/schemas/MutualTlsAuthentication'
+ RegionalHostedZoneId:
+ description: ''
+ type: string
+ RegionalDomainName:
+ description: ''
+ type: string
+ DomainNameArn:
+ description: ''
+ type: string
+ DomainName:
+ description: The custom domain name for your API in Amazon API Gateway. Uppercase letters and the underscore (``_``) character are not supported.
+ type: string
+ DomainNameConfigurations:
+ description: The domain name configurations.
+ type: array
+ uniqueItems: false
+ items:
+ $ref: '#/components/schemas/DomainNameConfiguration'
+ RoutingMode:
+ type: string
+ description: ''
+ default: API_MAPPING_ONLY
+ enum:
+ - API_MAPPING_ONLY
+ - ROUTING_RULE_THEN_API_MAPPING
+ - ROUTING_RULE_ONLY
+ Tags:
+ type: object
+ description: The collection of tags associated with a domain name.
+ additionalProperties: false
+ x-patternProperties:
+ .*:
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateDomainNameRequest
+ type: object
+ required: []
+ CreateIntegrationRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ApiId:
+ description: The API identifier.
+ type: string
+ ConnectionId:
+ description: The ID of the VPC link for a private integration. Supported only for HTTP APIs.
+ type: string
+ ConnectionType:
+ description: The type of the network connection to the integration endpoint. Specify INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and resources in a VPC. The default value is INTERNET.
+ type: string
+ ContentHandlingStrategy:
+ description: Supported only for WebSocket APIs. Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT.
+ type: string
+ CredentialsArn:
+ description: Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::*:user/*. To use resource-based permissions on supported AWS services, don't specify this parameter.
+ type: string
+ Description:
+ description: The description of the integration.
+ type: string
+ IntegrationMethod:
+ description: Specifies the integration's HTTP method type.
+ type: string
+ IntegrationSubtype:
+ description: Supported only for HTTP API AWS_PROXY integrations. Specifies the AWS service action to invoke.
+ type: string
+ IntegrationId:
+ description: The integration ID.
+ type: string
+ IntegrationType:
+ description: The integration type of an integration.
+ type: string
+ IntegrationUri:
+ description: For a Lambda integration, specify the URI of a Lambda function. For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service.
+ type: string
+ PassthroughBehavior:
+ description: 'Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. Supported only for WebSocket APIs.'
+ type: string
+ PayloadFormatVersion:
+ description: Specifies the format of the payload sent to an integration. Required for HTTP APIs. For HTTP APIs, supported values for Lambda proxy integrations are 1.0 and 2.0 For all other integrations, 1.0 is the only supported value.
+ type: string
+ RequestParameters:
+ description: A key-value map specifying parameters.
+ type: object
+ additionalProperties: false
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: string
+ RequestTemplates:
+ description: A map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client.
+ type: object
+ additionalProperties: false
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ type: string
+ ResponseParameters:
+ description: Parameters that transform the HTTP response from a backend integration before returning the response to clients. Supported only for HTTP APIs.
+ type: object
+ additionalProperties: false
+ x-patternProperties:
+ '[a-zA-Z0-9]+':
+ $ref: '#/components/schemas/ResponseParameterMap'
+ TemplateSelectionExpression:
+ description: The template selection expression for the integration. Supported only for WebSocket APIs.
+ type: string
+ TimeoutInMillis:
+ description: Custom timeout between 50 and 29000 milliseconds for WebSocket APIs and between 50 and 30000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
+ type: integer
+ TlsConfig:
+ description: The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
+ $ref: '#/components/schemas/TlsConfig'
+ x-stackQL-stringOnly: true
+ x-title: CreateIntegrationRequest
+ type: object
+ required: []
+ CreateIntegrationResponseRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ IntegrationResponseId:
+ description: ''
+ type: string
+ ResponseTemplates:
+ description: The collection of response templates for the integration response as a string-to-string map of key-value pairs. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.
+ type: object
+ TemplateSelectionExpression:
+ description: The template selection expression for the integration response. Supported only for WebSocket APIs.
+ type: string
+ ResponseParameters:
+ description: >-
+ A key-value map specifying response parameters that are passed to the method response from the backend. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of ``method.response.header.{name}``, where name is a valid and unique header name. The mapped non-static value
+ must match the pattern of ``integration.response.header.{name}`` or ``integration.response.body.{JSON-expression}``, where ``{name}`` is a valid and unique response header name and ``{JSON-expression}`` is a valid JSON expression without the ``$`` prefix.
+ type: object
+ ContentHandlingStrategy:
+ description: |-
+ Supported only for WebSocket APIs. Specifies how to handle response payload content type conversions. Supported values are ``CONVERT_TO_BINARY`` and ``CONVERT_TO_TEXT``, with the following behaviors:
+ ``CONVERT_TO_BINARY``: Converts a response payload from a Base64-encoded string to the corresponding binary blob.
+ ``CONVERT_TO_TEXT``: Converts a response payload from a binary blob to a Base64-encoded string.
+ If this property is not defined, the response payload will be passed through from the integration response to the route response or method response without modification.
+ type: string
+ IntegrationId:
+ description: The integration ID.
+ type: string
+ IntegrationResponseKey:
+ description: The integration response key.
+ type: string
+ ApiId:
+ description: The API identifier.
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateIntegrationResponseRequest
+ type: object
+ required: []
+ CreateModelRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ModelId:
+ type: string
+ description: ''
+ Description:
+ type: string
+ description: The description of the model.
+ ContentType:
+ type: string
+ description: The content-type for the model, for example, "application/json".
+ Schema:
+ type: object
+ description: The schema for the model. For application/json models, this should be JSON schema draft 4 model.
+ ApiId:
+ type: string
+ description: The API identifier.
+ Name:
+ type: string
+ description: The name of the model.
+ x-stackQL-stringOnly: true
+ x-title: CreateModelRequest
+ type: object
+ required: []
+ CreateRouteRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ RouteId:
+ type: string
+ description: ''
+ RouteResponseSelectionExpression:
+ type: string
+ description: The route response selection expression for the route. Supported only for WebSocket APIs.
+ RequestModels:
+ type: object
+ description: The request models for the route. Supported only for WebSocket APIs.
+ OperationName:
+ type: string
+ description: The operation name for the route.
+ AuthorizationScopes:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ description: The authorization scopes supported by this route.
+ ApiKeyRequired:
+ type: boolean
+ description: Specifies whether an API key is required for the route. Supported only for WebSocket APIs.
+ RouteKey:
+ type: string
+ description: The route key for the route. For HTTP APIs, the route key can be either ``$default``, or a combination of an HTTP method and resource path, for example, ``GET /pets``.
+ AuthorizationType:
+ type: string
+ description: The authorization type for the route. For WebSocket APIs, valid values are ``NONE`` for open access, ``AWS_IAM`` for using AWS IAM permissions, and ``CUSTOM`` for using a Lambda authorizer. For HTTP APIs, valid values are ``NONE`` for open access, ``JWT`` for using JSON Web Tokens, ``AWS_IAM`` for using AWS IAM permissions, and ``CUSTOM`` for using a Lambda authorizer.
+ ModelSelectionExpression:
+ type: string
+ description: The model selection expression for the route. Supported only for WebSocket APIs.
+ ApiId:
+ type: string
+ description: The API identifier.
+ RequestParameters:
+ type: object
+ items:
+ $ref: '#/components/schemas/ParameterConstraints'
+ description: The request parameters for the route. Supported only for WebSocket APIs.
+ Target:
+ type: string
+ description: The target for the route.
+ AuthorizerId:
+ type: string
+ description: The identifier of the ``Authorizer`` resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer.
+ x-stackQL-stringOnly: true
+ x-title: CreateRouteRequest
+ type: object
+ required: []
+ CreateRouteResponseRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ RouteResponseKey:
+ type: string
+ description: The route response key.
+ ResponseParameters:
+ $ref: '#/components/schemas/RouteParameters'
+ description: The route response parameters.
+ RouteId:
+ type: string
+ description: The route ID.
+ ModelSelectionExpression:
+ type: string
+ description: The model selection expression for the route response. Supported only for WebSocket APIs.
+ ApiId:
+ type: string
+ description: The API identifier.
+ ResponseModels:
+ type: object
+ description: The response models for the route response.
+ RouteResponseId:
+ type: string
+ description: ''
+ x-stackQL-stringOnly: true
+ x-title: CreateRouteResponseRequest
+ type: object
+ required: []
+ CreateRoutingRuleRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ RoutingRuleId:
+ description: RoutingRule Id generated by service
+ type: string
+ RoutingRuleArn:
+ type: string
+ description: Amazon Resource Name (ARN) of the resource.
+ DomainNameArn:
+ type: string
+ description: The amazon resource name (ARN) of the domain name resource.
+ Priority:
+ type: integer
+ Conditions:
+ type: array
+ items:
+ $ref: '#/components/schemas/Condition'
+ Actions:
+ type: array
+ items:
+ $ref: '#/components/schemas/Action'
+ x-stackQL-stringOnly: true
+ x-title: CreateRoutingRuleRequest
+ type: object
+ required: []
+ CreateVpcLinkRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ VpcLinkId:
+ type: string
+ description: ''
+ SubnetIds:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ description: A list of subnet IDs to include in the VPC link.
+ SecurityGroupIds:
+ type: array
+ uniqueItems: false
+ items:
+ type: string
+ description: A list of security group IDs for the VPC link.
+ Tags:
+ type: object
+ description: The collection of tags. Each tag element is associated with a given resource.
+ additionalProperties: false
+ x-patternProperties:
+ .*:
+ type: string
+ Name:
+ type: string
+ description: The name of the VPC link.
+ x-stackQL-stringOnly: true
+ x-title: CreateVpcLinkRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
x-stackQL-resources:
apis:
name: apis
id: awscc.apigatewayv2.apis
x-cfn-schema-name: Api
- x-type: list
- x-identifiers:
- - ApiId
- config:
- views:
- select:
- predicate: sqlDialect == "sqlite3"
- ddl: |-
- SELECT
- region,
- JSON_EXTRACT(Properties, '$.ApiId') as api_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Api'
- AND region = 'us-east-1'
- fallback:
- predicate: sqlDialect == "postgres"
- ddl: |-
- SELECT
- region,
- json_extract_path_text(Properties, 'ApiId') as api_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Api'
- AND region = 'us-east-1'
- api:
- name: api
- id: awscc.apigatewayv2.api
- x-cfn-schema-name: Api
- x-type: get
+ x-cfn-type-name: AWS::ApiGatewayV2::Api
x-identifiers:
- ApiId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Api&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Api"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Api"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Api"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/apis/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/apis/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/apis/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
JSON_EXTRACT(Properties, '$.RouteSelectionExpression') as route_selection_expression,
+ JSON_EXTRACT(Properties, '$.Body') as body,
JSON_EXTRACT(Properties, '$.BodyS3Location') as body_s3_location,
- JSON_EXTRACT(Properties, '$.Description') as description,
- JSON_EXTRACT(Properties, '$.ApiEndpoint') as api_endpoint,
JSON_EXTRACT(Properties, '$.BasePath') as base_path,
+ JSON_EXTRACT(Properties, '$.CredentialsArn') as credentials_arn,
+ JSON_EXTRACT(Properties, '$.CorsConfiguration') as cors_configuration,
+ JSON_EXTRACT(Properties, '$.RouteKey') as route_key,
+ JSON_EXTRACT(Properties, '$.Target') as target,
JSON_EXTRACT(Properties, '$.FailOnWarnings') as fail_on_warnings,
+ JSON_EXTRACT(Properties, '$.ApiEndpoint') as api_endpoint,
+ JSON_EXTRACT(Properties, '$.Description') as description,
JSON_EXTRACT(Properties, '$.DisableExecuteApiEndpoint') as disable_execute_api_endpoint,
JSON_EXTRACT(Properties, '$.DisableSchemaValidation') as disable_schema_validation,
JSON_EXTRACT(Properties, '$.Name') as name,
- JSON_EXTRACT(Properties, '$.Target') as target,
- JSON_EXTRACT(Properties, '$.CredentialsArn') as credentials_arn,
- JSON_EXTRACT(Properties, '$.CorsConfiguration') as cors_configuration,
JSON_EXTRACT(Properties, '$.Version') as version,
JSON_EXTRACT(Properties, '$.ProtocolType') as protocol_type,
- JSON_EXTRACT(Properties, '$.RouteKey') as route_key,
JSON_EXTRACT(Properties, '$.ApiId') as api_id,
- JSON_EXTRACT(Properties, '$.Body') as body,
JSON_EXTRACT(Properties, '$.Tags') as tags,
- JSON_EXTRACT(Properties, '$.ApiKeySelectionExpression') as api_key_selection_expression
+ JSON_EXTRACT(Properties, '$.ApiKeySelectionExpression') as api_key_selection_expression,
+ JSON_EXTRACT(Properties, '$.IpAddressType') as ip_address_type
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::Api'
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
json_extract_path_text(Properties, 'RouteSelectionExpression') as route_selection_expression,
+ json_extract_path_text(Properties, 'Body') as body,
json_extract_path_text(Properties, 'BodyS3Location') as body_s3_location,
- json_extract_path_text(Properties, 'Description') as description,
- json_extract_path_text(Properties, 'ApiEndpoint') as api_endpoint,
json_extract_path_text(Properties, 'BasePath') as base_path,
+ json_extract_path_text(Properties, 'CredentialsArn') as credentials_arn,
+ json_extract_path_text(Properties, 'CorsConfiguration') as cors_configuration,
+ json_extract_path_text(Properties, 'RouteKey') as route_key,
+ json_extract_path_text(Properties, 'Target') as target,
json_extract_path_text(Properties, 'FailOnWarnings') as fail_on_warnings,
+ json_extract_path_text(Properties, 'ApiEndpoint') as api_endpoint,
+ json_extract_path_text(Properties, 'Description') as description,
json_extract_path_text(Properties, 'DisableExecuteApiEndpoint') as disable_execute_api_endpoint,
json_extract_path_text(Properties, 'DisableSchemaValidation') as disable_schema_validation,
json_extract_path_text(Properties, 'Name') as name,
- json_extract_path_text(Properties, 'Target') as target,
- json_extract_path_text(Properties, 'CredentialsArn') as credentials_arn,
- json_extract_path_text(Properties, 'CorsConfiguration') as cors_configuration,
json_extract_path_text(Properties, 'Version') as version,
json_extract_path_text(Properties, 'ProtocolType') as protocol_type,
- json_extract_path_text(Properties, 'RouteKey') as route_key,
json_extract_path_text(Properties, 'ApiId') as api_id,
- json_extract_path_text(Properties, 'Body') as body,
json_extract_path_text(Properties, 'Tags') as tags,
- json_extract_path_text(Properties, 'ApiKeySelectionExpression') as api_key_selection_expression
+ json_extract_path_text(Properties, 'ApiKeySelectionExpression') as api_key_selection_expression,
+ json_extract_path_text(Properties, 'IpAddressType') as ip_address_type
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::Api'
AND data__Identifier = ''
AND region = 'us-east-1'
- api_mappings:
- name: api_mappings
- id: awscc.apigatewayv2.api_mappings
- x-cfn-schema-name: ApiMapping
- x-type: list
+ apis_list_only:
+ name: apis_list_only
+ id: awscc.apigatewayv2.apis_list_only
+ x-cfn-schema-name: Api
+ x-cfn-type-name: AWS::ApiGatewayV2::Api
x-identifiers:
- - ApiMappingId
- - DomainName
+ - ApiId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -834,31 +2261,77 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.ApiMappingId') as api_mapping_id,
- JSON_EXTRACT(Properties, '$.DomainName') as domain_name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::ApiMapping'
+ JSON_EXTRACT(Properties, '$.ApiId') as api_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Api'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'ApiMappingId') as api_mapping_id,
- json_extract_path_text(Properties, 'DomainName') as domain_name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::ApiMapping'
+ json_extract_path_text(Properties, 'ApiId') as api_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Api'
AND region = 'us-east-1'
- api_mapping:
- name: api_mapping
- id: awscc.apigatewayv2.api_mapping
+ api_mappings:
+ name: api_mappings
+ id: awscc.apigatewayv2.api_mappings
x-cfn-schema-name: ApiMapping
- x-type: get
+ x-cfn-type-name: AWS::ApiGatewayV2::ApiMapping
x-identifiers:
- ApiMappingId
- DomainName
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ApiMapping&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::ApiMapping"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::ApiMapping"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::ApiMapping"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/api_mappings/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/api_mappings/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/api_mappings/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -872,7 +2345,7 @@ components:
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -885,14 +2358,20 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::ApiMapping'
AND data__Identifier = '|'
AND region = 'us-east-1'
- authorizers:
- name: authorizers
- id: awscc.apigatewayv2.authorizers
- x-cfn-schema-name: Authorizer
- x-type: list
+ api_mappings_list_only:
+ name: api_mappings_list_only
+ id: awscc.apigatewayv2.api_mappings_list_only
+ x-cfn-schema-name: ApiMapping
+ x-cfn-type-name: AWS::ApiGatewayV2::ApiMapping
x-identifiers:
- - AuthorizerId
- - ApiId
+ - ApiMappingId
+ - DomainName
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -900,31 +2379,79 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.AuthorizerId') as authorizer_id,
- JSON_EXTRACT(Properties, '$.ApiId') as api_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Authorizer'
+ JSON_EXTRACT(Properties, '$.ApiMappingId') as api_mapping_id,
+ JSON_EXTRACT(Properties, '$.DomainName') as domain_name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::ApiMapping'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'AuthorizerId') as authorizer_id,
- json_extract_path_text(Properties, 'ApiId') as api_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Authorizer'
+ json_extract_path_text(Properties, 'ApiMappingId') as api_mapping_id,
+ json_extract_path_text(Properties, 'DomainName') as domain_name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::ApiMapping'
AND region = 'us-east-1'
- authorizer:
- name: authorizer
- id: awscc.apigatewayv2.authorizer
+ authorizers:
+ name: authorizers
+ id: awscc.apigatewayv2.authorizers
x-cfn-schema-name: Authorizer
- x-type: get
+ x-cfn-type-name: AWS::ApiGatewayV2::Authorizer
x-identifiers:
- AuthorizerId
- ApiId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Authorizer&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Authorizer"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Authorizer"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Authorizer"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/authorizers/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/authorizers/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/authorizers/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -933,19 +2460,19 @@ components:
JSON_EXTRACT(Properties, '$.AuthorizerUri') as authorizer_uri,
JSON_EXTRACT(Properties, '$.AuthorizerCredentialsArn') as authorizer_credentials_arn,
JSON_EXTRACT(Properties, '$.AuthorizerType') as authorizer_type,
+ JSON_EXTRACT(Properties, '$.IdentitySource') as identity_source,
JSON_EXTRACT(Properties, '$.JwtConfiguration') as jwt_configuration,
JSON_EXTRACT(Properties, '$.AuthorizerResultTtlInSeconds') as authorizer_result_ttl_in_seconds,
- JSON_EXTRACT(Properties, '$.IdentitySource') as identity_source,
JSON_EXTRACT(Properties, '$.AuthorizerPayloadFormatVersion') as authorizer_payload_format_version,
- JSON_EXTRACT(Properties, '$.ApiId') as api_id,
JSON_EXTRACT(Properties, '$.EnableSimpleResponses') as enable_simple_responses,
+ JSON_EXTRACT(Properties, '$.ApiId') as api_id,
JSON_EXTRACT(Properties, '$.AuthorizerId') as authorizer_id,
JSON_EXTRACT(Properties, '$.Name') as name
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::Authorizer'
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -954,25 +2481,149 @@ components:
json_extract_path_text(Properties, 'AuthorizerUri') as authorizer_uri,
json_extract_path_text(Properties, 'AuthorizerCredentialsArn') as authorizer_credentials_arn,
json_extract_path_text(Properties, 'AuthorizerType') as authorizer_type,
+ json_extract_path_text(Properties, 'IdentitySource') as identity_source,
json_extract_path_text(Properties, 'JwtConfiguration') as jwt_configuration,
json_extract_path_text(Properties, 'AuthorizerResultTtlInSeconds') as authorizer_result_ttl_in_seconds,
- json_extract_path_text(Properties, 'IdentitySource') as identity_source,
json_extract_path_text(Properties, 'AuthorizerPayloadFormatVersion') as authorizer_payload_format_version,
- json_extract_path_text(Properties, 'ApiId') as api_id,
json_extract_path_text(Properties, 'EnableSimpleResponses') as enable_simple_responses,
+ json_extract_path_text(Properties, 'ApiId') as api_id,
json_extract_path_text(Properties, 'AuthorizerId') as authorizer_id,
json_extract_path_text(Properties, 'Name') as name
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::Authorizer'
AND data__Identifier = '|'
AND region = 'us-east-1'
+ authorizers_list_only:
+ name: authorizers_list_only
+ id: awscc.apigatewayv2.authorizers_list_only
+ x-cfn-schema-name: Authorizer
+ x-cfn-type-name: AWS::ApiGatewayV2::Authorizer
+ x-identifiers:
+ - AuthorizerId
+ - ApiId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.AuthorizerId') as authorizer_id,
+ JSON_EXTRACT(Properties, '$.ApiId') as api_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Authorizer'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'AuthorizerId') as authorizer_id,
+ json_extract_path_text(Properties, 'ApiId') as api_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Authorizer'
+ AND region = 'us-east-1'
deployments:
name: deployments
id: awscc.apigatewayv2.deployments
x-cfn-schema-name: Deployment
- x-type: list
+ x-cfn-type-name: AWS::ApiGatewayV2::Deployment
x-identifiers:
- ApiId
- DeploymentId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Deployment&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Deployment"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Deployment"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Deployment"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/deployments/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/deployments/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/deployments/methods/update_resource'
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.DeploymentId') as deployment_id,
+ JSON_EXTRACT(Properties, '$.Description') as description,
+ JSON_EXTRACT(Properties, '$.StageName') as stage_name,
+ JSON_EXTRACT(Properties, '$.ApiId') as api_id
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::Deployment'
+ AND data__Identifier = '|'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'DeploymentId') as deployment_id,
+ json_extract_path_text(Properties, 'Description') as description,
+ json_extract_path_text(Properties, 'StageName') as stage_name,
+ json_extract_path_text(Properties, 'ApiId') as api_id
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::Deployment'
+ AND data__Identifier = '|'
+ AND region = 'us-east-1'
+ deployments_list_only:
+ name: deployments_list_only
+ id: awscc.apigatewayv2.deployments_list_only
+ x-cfn-schema-name: Deployment
+ x-cfn-type-name: AWS::ApiGatewayV2::Deployment
+ x-identifiers:
+ - ApiId
+ - DeploymentId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -993,49 +2644,110 @@ components:
json_extract_path_text(Properties, 'DeploymentId') as deployment_id
FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Deployment'
AND region = 'us-east-1'
- deployment:
- name: deployment
- id: awscc.apigatewayv2.deployment
- x-cfn-schema-name: Deployment
- x-type: get
+ domain_names:
+ name: domain_names
+ id: awscc.apigatewayv2.domain_names
+ x-cfn-schema-name: DomainName
+ x-cfn-type-name: AWS::ApiGatewayV2::DomainName
x-identifiers:
- - ApiId
- - DeploymentId
+ - DomainName
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DomainName&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::DomainName"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::DomainName"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::DomainName"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/domain_names/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/domain_names/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/domain_names/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
- JSON_EXTRACT(Properties, '$.DeploymentId') as deployment_id,
- JSON_EXTRACT(Properties, '$.Description') as description,
- JSON_EXTRACT(Properties, '$.StageName') as stage_name,
- JSON_EXTRACT(Properties, '$.ApiId') as api_id
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::Deployment'
- AND data__Identifier = '|'
+ JSON_EXTRACT(Properties, '$.MutualTlsAuthentication') as mutual_tls_authentication,
+ JSON_EXTRACT(Properties, '$.RegionalHostedZoneId') as regional_hosted_zone_id,
+ JSON_EXTRACT(Properties, '$.RegionalDomainName') as regional_domain_name,
+ JSON_EXTRACT(Properties, '$.DomainNameArn') as domain_name_arn,
+ JSON_EXTRACT(Properties, '$.DomainName') as domain_name,
+ JSON_EXTRACT(Properties, '$.DomainNameConfigurations') as domain_name_configurations,
+ JSON_EXTRACT(Properties, '$.RoutingMode') as routing_mode,
+ JSON_EXTRACT(Properties, '$.Tags') as tags
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::DomainName'
+ AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
- json_extract_path_text(Properties, 'DeploymentId') as deployment_id,
- json_extract_path_text(Properties, 'Description') as description,
- json_extract_path_text(Properties, 'StageName') as stage_name,
- json_extract_path_text(Properties, 'ApiId') as api_id
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::Deployment'
- AND data__Identifier = '|'
+ json_extract_path_text(Properties, 'MutualTlsAuthentication') as mutual_tls_authentication,
+ json_extract_path_text(Properties, 'RegionalHostedZoneId') as regional_hosted_zone_id,
+ json_extract_path_text(Properties, 'RegionalDomainName') as regional_domain_name,
+ json_extract_path_text(Properties, 'DomainNameArn') as domain_name_arn,
+ json_extract_path_text(Properties, 'DomainName') as domain_name,
+ json_extract_path_text(Properties, 'DomainNameConfigurations') as domain_name_configurations,
+ json_extract_path_text(Properties, 'RoutingMode') as routing_mode,
+ json_extract_path_text(Properties, 'Tags') as tags
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::DomainName'
+ AND data__Identifier = ''
AND region = 'us-east-1'
- domain_names:
- name: domain_names
- id: awscc.apigatewayv2.domain_names
+ domain_names_list_only:
+ name: domain_names_list_only
+ id: awscc.apigatewayv2.domain_names_list_only
x-cfn-schema-name: DomainName
- x-type: list
+ x-cfn-type-name: AWS::ApiGatewayV2::DomainName
x-identifiers:
- DomainName
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -1054,54 +2766,134 @@ components:
json_extract_path_text(Properties, 'DomainName') as domain_name
FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::DomainName'
AND region = 'us-east-1'
- domain_name:
- name: domain_name
- id: awscc.apigatewayv2.domain_name
- x-cfn-schema-name: DomainName
- x-type: get
+ integrations:
+ name: integrations
+ id: awscc.apigatewayv2.integrations
+ x-cfn-schema-name: Integration
+ x-cfn-type-name: AWS::ApiGatewayV2::Integration
x-identifiers:
- - DomainName
+ - ApiId
+ - IntegrationId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Integration&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Integration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Integration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Integration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/integrations/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/integrations/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/integrations/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
- JSON_EXTRACT(Properties, '$.MutualTlsAuthentication') as mutual_tls_authentication,
- JSON_EXTRACT(Properties, '$.RegionalHostedZoneId') as regional_hosted_zone_id,
- JSON_EXTRACT(Properties, '$.RegionalDomainName') as regional_domain_name,
- JSON_EXTRACT(Properties, '$.DomainName') as domain_name,
- JSON_EXTRACT(Properties, '$.DomainNameConfigurations') as domain_name_configurations,
- JSON_EXTRACT(Properties, '$.Tags') as tags
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::DomainName'
- AND data__Identifier = ''
+ JSON_EXTRACT(Properties, '$.ApiId') as api_id,
+ JSON_EXTRACT(Properties, '$.ConnectionId') as connection_id,
+ JSON_EXTRACT(Properties, '$.ConnectionType') as connection_type,
+ JSON_EXTRACT(Properties, '$.ContentHandlingStrategy') as content_handling_strategy,
+ JSON_EXTRACT(Properties, '$.CredentialsArn') as credentials_arn,
+ JSON_EXTRACT(Properties, '$.Description') as description,
+ JSON_EXTRACT(Properties, '$.IntegrationMethod') as integration_method,
+ JSON_EXTRACT(Properties, '$.IntegrationSubtype') as integration_subtype,
+ JSON_EXTRACT(Properties, '$.IntegrationId') as integration_id,
+ JSON_EXTRACT(Properties, '$.IntegrationType') as integration_type,
+ JSON_EXTRACT(Properties, '$.IntegrationUri') as integration_uri,
+ JSON_EXTRACT(Properties, '$.PassthroughBehavior') as passthrough_behavior,
+ JSON_EXTRACT(Properties, '$.PayloadFormatVersion') as payload_format_version,
+ JSON_EXTRACT(Properties, '$.RequestParameters') as request_parameters,
+ JSON_EXTRACT(Properties, '$.RequestTemplates') as request_templates,
+ JSON_EXTRACT(Properties, '$.ResponseParameters') as response_parameters,
+ JSON_EXTRACT(Properties, '$.TemplateSelectionExpression') as template_selection_expression,
+ JSON_EXTRACT(Properties, '$.TimeoutInMillis') as timeout_in_millis,
+ JSON_EXTRACT(Properties, '$.TlsConfig') as tls_config
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::Integration'
+ AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
- json_extract_path_text(Properties, 'MutualTlsAuthentication') as mutual_tls_authentication,
- json_extract_path_text(Properties, 'RegionalHostedZoneId') as regional_hosted_zone_id,
- json_extract_path_text(Properties, 'RegionalDomainName') as regional_domain_name,
- json_extract_path_text(Properties, 'DomainName') as domain_name,
- json_extract_path_text(Properties, 'DomainNameConfigurations') as domain_name_configurations,
- json_extract_path_text(Properties, 'Tags') as tags
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::DomainName'
- AND data__Identifier = ''
+ json_extract_path_text(Properties, 'ApiId') as api_id,
+ json_extract_path_text(Properties, 'ConnectionId') as connection_id,
+ json_extract_path_text(Properties, 'ConnectionType') as connection_type,
+ json_extract_path_text(Properties, 'ContentHandlingStrategy') as content_handling_strategy,
+ json_extract_path_text(Properties, 'CredentialsArn') as credentials_arn,
+ json_extract_path_text(Properties, 'Description') as description,
+ json_extract_path_text(Properties, 'IntegrationMethod') as integration_method,
+ json_extract_path_text(Properties, 'IntegrationSubtype') as integration_subtype,
+ json_extract_path_text(Properties, 'IntegrationId') as integration_id,
+ json_extract_path_text(Properties, 'IntegrationType') as integration_type,
+ json_extract_path_text(Properties, 'IntegrationUri') as integration_uri,
+ json_extract_path_text(Properties, 'PassthroughBehavior') as passthrough_behavior,
+ json_extract_path_text(Properties, 'PayloadFormatVersion') as payload_format_version,
+ json_extract_path_text(Properties, 'RequestParameters') as request_parameters,
+ json_extract_path_text(Properties, 'RequestTemplates') as request_templates,
+ json_extract_path_text(Properties, 'ResponseParameters') as response_parameters,
+ json_extract_path_text(Properties, 'TemplateSelectionExpression') as template_selection_expression,
+ json_extract_path_text(Properties, 'TimeoutInMillis') as timeout_in_millis,
+ json_extract_path_text(Properties, 'TlsConfig') as tls_config
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::Integration'
+ AND data__Identifier = '|'
AND region = 'us-east-1'
- integration_responses:
- name: integration_responses
- id: awscc.apigatewayv2.integration_responses
- x-cfn-schema-name: IntegrationResponse
- x-type: list
+ integrations_list_only:
+ name: integrations_list_only
+ id: awscc.apigatewayv2.integrations_list_only
+ x-cfn-schema-name: Integration
+ x-cfn-type-name: AWS::ApiGatewayV2::Integration
x-identifiers:
- ApiId
- IntegrationId
- - IntegrationResponseId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -1110,9 +2902,8 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.ApiId') as api_id,
- JSON_EXTRACT(Properties, '$.IntegrationId') as integration_id,
- JSON_EXTRACT(Properties, '$.IntegrationResponseId') as integration_response_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::IntegrationResponse'
+ JSON_EXTRACT(Properties, '$.IntegrationId') as integration_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Integration'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
@@ -1120,23 +2911,70 @@ components:
SELECT
region,
json_extract_path_text(Properties, 'ApiId') as api_id,
- json_extract_path_text(Properties, 'IntegrationId') as integration_id,
- json_extract_path_text(Properties, 'IntegrationResponseId') as integration_response_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::IntegrationResponse'
+ json_extract_path_text(Properties, 'IntegrationId') as integration_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Integration'
AND region = 'us-east-1'
- integration_response:
- name: integration_response
- id: awscc.apigatewayv2.integration_response
+ integration_responses:
+ name: integration_responses
+ id: awscc.apigatewayv2.integration_responses
x-cfn-schema-name: IntegrationResponse
- x-type: get
+ x-cfn-type-name: AWS::ApiGatewayV2::IntegrationResponse
x-identifiers:
- ApiId
- IntegrationId
- IntegrationResponseId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__IntegrationResponse&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::IntegrationResponse"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::IntegrationResponse"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::IntegrationResponse"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/integration_responses/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/integration_responses/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/integration_responses/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1153,7 +2991,7 @@ components:
AND data__Identifier = '||'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1169,14 +3007,21 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::IntegrationResponse'
AND data__Identifier = '||'
AND region = 'us-east-1'
- models:
- name: models
- id: awscc.apigatewayv2.models
- x-cfn-schema-name: Model
- x-type: list
+ integration_responses_list_only:
+ name: integration_responses_list_only
+ id: awscc.apigatewayv2.integration_responses_list_only
+ x-cfn-schema-name: IntegrationResponse
+ x-cfn-type-name: AWS::ApiGatewayV2::IntegrationResponse
x-identifiers:
- ApiId
- - ModelId
+ - IntegrationId
+ - IntegrationResponseId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -1185,8 +3030,9 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.ApiId') as api_id,
- JSON_EXTRACT(Properties, '$.ModelId') as model_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Model'
+ JSON_EXTRACT(Properties, '$.IntegrationId') as integration_id,
+ JSON_EXTRACT(Properties, '$.IntegrationResponseId') as integration_response_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::IntegrationResponse'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
@@ -1194,21 +3040,70 @@ components:
SELECT
region,
json_extract_path_text(Properties, 'ApiId') as api_id,
- json_extract_path_text(Properties, 'ModelId') as model_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Model'
+ json_extract_path_text(Properties, 'IntegrationId') as integration_id,
+ json_extract_path_text(Properties, 'IntegrationResponseId') as integration_response_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::IntegrationResponse'
AND region = 'us-east-1'
- model:
- name: model
- id: awscc.apigatewayv2.model
+ models:
+ name: models
+ id: awscc.apigatewayv2.models
x-cfn-schema-name: Model
- x-type: get
+ x-cfn-type-name: AWS::ApiGatewayV2::Model
x-identifiers:
- ApiId
- ModelId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Model&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Model"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Model"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Model"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/models/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/models/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/models/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1223,7 +3118,7 @@ components:
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1237,14 +3132,20 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::Model'
AND data__Identifier = '|'
AND region = 'us-east-1'
- routes:
- name: routes
- id: awscc.apigatewayv2.routes
- x-cfn-schema-name: Route
- x-type: list
+ models_list_only:
+ name: models_list_only
+ id: awscc.apigatewayv2.models_list_only
+ x-cfn-schema-name: Model
+ x-cfn-type-name: AWS::ApiGatewayV2::Model
x-identifiers:
- ApiId
- - RouteId
+ - ModelId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -1253,8 +3154,8 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.ApiId') as api_id,
- JSON_EXTRACT(Properties, '$.RouteId') as route_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Route'
+ JSON_EXTRACT(Properties, '$.ModelId') as model_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Model'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
@@ -1262,21 +3163,69 @@ components:
SELECT
region,
json_extract_path_text(Properties, 'ApiId') as api_id,
- json_extract_path_text(Properties, 'RouteId') as route_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Route'
+ json_extract_path_text(Properties, 'ModelId') as model_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Model'
AND region = 'us-east-1'
- route:
- name: route
- id: awscc.apigatewayv2.route
+ routes:
+ name: routes
+ id: awscc.apigatewayv2.routes
x-cfn-schema-name: Route
- x-type: get
+ x-cfn-type-name: AWS::ApiGatewayV2::Route
x-identifiers:
- ApiId
- RouteId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Route&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Route"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Route"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::Route"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/routes/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/routes/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/routes/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1298,7 +3247,7 @@ components:
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1319,15 +3268,20 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::Route'
AND data__Identifier = '|'
AND region = 'us-east-1'
- route_responses:
- name: route_responses
- id: awscc.apigatewayv2.route_responses
- x-cfn-schema-name: RouteResponse
- x-type: list
+ routes_list_only:
+ name: routes_list_only
+ id: awscc.apigatewayv2.routes_list_only
+ x-cfn-schema-name: Route
+ x-cfn-type-name: AWS::ApiGatewayV2::Route
x-identifiers:
- ApiId
- RouteId
- - RouteResponseId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -1336,9 +3290,8 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.ApiId') as api_id,
- JSON_EXTRACT(Properties, '$.RouteId') as route_id,
- JSON_EXTRACT(Properties, '$.RouteResponseId') as route_response_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::RouteResponse'
+ JSON_EXTRACT(Properties, '$.RouteId') as route_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Route'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
@@ -1346,23 +3299,70 @@ components:
SELECT
region,
json_extract_path_text(Properties, 'ApiId') as api_id,
- json_extract_path_text(Properties, 'RouteId') as route_id,
- json_extract_path_text(Properties, 'RouteResponseId') as route_response_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::RouteResponse'
+ json_extract_path_text(Properties, 'RouteId') as route_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::Route'
AND region = 'us-east-1'
- route_response:
- name: route_response
- id: awscc.apigatewayv2.route_response
+ route_responses:
+ name: route_responses
+ id: awscc.apigatewayv2.route_responses
x-cfn-schema-name: RouteResponse
- x-type: get
+ x-cfn-type-name: AWS::ApiGatewayV2::RouteResponse
x-identifiers:
- ApiId
- RouteId
- RouteResponseId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RouteResponse&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::RouteResponse"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::RouteResponse"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::RouteResponse"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/route_responses/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/route_responses/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/route_responses/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1378,7 +3378,7 @@ components:
AND data__Identifier = '||'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1393,13 +3393,21 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::RouteResponse'
AND data__Identifier = '||'
AND region = 'us-east-1'
- vpc_links:
- name: vpc_links
- id: awscc.apigatewayv2.vpc_links
- x-cfn-schema-name: VpcLink
- x-type: list
+ route_responses_list_only:
+ name: route_responses_list_only
+ id: awscc.apigatewayv2.route_responses_list_only
+ x-cfn-schema-name: RouteResponse
+ x-cfn-type-name: AWS::ApiGatewayV2::RouteResponse
x-identifiers:
- - VpcLinkId
+ - ApiId
+ - RouteId
+ - RouteResponseId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -1407,28 +3415,198 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.VpcLinkId') as vpc_link_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::VpcLink'
+ JSON_EXTRACT(Properties, '$.ApiId') as api_id,
+ JSON_EXTRACT(Properties, '$.RouteId') as route_id,
+ JSON_EXTRACT(Properties, '$.RouteResponseId') as route_response_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::RouteResponse'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'VpcLinkId') as vpc_link_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::VpcLink'
+ json_extract_path_text(Properties, 'ApiId') as api_id,
+ json_extract_path_text(Properties, 'RouteId') as route_id,
+ json_extract_path_text(Properties, 'RouteResponseId') as route_response_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::RouteResponse'
+ AND region = 'us-east-1'
+ routing_rules:
+ name: routing_rules
+ id: awscc.apigatewayv2.routing_rules
+ x-cfn-schema-name: RoutingRule
+ x-cfn-type-name: AWS::ApiGatewayV2::RoutingRule
+ x-identifiers:
+ - RoutingRuleArn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RoutingRule&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::RoutingRule"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::RoutingRule"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::RoutingRule"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/routing_rules/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/routing_rules/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/routing_rules/methods/update_resource'
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.RoutingRuleId') as routing_rule_id,
+ JSON_EXTRACT(Properties, '$.RoutingRuleArn') as routing_rule_arn,
+ JSON_EXTRACT(Properties, '$.DomainNameArn') as domain_name_arn,
+ JSON_EXTRACT(Properties, '$.Priority') as priority,
+ JSON_EXTRACT(Properties, '$.Conditions') as conditions,
+ JSON_EXTRACT(Properties, '$.Actions') as actions
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::RoutingRule'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'RoutingRuleId') as routing_rule_id,
+ json_extract_path_text(Properties, 'RoutingRuleArn') as routing_rule_arn,
+ json_extract_path_text(Properties, 'DomainNameArn') as domain_name_arn,
+ json_extract_path_text(Properties, 'Priority') as priority,
+ json_extract_path_text(Properties, 'Conditions') as conditions,
+ json_extract_path_text(Properties, 'Actions') as actions
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::RoutingRule'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ routing_rules_list_only:
+ name: routing_rules_list_only
+ id: awscc.apigatewayv2.routing_rules_list_only
+ x-cfn-schema-name: RoutingRule
+ x-cfn-type-name: AWS::ApiGatewayV2::RoutingRule
+ x-identifiers:
+ - RoutingRuleArn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.RoutingRuleArn') as routing_rule_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::RoutingRule'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'RoutingRuleArn') as routing_rule_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::RoutingRule'
AND region = 'us-east-1'
- vpc_link:
- name: vpc_link
- id: awscc.apigatewayv2.vpc_link
+ vpc_links:
+ name: vpc_links
+ id: awscc.apigatewayv2.vpc_links
x-cfn-schema-name: VpcLink
- x-type: get
+ x-cfn-type-name: AWS::ApiGatewayV2::VpcLink
x-identifiers:
- VpcLinkId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VpcLink&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::VpcLink"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::VpcLink"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApiGatewayV2::VpcLink"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/vpc_links/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/vpc_links/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/vpc_links/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1442,7 +3620,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1455,3 +3633,691 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApiGatewayV2::VpcLink'
AND data__Identifier = ''
AND region = 'us-east-1'
+ vpc_links_list_only:
+ name: vpc_links_list_only
+ id: awscc.apigatewayv2.vpc_links_list_only
+ x-cfn-schema-name: VpcLink
+ x-cfn-type-name: AWS::ApiGatewayV2::VpcLink
+ x-identifiers:
+ - VpcLinkId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.VpcLinkId') as vpc_link_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::VpcLink'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'VpcLinkId') as vpc_link_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApiGatewayV2::VpcLink'
+ AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Api&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateApi
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateApiRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__ApiMapping&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateApiMapping
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateApiMappingRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Authorizer&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateAuthorizer
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateAuthorizerRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Deployment&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateDeployment
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateDeploymentRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__DomainName&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateDomainName
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateDomainNameRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Integration&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateIntegration
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateIntegrationRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__IntegrationResponse&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateIntegrationResponse
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateIntegrationResponseRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Model&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateModel
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateModelRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Route&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateRoute
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateRouteRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__RouteResponse&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateRouteResponse
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateRouteResponseRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__RoutingRule&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateRoutingRule
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateRoutingRuleRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__VpcLink&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateVpcLink
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateVpcLinkRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/appconfig.yaml b/providers/src/awscc/v00.00.00000/services/appconfig.yaml
index 3fa86100..2016dc33 100644
--- a/providers/src/awscc/v00.00.00000/services/appconfig.yaml
+++ b/providers/src/awscc/v00.00.00000/services/appconfig.yaml
@@ -1,26 +1,405 @@
openapi: 3.0.0
info:
title: AppConfig
- version: 1.0.0
-paths: {}
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
schemas:
Tags:
description: Metadata to assign to the configuration profile. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
+ additionalProperties: false
type: object
properties:
- Key:
- type: string
- description: The key-value string map. The tag key can be up to 128 characters and must not start with aws:.
- minLength: 1
- maxLength: 128
- pattern: ^(?!aws:.)[a-zA-Z0-9 +=._:/-]*$
Value:
- type: string
- description: The tag value can be up to 256 characters.
minLength: 0
+ description: The tag value can be up to 256 characters.
+ type: string
maxLength: 256
- additionalProperties: false
+ Key:
+ minLength: 1
+ description: The key-value string map. The tag key can be up to 128 characters and must not start with aws:.
+ type: string
+ maxLength: 128
Application:
type: object
properties:
@@ -43,10 +422,24 @@ components:
required:
- Name
x-stackql-resource-name: application
- x-stackql-primaryIdentifier:
+ description: Resource Type definition for AWS::AppConfig::Application
+ x-type-name: AWS::AppConfig::Application
+ x-stackql-primary-identifier:
- ApplicationId
x-read-only-properties:
- ApplicationId
+ x-required-properties:
+ - Name
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - appconfig:TagResource
+ - appconfig:UntagResource
+ - appconfig:ListTagsForResource
x-required-permissions:
create:
- appconfig:CreateApplication
@@ -67,129 +460,136 @@ components:
- appconfig:ListApplications
Validators:
description: A list of methods for validating the configuration.
- type: object
additionalProperties: false
+ type: object
properties:
Type:
- type: string
description: AWS AppConfig supports validators of type JSON_SCHEMA and LAMBDA.
- Content:
type: string
- description: Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
+ Content:
minLength: 0
+ description: Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
+ type: string
maxLength: 32768
ConfigurationProfile:
type: object
properties:
- LocationUri:
+ ConfigurationProfileId:
+ description: The configuration profile ID
type: string
- description: A URI to locate the configuration. You can specify the AWS AppConfig hosted configuration store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object.
+ LocationUri:
minLength: 1
+ description: A URI to locate the configuration. You can specify the AWS AppConfig hosted configuration store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object.
+ type: string
maxLength: 2048
Type:
- type: string
- description: 'The type of configurations contained in the profile. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags, AWS.Freeform'
pattern: ^[a-zA-Z\.]+
- Description:
+ description: 'The type of configurations contained in the profile. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags, AWS.Freeform'
type: string
- description: A description of the configuration profile.
+ KmsKeyIdentifier:
+ pattern: ^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}|alias/[a-zA-Z0-9/_-]{1,250}|arn:aws[a-zA-Z-]*:kms:((eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1})?:(key/[0-9a-f-]{36}|alias/[a-zA-Z0-9/_-]{1,250})$
+ description: The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
+ type: string
+ Description:
minLength: 0
+ description: A description of the configuration profile.
+ type: string
maxLength: 1024
+ KmsKeyArn:
+ minLength: 20
+ pattern: arn:(aws[a-zA-Z-]*)?:[a-z]+:((eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1})?:(\d{12})?:[a-zA-Z0-9-_/:.]+
+ description: The Amazon Resource Name of the AWS Key Management Service key to encrypt new configuration data versions in the AWS AppConfig hosted configuration store. This attribute is only used for hosted configuration types. To encrypt data managed in other configuration stores, see the documentation for how to specify an AWS KMS key for that particular service.
+ type: string
+ maxLength: 2048
Validators:
- type: array
- description: A list of methods for validating the configuration.
+ maxItems: 2
uniqueItems: false
+ description: A list of methods for validating the configuration.
+ x-insertionOrder: false
+ type: array
items:
$ref: '#/components/schemas/Validators'
- x-insertionOrder: false
- maxItems: 2
RetrievalRoleArn:
- type: string
- description: The ARN of an IAM role with permission to access the configuration at the specified LocationUri.
minLength: 20
+ pattern: ^((arn):(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov|aws-eusc):(iam)::\d{12}:role[/].*)$
+ description: The ARN of an IAM role with permission to access the configuration at the specified LocationUri.
+ type: string
maxLength: 2048
- pattern: ^((arn):(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):(iam)::\d{12}:role[/].*)$
- ConfigurationProfileId:
+ DeletionProtectionCheck:
+ description: On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
type: string
- description: The configuration profile ID
+ enum:
+ - ACCOUNT_DEFAULT
+ - APPLY
+ - BYPASS
ApplicationId:
- type: string
- description: The application ID.
pattern: '[a-z0-9]{4,7}'
+ description: The application ID.
+ type: string
Tags:
- type: array
- description: Metadata to assign to the configuration profile. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
uniqueItems: false
+ description: Metadata to assign to the configuration profile. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
+ x-insertionOrder: false
+ type: array
items:
$ref: '#/components/schemas/Tags'
- x-insertionOrder: false
Name:
- type: string
- description: A name for the configuration profile.
minLength: 1
- maxLength: 128
- KmsKeyIdentifier:
- type: string
- description: The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
- pattern: ^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}|alias/[a-zA-Z0-9/_-]{1,250}|arn:aws[a-zA-Z-]*:kms:[a-z]{2}(-gov|-iso(b?))?-[a-z]+-\d{1}:\d{12}:(key/[0-9a-f-]{36}|alias/[a-zA-Z0-9/_-]{1,250})$
- KmsKeyArn:
+ description: A name for the configuration profile.
type: string
- description: The Amazon Resource Name of the AWS Key Management Service key to encrypt new configuration data versions in the AWS AppConfig hosted configuration store. This attribute is only used for hosted configuration types. To encrypt data managed in other configuration stores, see the documentation for how to specify an AWS KMS key for that particular service.
- minLength: 20
- maxLength: 2048
- pattern: arn:(aws[a-zA-Z-]*)?:[a-z]+:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1})?:(\d{12})?:[a-zA-Z0-9-_/:.]+
+ maxLength: 128
required:
- LocationUri
- ApplicationId
- Name
x-stackql-resource-name: configuration_profile
- x-stackql-primaryIdentifier:
+ description: An example resource schema demonstrating some basic constructs and validation rules.
+ x-type-name: AWS::AppConfig::ConfigurationProfile
+ x-stackql-primary-identifier:
- ApplicationId
- ConfigurationProfileId
x-create-only-properties:
- LocationUri
- Type
- ApplicationId
+ x-write-only-properties:
+ - DeletionProtectionCheck
x-read-only-properties:
- ConfigurationProfileId
- KmsKeyArn
+ x-required-properties:
+ - LocationUri
+ - ApplicationId
+ - Name
+ x-tagging:
+ permissions:
+ - appconfig:TagResource
+ - appconfig:UntagResource
+ - appconfig:ListTagsForResource
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ tagProperty: /properties/Tags
+ cloudFormationSystemTags: true
x-required-permissions:
+ read:
+ - appconfig:GetConfigurationProfile
+ - appconfig:ListTagsForResource
create:
- appconfig:CreateConfigurationProfile
- appconfig:GetConfigurationProfile
- appconfig:TagResource
- appconfig:ListTagsForResource
- iam:PassRole
- read:
- - appconfig:GetConfigurationProfile
- - appconfig:ListTagsForResource
update:
- appconfig:UpdateConfigurationProfile
- appconfig:TagResource
- appconfig:UntagResource
- iam:PassRole
- delete:
- - appconfig:DeleteConfigurationProfile
list:
- appconfig:ListConfigurationProfiles
- Monitor:
- type: object
- description: Amazon CloudWatch alarm to monitor during the deployment process.
- additionalProperties: false
- properties:
- AlarmArn:
- type: string
- description: Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
- minLength: 1
- maxLength: 2048
- AlarmRoleArn:
- type: string
- description: ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn.
- minLength: 20
- maxLength: 2048
- pattern: ^((arn):(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):(iam)::\d{12}:role[/].*)$
- required:
- - AlarmArn
+ delete:
+ - appconfig:DeleteConfigurationProfile
Tag:
description: A key-value pair to associate with a resource.
type: object
@@ -208,73 +608,333 @@ components:
- Key
- Value
additionalProperties: false
- Environment:
+ DynamicExtensionParameters:
+ additionalProperties: false
type: object
properties:
- EnvironmentId:
+ ParameterValue:
type: string
+ ExtensionReference:
+ type: string
+ ParameterName:
+ type: string
+ Deployment:
+ type: object
+ properties:
+ DeploymentStrategyId:
+ description: The deployment strategy ID.
+ type: string
+ ConfigurationProfileId:
+ description: The configuration profile ID.
+ type: string
+ EnvironmentId:
description: The environment ID.
- pattern: '[a-z0-9]{4,7}'
- ApplicationId:
type: string
+ KmsKeyIdentifier:
+ pattern: ^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}|alias/[a-zA-Z0-9/_-]{1,250}|arn:aws[a-zA-Z-]*:kms:[a-z]{2}(-gov|-iso(b?))?-[a-z]+-\d{1}:\d{12}:(key/[0-9a-f-]{36}|alias/[a-zA-Z0-9/_-]{1,250})$
+ description: The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
+ type: string
+ Description:
+ description: A description of the deployment.
+ type: string
+ ConfigurationVersion:
+ description: The configuration version to deploy. If deploying an AWS AppConfig hosted configuration version, you can specify either the version number or version label. For all other configurations, you must specify the version number.
+ type: string
+ State:
+ description: The state of the deployment.
+ type: string
+ enum:
+ - BAKING
+ - VALIDATING
+ - DEPLOYING
+ - COMPLETE
+ - ROLLING_BACK
+ - ROLLED_BACK
+ - REVERTED
+ DeploymentNumber:
+ description: The sequence number of the deployment.
+ type: string
+ ApplicationId:
description: The application ID.
+ type: string
+ DynamicExtensionParameters:
+ uniqueItems: false
+ type: array
+ items:
+ $ref: '#/components/schemas/DynamicExtensionParameters'
+ Tags:
+ uniqueItems: true
+ description: An array of key-value pairs to apply to this resource.
+ x-insertionOrder: false
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ required:
+ - ApplicationId
+ - ConfigurationProfileId
+ - DeploymentStrategyId
+ - EnvironmentId
+ - ConfigurationVersion
+ x-stackql-resource-name: deployment
+ description: Resource Type definition for AWS::AppConfig::Deployment
+ x-type-name: AWS::AppConfig::Deployment
+ x-stackql-primary-identifier:
+ - ApplicationId
+ - EnvironmentId
+ - DeploymentNumber
+ x-create-only-properties:
+ - ApplicationId
+ - ConfigurationProfileId
+ - DeploymentStrategyId
+ - EnvironmentId
+ - Description
+ - ConfigurationVersion
+ - KmsKeyIdentifier
+ - DynamicExtensionParameters
+ - Tags
+ x-write-only-properties:
+ - DynamicExtensionParameters
+ x-read-only-properties:
+ - DeploymentNumber
+ - State
+ x-required-properties:
+ - ApplicationId
+ - ConfigurationProfileId
+ - DeploymentStrategyId
+ - EnvironmentId
+ - ConfigurationVersion
+ x-tagging:
+ permissions:
+ - appconfig:TagResource
+ - appconfig:UntagResource
+ - appconfig:ListTagsForResource
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: false
+ tagProperty: /properties/Tags
+ cloudFormationSystemTags: true
+ x-required-permissions:
+ read:
+ - appconfig:GetDeployment
+ - appconfig:ListTagsForResource
+ create:
+ - appconfig:StartDeployment
+ - appconfig:GetDeployment
+ - appconfig:TagResource
+ - appconfig:ListTagsForResource
+ - kms:GenerateDataKey
+ list:
+ - appconfig:ListDeployments
+ delete:
+ - appconfig:StopDeployment
+ DeploymentStrategy:
+ type: object
+ properties:
+ DeploymentDurationInMinutes:
+ type: number
+ description: Total amount of time for a deployment to last.
+ Description:
+ type: string
+ description: A description of the deployment strategy.
+ FinalBakeTimeInMinutes:
+ type: number
+ description: >-
+ Specifies the amount of time AWS AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is triggered during this time, AWS AppConfig rolls back the deployment. You must configure permissions for AWS AppConfig to roll back based on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the AWS AppConfig
+ User Guide.
+ GrowthFactor:
+ type: number
+ description: The percentage of targets to receive a deployed configuration during each interval.
+ GrowthType:
+ type: string
+ description: |-
+ The algorithm used to define how percentage grows over time. AWS AppConfig supports the following growth types:
+
+ Linear: For this type, AWS AppConfig processes the deployment by dividing the total number of targets by the value specified for Step percentage. For example, a linear deployment that uses a Step percentage of 10 deploys the configuration to 10 percent of the hosts. After those deployments are complete, the system deploys the configuration to the next 10 percent. This continues until 100% of the targets have successfully received the configuration.
+
+ Exponential: For this type, AWS AppConfig processes the deployment exponentially using the following formula: G*(2^N). In this formula, G is the growth factor specified by the user and N is the number of steps until the configuration is deployed to all targets. For example, if you specify a growth factor of 2, then the system rolls out the configuration as follows:
+
+ 2*(2^0)
+
+ 2*(2^1)
+
+ 2*(2^2)
+
+ Expressed numerically, the deployment rolls out as follows: 2% of the targets, 4% of the targets, 8% of the targets, and continues until the configuration has been deployed to all targets.
+ enum:
+ - EXPONENTIAL
+ - LINEAR
+ Name:
+ type: string
+ description: A name for the deployment strategy.
+ ReplicateTo:
+ type: string
+ description: Save the deployment strategy to a Systems Manager (SSM) document.
+ enum:
+ - NONE
+ - SSM_DOCUMENT
+ Tags:
+ type: array
+ description: Assigns metadata to an AWS AppConfig resource. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/Tag'
+ Id:
+ type: string
+ description: The deployment strategy ID.
+ required:
+ - DeploymentDurationInMinutes
+ - GrowthFactor
+ - Name
+ - ReplicateTo
+ x-stackql-resource-name: deployment_strategy
+ description: Resource Type definition for AWS::AppConfig::DeploymentStrategy
+ x-type-name: AWS::AppConfig::DeploymentStrategy
+ x-stackql-primary-identifier:
+ - Id
+ x-create-only-properties:
+ - Name
+ - ReplicateTo
+ x-read-only-properties:
+ - Id
+ x-required-properties:
+ - DeploymentDurationInMinutes
+ - GrowthFactor
+ - Name
+ - ReplicateTo
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - appconfig:TagResource
+ - appconfig:UntagResource
+ - appconfig:ListTagsForResource
+ x-required-permissions:
+ create:
+ - appconfig:CreateDeploymentStrategy
+ - appconfig:TagResource
+ read:
+ - appconfig:GetDeploymentStrategy
+ - appconfig:ListTagsForResource
+ update:
+ - appconfig:UpdateDeploymentStrategy
+ - appconfig:TagResource
+ - appconfig:UntagResource
+ delete:
+ - appconfig:DeleteDeploymentStrategy
+ list:
+ - appconfig:ListDeploymentStrategies
+ Monitor:
+ description: Amazon CloudWatch alarm to monitor during the deployment process.
+ additionalProperties: false
+ type: object
+ properties:
+ AlarmArn:
+ minLength: 1
+ description: Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
+ type: string
+ maxLength: 2048
+ AlarmRoleArn:
+ minLength: 20
+ description: ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn.
+ type: string
+ maxLength: 2048
+ required:
+ - AlarmArn
+ Environment:
+ type: object
+ properties:
+ EnvironmentId:
pattern: '[a-z0-9]{4,7}'
- Name:
+ description: The environment ID.
type: string
- description: A name for the environment.
- minLength: 1
- maxLength: 64
Description:
- type: string
- description: A description of the environment.
minLength: 0
+ description: A description of the environment.
+ type: string
maxLength: 1024
Monitors:
- type: array
+ minItems: 0
+ maxItems: 5
description: Amazon CloudWatch alarms to monitor during the deployment process.
x-insertionOrder: false
+ type: array
items:
$ref: '#/components/schemas/Monitor'
- minItems: 0
- maxItems: 5
+ DeletionProtectionCheck:
+ description: On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
+ type: string
+ enum:
+ - ACCOUNT_DEFAULT
+ - APPLY
+ - BYPASS
+ ApplicationId:
+ pattern: '[a-z0-9]{4,7}'
+ description: The application ID.
+ type: string
Tags:
- type: array
- description: Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
uniqueItems: true
+ description: Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
+ x-insertionOrder: false
+ type: array
items:
$ref: '#/components/schemas/Tag'
- x-insertionOrder: false
+ Name:
+ minLength: 1
+ description: A name for the environment.
+ type: string
+ maxLength: 64
required:
- Name
- ApplicationId
x-stackql-resource-name: environment
- x-stackql-primaryIdentifier:
+ description: Resource Type definition for AWS::AppConfig::Environment
+ x-type-name: AWS::AppConfig::Environment
+ x-stackql-primary-identifier:
- ApplicationId
- EnvironmentId
x-create-only-properties:
- ApplicationId
+ x-write-only-properties:
+ - DeletionProtectionCheck
x-read-only-properties:
- EnvironmentId
+ x-required-properties:
+ - Name
+ - ApplicationId
+ x-tagging:
+ permissions:
+ - appconfig:TagResource
+ - appconfig:UntagResource
+ - appconfig:ListTagsForResource
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ tagProperty: /properties/Tags
+ cloudFormationSystemTags: true
x-required-permissions:
+ read:
+ - appconfig:GetEnvironment
+ - appconfig:ListTagsForResource
create:
- appconfig:CreateEnvironment
- appconfig:GetEnvironment
- appconfig:ListTagsForResource
- appconfig:TagResource
- iam:PassRole
- read:
- - appconfig:GetEnvironment
- - appconfig:ListTagsForResource
update:
- appconfig:UpdateEnvironment
- appconfig:TagResource
- appconfig:UntagResource
- iam:PassRole
+ list:
+ - appconfig:ListEnvironments
delete:
- appconfig:GetEnvironment
- appconfig:DeleteEnvironment
- list:
- - appconfig:ListEnvironments
Actions:
description: A list of actions for an extension to take at a specific action point.
uniqueItems: true
@@ -319,6 +979,8 @@ components:
description: The description of the extension Parameter.
minLength: 0
maxLength: 1024
+ Dynamic:
+ type: boolean
Required:
type: boolean
required:
@@ -356,7 +1018,7 @@ components:
Tags:
description: An array of key-value tags to apply to this resource.
type: array
- uniqueItems: false
+ uniqueItems: true
x-insertionOrder: false
items:
$ref: '#/components/schemas/Tag'
@@ -364,17 +1026,31 @@ components:
- Name
- Actions
x-stackql-resource-name: extension
- x-stackql-primaryIdentifier:
+ description: Resource Type definition for AWS::AppConfig::Extension
+ x-type-name: AWS::AppConfig::Extension
+ x-stackql-primary-identifier:
- Id
x-create-only-properties:
- Name
- - Tags
- - Tags/*/Key
- - Tags/*/Value
+ x-write-only-properties:
+ - LatestVersionNumber
x-read-only-properties:
- Id
- Arn
- VersionNumber
+ x-required-properties:
+ - Name
+ - Actions
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - appconfig:TagResource
+ - appconfig:UntagResource
+ - appconfig:ListTagsForResource
x-required-permissions:
create:
- appconfig:CreateExtension
@@ -382,6 +1058,7 @@ components:
- iam:PassRole
read:
- appconfig:GetExtension
+ - appconfig:ListTagsForResource
update:
- appconfig:UpdateExtension
- appconfig:TagResource
@@ -417,31 +1094,44 @@ components:
Tags:
description: An array of key-value pairs to apply to this resource.
type: array
- uniqueItems: false
+ uniqueItems: true
x-insertionOrder: false
items:
$ref: '#/components/schemas/Tag'
x-stackql-resource-name: extension_association
- x-stackql-primaryIdentifier:
+ description: An example resource schema demonstrating some basic constructs and validation rules.
+ x-type-name: AWS::AppConfig::ExtensionAssociation
+ x-stackql-primary-identifier:
- Id
x-create-only-properties:
- ExtensionIdentifier
- ResourceIdentifier
- ExtensionVersionNumber
- - Tags
- - Tags/*/Key
- - Tags/*/Value
+ x-write-only-properties:
+ - ExtensionIdentifier
+ - ResourceIdentifier
x-read-only-properties:
- Id
- Arn
- ResourceArn
- ExtensionArn
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - appconfig:TagResource
+ - appconfig:UntagResource
+ - appconfig:ListTagsForResource
x-required-permissions:
create:
- appconfig:CreateExtensionAssociation
- appconfig:TagResource
read:
- appconfig:GetExtensionAssociation
+ - appconfig:ListTagsForResource
update:
- appconfig:UpdateExtensionAssociation
- appconfig:TagResource
@@ -454,46 +1144,48 @@ components:
HostedConfigurationVersion:
type: object
properties:
- ApplicationId:
- type: string
- description: The application ID.
- pattern: '[a-z0-9]{4,7}'
ConfigurationProfileId:
- type: string
- description: The configuration profile ID.
pattern: '[a-z0-9]{4,7}'
- VersionNumber:
+ description: The configuration profile ID.
type: string
- description: Current version number of hosted configuration version.
Description:
- type: string
- description: A description of the hosted configuration version.
minLength: 0
- maxLength: 1024
- Content:
+ description: A description of the hosted configuration version.
type: string
- description: The content of the configuration or the configuration data.
+ maxLength: 1024
ContentType:
- type: string
- description: A standard MIME type describing the format of the configuration content.
minLength: 1
+ description: A standard MIME type describing the format of the configuration content.
+ type: string
maxLength: 255
LatestVersionNumber:
- type: integer
description: An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.
- VersionLabel:
+ type: integer
+ Content:
+ description: The content of the configuration or the configuration data.
type: string
- description: A user-defined label for an AWS AppConfig hosted configuration version.
- pattern: ^$|.*[^0-9].*
+ VersionLabel:
minLength: 0
+ pattern: ^$|.*[^0-9].*
+ description: A user-defined label for an AWS AppConfig hosted configuration version.
+ type: string
maxLength: 64
+ ApplicationId:
+ pattern: '[a-z0-9]{4,7}'
+ description: The application ID.
+ type: string
+ VersionNumber:
+ description: Current version number of hosted configuration version.
+ type: string
required:
- ApplicationId
- ConfigurationProfileId
- Content
- ContentType
x-stackql-resource-name: hosted_configuration_version
- x-stackql-primaryIdentifier:
+ description: Resource Type definition for AWS::AppConfig::HostedConfigurationVersion
+ x-type-name: AWS::AppConfig::HostedConfigurationVersion
+ x-stackql-primary-identifier:
- ApplicationId
- ConfigurationProfileId
- VersionNumber
@@ -505,25 +1197,582 @@ components:
- ContentType
- LatestVersionNumber
- VersionLabel
+ x-write-only-properties:
+ - LatestVersionNumber
x-read-only-properties:
- VersionNumber
+ x-required-properties:
+ - ApplicationId
+ - ConfigurationProfileId
+ - Content
+ - ContentType
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
- create:
- - appconfig:CreateHostedConfigurationVersion
read:
- appconfig:GetHostedConfigurationVersion
- delete:
- - appconfig:DeleteHostedConfigurationVersion
+ create:
+ - appconfig:CreateHostedConfigurationVersion
list:
- appconfig:ListHostedConfigurationVersions
+ delete:
+ - appconfig:DeleteHostedConfigurationVersion
+ CreateApplicationRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Description:
+ type: string
+ description: A description of the application.
+ ApplicationId:
+ type: string
+ description: The application Id
+ Tags:
+ type: array
+ description: Metadata to assign to the application. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
+ uniqueItems: true
+ items:
+ $ref: '#/components/schemas/Tags'
+ x-insertionOrder: false
+ Name:
+ type: string
+ description: A name for the application.
+ x-stackQL-stringOnly: true
+ x-title: CreateApplicationRequest
+ type: object
+ required: []
+ CreateConfigurationProfileRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ConfigurationProfileId:
+ description: The configuration profile ID
+ type: string
+ LocationUri:
+ minLength: 1
+ description: A URI to locate the configuration. You can specify the AWS AppConfig hosted configuration store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object.
+ type: string
+ maxLength: 2048
+ Type:
+ pattern: ^[a-zA-Z\.]+
+ description: 'The type of configurations contained in the profile. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags, AWS.Freeform'
+ type: string
+ KmsKeyIdentifier:
+ pattern: ^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}|alias/[a-zA-Z0-9/_-]{1,250}|arn:aws[a-zA-Z-]*:kms:((eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1})?:(key/[0-9a-f-]{36}|alias/[a-zA-Z0-9/_-]{1,250})$
+ description: The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
+ type: string
+ Description:
+ minLength: 0
+ description: A description of the configuration profile.
+ type: string
+ maxLength: 1024
+ KmsKeyArn:
+ minLength: 20
+ pattern: arn:(aws[a-zA-Z-]*)?:[a-z]+:((eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1})?:(\d{12})?:[a-zA-Z0-9-_/:.]+
+ description: The Amazon Resource Name of the AWS Key Management Service key to encrypt new configuration data versions in the AWS AppConfig hosted configuration store. This attribute is only used for hosted configuration types. To encrypt data managed in other configuration stores, see the documentation for how to specify an AWS KMS key for that particular service.
+ type: string
+ maxLength: 2048
+ Validators:
+ maxItems: 2
+ uniqueItems: false
+ description: A list of methods for validating the configuration.
+ x-insertionOrder: false
+ type: array
+ items:
+ $ref: '#/components/schemas/Validators'
+ RetrievalRoleArn:
+ minLength: 20
+ pattern: ^((arn):(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov|aws-eusc):(iam)::\d{12}:role[/].*)$
+ description: The ARN of an IAM role with permission to access the configuration at the specified LocationUri.
+ type: string
+ maxLength: 2048
+ DeletionProtectionCheck:
+ description: On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
+ type: string
+ enum:
+ - ACCOUNT_DEFAULT
+ - APPLY
+ - BYPASS
+ ApplicationId:
+ pattern: '[a-z0-9]{4,7}'
+ description: The application ID.
+ type: string
+ Tags:
+ uniqueItems: false
+ description: Metadata to assign to the configuration profile. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
+ x-insertionOrder: false
+ type: array
+ items:
+ $ref: '#/components/schemas/Tags'
+ Name:
+ minLength: 1
+ description: A name for the configuration profile.
+ type: string
+ maxLength: 128
+ x-stackQL-stringOnly: true
+ x-title: CreateConfigurationProfileRequest
+ type: object
+ required: []
+ CreateDeploymentRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ DeploymentStrategyId:
+ description: The deployment strategy ID.
+ type: string
+ ConfigurationProfileId:
+ description: The configuration profile ID.
+ type: string
+ EnvironmentId:
+ description: The environment ID.
+ type: string
+ KmsKeyIdentifier:
+ pattern: ^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}|alias/[a-zA-Z0-9/_-]{1,250}|arn:aws[a-zA-Z-]*:kms:[a-z]{2}(-gov|-iso(b?))?-[a-z]+-\d{1}:\d{12}:(key/[0-9a-f-]{36}|alias/[a-zA-Z0-9/_-]{1,250})$
+ description: The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
+ type: string
+ Description:
+ description: A description of the deployment.
+ type: string
+ ConfigurationVersion:
+ description: The configuration version to deploy. If deploying an AWS AppConfig hosted configuration version, you can specify either the version number or version label. For all other configurations, you must specify the version number.
+ type: string
+ State:
+ description: The state of the deployment.
+ type: string
+ enum:
+ - BAKING
+ - VALIDATING
+ - DEPLOYING
+ - COMPLETE
+ - ROLLING_BACK
+ - ROLLED_BACK
+ - REVERTED
+ DeploymentNumber:
+ description: The sequence number of the deployment.
+ type: string
+ ApplicationId:
+ description: The application ID.
+ type: string
+ DynamicExtensionParameters:
+ uniqueItems: false
+ type: array
+ items:
+ $ref: '#/components/schemas/DynamicExtensionParameters'
+ Tags:
+ uniqueItems: true
+ description: An array of key-value pairs to apply to this resource.
+ x-insertionOrder: false
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-stackQL-stringOnly: true
+ x-title: CreateDeploymentRequest
+ type: object
+ required: []
+ CreateDeploymentStrategyRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ DeploymentDurationInMinutes:
+ type: number
+ description: Total amount of time for a deployment to last.
+ Description:
+ type: string
+ description: A description of the deployment strategy.
+ FinalBakeTimeInMinutes:
+ type: number
+ description: >-
+ Specifies the amount of time AWS AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is triggered during this time, AWS AppConfig rolls back the deployment. You must configure permissions for AWS AppConfig to roll back based on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the AWS
+ AppConfig User Guide.
+ GrowthFactor:
+ type: number
+ description: The percentage of targets to receive a deployed configuration during each interval.
+ GrowthType:
+ type: string
+ description: |-
+ The algorithm used to define how percentage grows over time. AWS AppConfig supports the following growth types:
+
+ Linear: For this type, AWS AppConfig processes the deployment by dividing the total number of targets by the value specified for Step percentage. For example, a linear deployment that uses a Step percentage of 10 deploys the configuration to 10 percent of the hosts. After those deployments are complete, the system deploys the configuration to the next 10 percent. This continues until 100% of the targets have successfully received the configuration.
+
+ Exponential: For this type, AWS AppConfig processes the deployment exponentially using the following formula: G*(2^N). In this formula, G is the growth factor specified by the user and N is the number of steps until the configuration is deployed to all targets. For example, if you specify a growth factor of 2, then the system rolls out the configuration as follows:
+
+ 2*(2^0)
+
+ 2*(2^1)
+
+ 2*(2^2)
+
+ Expressed numerically, the deployment rolls out as follows: 2% of the targets, 4% of the targets, 8% of the targets, and continues until the configuration has been deployed to all targets.
+ enum:
+ - EXPONENTIAL
+ - LINEAR
+ Name:
+ type: string
+ description: A name for the deployment strategy.
+ ReplicateTo:
+ type: string
+ description: Save the deployment strategy to a Systems Manager (SSM) document.
+ enum:
+ - NONE
+ - SSM_DOCUMENT
+ Tags:
+ type: array
+ description: Assigns metadata to an AWS AppConfig resource. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/Tag'
+ Id:
+ type: string
+ description: The deployment strategy ID.
+ x-stackQL-stringOnly: true
+ x-title: CreateDeploymentStrategyRequest
+ type: object
+ required: []
+ CreateEnvironmentRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ EnvironmentId:
+ pattern: '[a-z0-9]{4,7}'
+ description: The environment ID.
+ type: string
+ Description:
+ minLength: 0
+ description: A description of the environment.
+ type: string
+ maxLength: 1024
+ Monitors:
+ minItems: 0
+ maxItems: 5
+ description: Amazon CloudWatch alarms to monitor during the deployment process.
+ x-insertionOrder: false
+ type: array
+ items:
+ $ref: '#/components/schemas/Monitor'
+ DeletionProtectionCheck:
+ description: On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
+ type: string
+ enum:
+ - ACCOUNT_DEFAULT
+ - APPLY
+ - BYPASS
+ ApplicationId:
+ pattern: '[a-z0-9]{4,7}'
+ description: The application ID.
+ type: string
+ Tags:
+ uniqueItems: true
+ description: Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
+ x-insertionOrder: false
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ Name:
+ minLength: 1
+ description: A name for the environment.
+ type: string
+ maxLength: 64
+ x-stackQL-stringOnly: true
+ x-title: CreateEnvironmentRequest
+ type: object
+ required: []
+ CreateExtensionRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Id:
+ type: string
+ Arn:
+ type: string
+ VersionNumber:
+ type: integer
+ Name:
+ description: Name of the extension.
+ type: string
+ Description:
+ description: Description of the extension.
+ type: string
+ Actions:
+ type: object
+ x-patternProperties:
+ ^.+$:
+ $ref: '#/components/schemas/Actions'
+ additionalProperties: false
+ Parameters:
+ type: object
+ x-patternProperties:
+ ^.+$:
+ $ref: '#/components/schemas/Parameter'
+ additionalProperties: false
+ LatestVersionNumber:
+ type: integer
+ Tags:
+ description: An array of key-value tags to apply to this resource.
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-stackQL-stringOnly: true
+ x-title: CreateExtensionRequest
+ type: object
+ required: []
+ CreateExtensionAssociationRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Id:
+ type: string
+ Arn:
+ type: string
+ ExtensionArn:
+ type: string
+ ResourceArn:
+ type: string
+ ExtensionIdentifier:
+ type: string
+ ResourceIdentifier:
+ type: string
+ ExtensionVersionNumber:
+ type: integer
+ Parameters:
+ type: object
+ x-patternProperties:
+ ^.+$:
+ type: string
+ additionalProperties: false
+ Tags:
+ description: An array of key-value pairs to apply to this resource.
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-stackQL-stringOnly: true
+ x-title: CreateExtensionAssociationRequest
+ type: object
+ required: []
+ CreateHostedConfigurationVersionRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ConfigurationProfileId:
+ pattern: '[a-z0-9]{4,7}'
+ description: The configuration profile ID.
+ type: string
+ Description:
+ minLength: 0
+ description: A description of the hosted configuration version.
+ type: string
+ maxLength: 1024
+ ContentType:
+ minLength: 1
+ description: A standard MIME type describing the format of the configuration content.
+ type: string
+ maxLength: 255
+ LatestVersionNumber:
+ description: An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.
+ type: integer
+ Content:
+ description: The content of the configuration or the configuration data.
+ type: string
+ VersionLabel:
+ minLength: 0
+ pattern: ^$|.*[^0-9].*
+ description: A user-defined label for an AWS AppConfig hosted configuration version.
+ type: string
+ maxLength: 64
+ ApplicationId:
+ pattern: '[a-z0-9]{4,7}'
+ description: The application ID.
+ type: string
+ VersionNumber:
+ description: Current version number of hosted configuration version.
+ type: string
+ x-stackQL-stringOnly: true
+ x-title: CreateHostedConfigurationVersionRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
x-stackQL-resources:
applications:
name: applications
id: awscc.appconfig.applications
x-cfn-schema-name: Application
- x-type: list
+ x-cfn-type-name: AWS::AppConfig::Application
+ x-identifiers:
+ - ApplicationId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::Application"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::Application"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::Application"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/applications/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/applications/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/applications/methods/update_resource'
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.Description') as description,
+ JSON_EXTRACT(Properties, '$.ApplicationId') as application_id,
+ JSON_EXTRACT(Properties, '$.Tags') as tags,
+ JSON_EXTRACT(Properties, '$.Name') as name
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::Application'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'Description') as description,
+ json_extract_path_text(Properties, 'ApplicationId') as application_id,
+ json_extract_path_text(Properties, 'Tags') as tags,
+ json_extract_path_text(Properties, 'Name') as name
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::Application'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ applications_list_only:
+ name: applications_list_only
+ id: awscc.appconfig.applications_list_only
+ x-cfn-schema-name: Application
+ x-cfn-type-name: AWS::AppConfig::Application
x-identifiers:
- ApplicationId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -542,49 +1791,120 @@ components:
json_extract_path_text(Properties, 'ApplicationId') as application_id
FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::Application'
AND region = 'us-east-1'
- application:
- name: application
- id: awscc.appconfig.application
- x-cfn-schema-name: Application
- x-type: get
+ configuration_profiles:
+ name: configuration_profiles
+ id: awscc.appconfig.configuration_profiles
+ x-cfn-schema-name: ConfigurationProfile
+ x-cfn-type-name: AWS::AppConfig::ConfigurationProfile
x-identifiers:
- ApplicationId
+ - ConfigurationProfileId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConfigurationProfile&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::ConfigurationProfile"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::ConfigurationProfile"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::ConfigurationProfile"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/configuration_profiles/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/configuration_profiles/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/configuration_profiles/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
+ JSON_EXTRACT(Properties, '$.ConfigurationProfileId') as configuration_profile_id,
+ JSON_EXTRACT(Properties, '$.LocationUri') as location_uri,
+ JSON_EXTRACT(Properties, '$.Type') as type,
+ JSON_EXTRACT(Properties, '$.KmsKeyIdentifier') as kms_key_identifier,
JSON_EXTRACT(Properties, '$.Description') as description,
+ JSON_EXTRACT(Properties, '$.KmsKeyArn') as kms_key_arn,
+ JSON_EXTRACT(Properties, '$.Validators') as validators,
+ JSON_EXTRACT(Properties, '$.RetrievalRoleArn') as retrieval_role_arn,
+ JSON_EXTRACT(Properties, '$.DeletionProtectionCheck') as deletion_protection_check,
JSON_EXTRACT(Properties, '$.ApplicationId') as application_id,
JSON_EXTRACT(Properties, '$.Tags') as tags,
JSON_EXTRACT(Properties, '$.Name') as name
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::Application'
- AND data__Identifier = ''
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::ConfigurationProfile'
+ AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
+ json_extract_path_text(Properties, 'ConfigurationProfileId') as configuration_profile_id,
+ json_extract_path_text(Properties, 'LocationUri') as location_uri,
+ json_extract_path_text(Properties, 'Type') as type,
+ json_extract_path_text(Properties, 'KmsKeyIdentifier') as kms_key_identifier,
json_extract_path_text(Properties, 'Description') as description,
+ json_extract_path_text(Properties, 'KmsKeyArn') as kms_key_arn,
+ json_extract_path_text(Properties, 'Validators') as validators,
+ json_extract_path_text(Properties, 'RetrievalRoleArn') as retrieval_role_arn,
+ json_extract_path_text(Properties, 'DeletionProtectionCheck') as deletion_protection_check,
json_extract_path_text(Properties, 'ApplicationId') as application_id,
json_extract_path_text(Properties, 'Tags') as tags,
json_extract_path_text(Properties, 'Name') as name
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::Application'
- AND data__Identifier = ''
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::ConfigurationProfile'
+ AND data__Identifier = '|'
AND region = 'us-east-1'
- configuration_profiles:
- name: configuration_profiles
- id: awscc.appconfig.configuration_profiles
+ configuration_profiles_list_only:
+ name: configuration_profiles_list_only
+ id: awscc.appconfig.configuration_profiles_list_only
x-cfn-schema-name: ConfigurationProfile
- x-type: list
+ x-cfn-type-name: AWS::AppConfig::ConfigurationProfile
x-identifiers:
- ApplicationId
- ConfigurationProfileId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -605,64 +1925,107 @@ components:
json_extract_path_text(Properties, 'ConfigurationProfileId') as configuration_profile_id
FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::ConfigurationProfile'
AND region = 'us-east-1'
- configuration_profile:
- name: configuration_profile
- id: awscc.appconfig.configuration_profile
- x-cfn-schema-name: ConfigurationProfile
- x-type: get
+ deployments:
+ name: deployments
+ id: awscc.appconfig.deployments
+ x-cfn-schema-name: Deployment
+ x-cfn-type-name: AWS::AppConfig::Deployment
x-identifiers:
- ApplicationId
- - ConfigurationProfileId
+ - EnvironmentId
+ - DeploymentNumber
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Deployment&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::Deployment"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::Deployment"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/deployments/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/deployments/methods/delete_resource'
+ update: []
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
- JSON_EXTRACT(Properties, '$.LocationUri') as location_uri,
- JSON_EXTRACT(Properties, '$.Type') as type,
- JSON_EXTRACT(Properties, '$.Description') as description,
- JSON_EXTRACT(Properties, '$.Validators') as validators,
- JSON_EXTRACT(Properties, '$.RetrievalRoleArn') as retrieval_role_arn,
+ JSON_EXTRACT(Properties, '$.DeploymentStrategyId') as deployment_strategy_id,
JSON_EXTRACT(Properties, '$.ConfigurationProfileId') as configuration_profile_id,
- JSON_EXTRACT(Properties, '$.ApplicationId') as application_id,
- JSON_EXTRACT(Properties, '$.Tags') as tags,
- JSON_EXTRACT(Properties, '$.Name') as name,
+ JSON_EXTRACT(Properties, '$.EnvironmentId') as environment_id,
JSON_EXTRACT(Properties, '$.KmsKeyIdentifier') as kms_key_identifier,
- JSON_EXTRACT(Properties, '$.KmsKeyArn') as kms_key_arn
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::ConfigurationProfile'
- AND data__Identifier = '|'
+ JSON_EXTRACT(Properties, '$.Description') as description,
+ JSON_EXTRACT(Properties, '$.ConfigurationVersion') as configuration_version,
+ JSON_EXTRACT(Properties, '$.State') as state,
+ JSON_EXTRACT(Properties, '$.DeploymentNumber') as deployment_number,
+ JSON_EXTRACT(Properties, '$.ApplicationId') as application_id,
+ JSON_EXTRACT(Properties, '$.DynamicExtensionParameters') as dynamic_extension_parameters,
+ JSON_EXTRACT(Properties, '$.Tags') as tags
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::Deployment'
+ AND data__Identifier = '||'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
- json_extract_path_text(Properties, 'LocationUri') as location_uri,
- json_extract_path_text(Properties, 'Type') as type,
- json_extract_path_text(Properties, 'Description') as description,
- json_extract_path_text(Properties, 'Validators') as validators,
- json_extract_path_text(Properties, 'RetrievalRoleArn') as retrieval_role_arn,
+ json_extract_path_text(Properties, 'DeploymentStrategyId') as deployment_strategy_id,
json_extract_path_text(Properties, 'ConfigurationProfileId') as configuration_profile_id,
- json_extract_path_text(Properties, 'ApplicationId') as application_id,
- json_extract_path_text(Properties, 'Tags') as tags,
- json_extract_path_text(Properties, 'Name') as name,
+ json_extract_path_text(Properties, 'EnvironmentId') as environment_id,
json_extract_path_text(Properties, 'KmsKeyIdentifier') as kms_key_identifier,
- json_extract_path_text(Properties, 'KmsKeyArn') as kms_key_arn
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::ConfigurationProfile'
- AND data__Identifier = '|'
+ json_extract_path_text(Properties, 'Description') as description,
+ json_extract_path_text(Properties, 'ConfigurationVersion') as configuration_version,
+ json_extract_path_text(Properties, 'State') as state,
+ json_extract_path_text(Properties, 'DeploymentNumber') as deployment_number,
+ json_extract_path_text(Properties, 'ApplicationId') as application_id,
+ json_extract_path_text(Properties, 'DynamicExtensionParameters') as dynamic_extension_parameters,
+ json_extract_path_text(Properties, 'Tags') as tags
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::Deployment'
+ AND data__Identifier = '||'
AND region = 'us-east-1'
- environments:
- name: environments
- id: awscc.appconfig.environments
- x-cfn-schema-name: Environment
- x-type: list
+ deployments_list_only:
+ name: deployments_list_only
+ id: awscc.appconfig.deployments_list_only
+ x-cfn-schema-name: Deployment
+ x-cfn-type-name: AWS::AppConfig::Deployment
x-identifiers:
- ApplicationId
- EnvironmentId
+ - DeploymentNumber
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -671,8 +2034,9 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.ApplicationId') as application_id,
- JSON_EXTRACT(Properties, '$.EnvironmentId') as environment_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::Environment'
+ JSON_EXTRACT(Properties, '$.EnvironmentId') as environment_id,
+ JSON_EXTRACT(Properties, '$.DeploymentNumber') as deployment_number
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::Deployment'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
@@ -680,56 +2044,238 @@ components:
SELECT
region,
json_extract_path_text(Properties, 'ApplicationId') as application_id,
- json_extract_path_text(Properties, 'EnvironmentId') as environment_id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::Environment'
+ json_extract_path_text(Properties, 'EnvironmentId') as environment_id,
+ json_extract_path_text(Properties, 'DeploymentNumber') as deployment_number
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::Deployment'
+ AND region = 'us-east-1'
+ deployment_strategies:
+ name: deployment_strategies
+ id: awscc.appconfig.deployment_strategies
+ x-cfn-schema-name: DeploymentStrategy
+ x-cfn-type-name: AWS::AppConfig::DeploymentStrategy
+ x-identifiers:
+ - Id
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DeploymentStrategy&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::DeploymentStrategy"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::DeploymentStrategy"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::DeploymentStrategy"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/deployment_strategies/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/deployment_strategies/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/deployment_strategies/methods/update_resource'
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.DeploymentDurationInMinutes') as deployment_duration_in_minutes,
+ JSON_EXTRACT(Properties, '$.Description') as description,
+ JSON_EXTRACT(Properties, '$.FinalBakeTimeInMinutes') as final_bake_time_in_minutes,
+ JSON_EXTRACT(Properties, '$.GrowthFactor') as growth_factor,
+ JSON_EXTRACT(Properties, '$.GrowthType') as growth_type,
+ JSON_EXTRACT(Properties, '$.Name') as name,
+ JSON_EXTRACT(Properties, '$.ReplicateTo') as replicate_to,
+ JSON_EXTRACT(Properties, '$.Tags') as tags,
+ JSON_EXTRACT(Properties, '$.Id') as id
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::DeploymentStrategy'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'DeploymentDurationInMinutes') as deployment_duration_in_minutes,
+ json_extract_path_text(Properties, 'Description') as description,
+ json_extract_path_text(Properties, 'FinalBakeTimeInMinutes') as final_bake_time_in_minutes,
+ json_extract_path_text(Properties, 'GrowthFactor') as growth_factor,
+ json_extract_path_text(Properties, 'GrowthType') as growth_type,
+ json_extract_path_text(Properties, 'Name') as name,
+ json_extract_path_text(Properties, 'ReplicateTo') as replicate_to,
+ json_extract_path_text(Properties, 'Tags') as tags,
+ json_extract_path_text(Properties, 'Id') as id
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::DeploymentStrategy'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ deployment_strategies_list_only:
+ name: deployment_strategies_list_only
+ id: awscc.appconfig.deployment_strategies_list_only
+ x-cfn-schema-name: DeploymentStrategy
+ x-cfn-type-name: AWS::AppConfig::DeploymentStrategy
+ x-identifiers:
+ - Id
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.Id') as id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::DeploymentStrategy'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'Id') as id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::DeploymentStrategy'
AND region = 'us-east-1'
- environment:
- name: environment
- id: awscc.appconfig.environment
+ environments:
+ name: environments
+ id: awscc.appconfig.environments
x-cfn-schema-name: Environment
- x-type: get
+ x-cfn-type-name: AWS::AppConfig::Environment
x-identifiers:
- ApplicationId
- EnvironmentId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Environment&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::Environment"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::Environment"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::Environment"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/environments/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/environments/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/environments/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
JSON_EXTRACT(Properties, '$.EnvironmentId') as environment_id,
- JSON_EXTRACT(Properties, '$.ApplicationId') as application_id,
- JSON_EXTRACT(Properties, '$.Name') as name,
JSON_EXTRACT(Properties, '$.Description') as description,
JSON_EXTRACT(Properties, '$.Monitors') as monitors,
- JSON_EXTRACT(Properties, '$.Tags') as tags
+ JSON_EXTRACT(Properties, '$.DeletionProtectionCheck') as deletion_protection_check,
+ JSON_EXTRACT(Properties, '$.ApplicationId') as application_id,
+ JSON_EXTRACT(Properties, '$.Tags') as tags,
+ JSON_EXTRACT(Properties, '$.Name') as name
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::Environment'
AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
json_extract_path_text(Properties, 'EnvironmentId') as environment_id,
- json_extract_path_text(Properties, 'ApplicationId') as application_id,
- json_extract_path_text(Properties, 'Name') as name,
json_extract_path_text(Properties, 'Description') as description,
json_extract_path_text(Properties, 'Monitors') as monitors,
- json_extract_path_text(Properties, 'Tags') as tags
+ json_extract_path_text(Properties, 'DeletionProtectionCheck') as deletion_protection_check,
+ json_extract_path_text(Properties, 'ApplicationId') as application_id,
+ json_extract_path_text(Properties, 'Tags') as tags,
+ json_extract_path_text(Properties, 'Name') as name
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::Environment'
AND data__Identifier = '|'
AND region = 'us-east-1'
- extensions:
- name: extensions
- id: awscc.appconfig.extensions
- x-cfn-schema-name: Extension
- x-type: list
+ environments_list_only:
+ name: environments_list_only
+ id: awscc.appconfig.environments_list_only
+ x-cfn-schema-name: Environment
+ x-cfn-type-name: AWS::AppConfig::Environment
x-identifiers:
- - Id
+ - ApplicationId
+ - EnvironmentId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -737,28 +2283,78 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::Extension'
+ JSON_EXTRACT(Properties, '$.ApplicationId') as application_id,
+ JSON_EXTRACT(Properties, '$.EnvironmentId') as environment_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::Environment'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::Extension'
+ json_extract_path_text(Properties, 'ApplicationId') as application_id,
+ json_extract_path_text(Properties, 'EnvironmentId') as environment_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::Environment'
AND region = 'us-east-1'
- extension:
- name: extension
- id: awscc.appconfig.extension
+ extensions:
+ name: extensions
+ id: awscc.appconfig.extensions
x-cfn-schema-name: Extension
- x-type: get
+ x-cfn-type-name: AWS::AppConfig::Extension
x-identifiers:
- Id
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Extension&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::Extension"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::Extension"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::Extension"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/extensions/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/extensions/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/extensions/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -776,7 +2372,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -793,13 +2389,19 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::Extension'
AND data__Identifier = ''
AND region = 'us-east-1'
- extension_associations:
- name: extension_associations
- id: awscc.appconfig.extension_associations
- x-cfn-schema-name: ExtensionAssociation
- x-type: list
+ extensions_list_only:
+ name: extensions_list_only
+ id: awscc.appconfig.extensions_list_only
+ x-cfn-schema-name: Extension
+ x-cfn-type-name: AWS::AppConfig::Extension
x-identifiers:
- Id
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -808,7 +2410,7 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::ExtensionAssociation'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::Extension'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
@@ -816,19 +2418,67 @@ components:
SELECT
region,
json_extract_path_text(Properties, 'Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::ExtensionAssociation'
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::Extension'
AND region = 'us-east-1'
- extension_association:
- name: extension_association
- id: awscc.appconfig.extension_association
+ extension_associations:
+ name: extension_associations
+ id: awscc.appconfig.extension_associations
x-cfn-schema-name: ExtensionAssociation
- x-type: get
+ x-cfn-type-name: AWS::AppConfig::ExtensionAssociation
x-identifiers:
- Id
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ExtensionAssociation&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::ExtensionAssociation"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::ExtensionAssociation"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::ExtensionAssociation"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/extension_associations/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/extension_associations/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/extension_associations/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -846,7 +2496,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -863,46 +2513,132 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::ExtensionAssociation'
AND data__Identifier = ''
AND region = 'us-east-1'
+ extension_associations_list_only:
+ name: extension_associations_list_only
+ id: awscc.appconfig.extension_associations_list_only
+ x-cfn-schema-name: ExtensionAssociation
+ x-cfn-type-name: AWS::AppConfig::ExtensionAssociation
+ x-identifiers:
+ - Id
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.Id') as id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::ExtensionAssociation'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'Id') as id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::ExtensionAssociation'
+ AND region = 'us-east-1'
hosted_configuration_versions:
name: hosted_configuration_versions
id: awscc.appconfig.hosted_configuration_versions
x-cfn-schema-name: HostedConfigurationVersion
- x-type: list
+ x-cfn-type-name: AWS::AppConfig::HostedConfigurationVersion
x-identifiers:
- ApplicationId
- ConfigurationProfileId
- VersionNumber
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__HostedConfigurationVersion&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::HostedConfigurationVersion"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppConfig::HostedConfigurationVersion"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/hosted_configuration_versions/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/hosted_configuration_versions/methods/delete_resource'
+ update: []
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.ApplicationId') as application_id,
+ data__Identifier,
JSON_EXTRACT(Properties, '$.ConfigurationProfileId') as configuration_profile_id,
+ JSON_EXTRACT(Properties, '$.Description') as description,
+ JSON_EXTRACT(Properties, '$.ContentType') as content_type,
+ JSON_EXTRACT(Properties, '$.LatestVersionNumber') as latest_version_number,
+ JSON_EXTRACT(Properties, '$.Content') as content,
+ JSON_EXTRACT(Properties, '$.VersionLabel') as version_label,
+ JSON_EXTRACT(Properties, '$.ApplicationId') as application_id,
JSON_EXTRACT(Properties, '$.VersionNumber') as version_number
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::HostedConfigurationVersion'
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::HostedConfigurationVersion'
+ AND data__Identifier = '||'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'ApplicationId') as application_id,
+ data__Identifier,
json_extract_path_text(Properties, 'ConfigurationProfileId') as configuration_profile_id,
+ json_extract_path_text(Properties, 'Description') as description,
+ json_extract_path_text(Properties, 'ContentType') as content_type,
+ json_extract_path_text(Properties, 'LatestVersionNumber') as latest_version_number,
+ json_extract_path_text(Properties, 'Content') as content,
+ json_extract_path_text(Properties, 'VersionLabel') as version_label,
+ json_extract_path_text(Properties, 'ApplicationId') as application_id,
json_extract_path_text(Properties, 'VersionNumber') as version_number
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::HostedConfigurationVersion'
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::HostedConfigurationVersion'
+ AND data__Identifier = '||'
AND region = 'us-east-1'
- hosted_configuration_version:
- name: hosted_configuration_version
- id: awscc.appconfig.hosted_configuration_version
+ hosted_configuration_versions_list_only:
+ name: hosted_configuration_versions_list_only
+ id: awscc.appconfig.hosted_configuration_versions_list_only
x-cfn-schema-name: HostedConfigurationVersion
- x-type: get
+ x-cfn-type-name: AWS::AppConfig::HostedConfigurationVersion
x-identifiers:
- ApplicationId
- ConfigurationProfileId
- VersionNumber
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -910,32 +2646,507 @@ components:
ddl: |-
SELECT
region,
- data__Identifier,
JSON_EXTRACT(Properties, '$.ApplicationId') as application_id,
JSON_EXTRACT(Properties, '$.ConfigurationProfileId') as configuration_profile_id,
- JSON_EXTRACT(Properties, '$.VersionNumber') as version_number,
- JSON_EXTRACT(Properties, '$.Description') as description,
- JSON_EXTRACT(Properties, '$.Content') as content,
- JSON_EXTRACT(Properties, '$.ContentType') as content_type,
- JSON_EXTRACT(Properties, '$.LatestVersionNumber') as latest_version_number,
- JSON_EXTRACT(Properties, '$.VersionLabel') as version_label
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::HostedConfigurationVersion'
- AND data__Identifier = '||'
+ JSON_EXTRACT(Properties, '$.VersionNumber') as version_number
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::HostedConfigurationVersion'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- data__Identifier,
json_extract_path_text(Properties, 'ApplicationId') as application_id,
json_extract_path_text(Properties, 'ConfigurationProfileId') as configuration_profile_id,
- json_extract_path_text(Properties, 'VersionNumber') as version_number,
- json_extract_path_text(Properties, 'Description') as description,
- json_extract_path_text(Properties, 'Content') as content,
- json_extract_path_text(Properties, 'ContentType') as content_type,
- json_extract_path_text(Properties, 'LatestVersionNumber') as latest_version_number,
- json_extract_path_text(Properties, 'VersionLabel') as version_label
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppConfig::HostedConfigurationVersion'
- AND data__Identifier = '||'
+ json_extract_path_text(Properties, 'VersionNumber') as version_number
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppConfig::HostedConfigurationVersion'
AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateApplication
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateApplicationRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__ConfigurationProfile&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateConfigurationProfile
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateConfigurationProfileRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Deployment&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateDeployment
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateDeploymentRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__DeploymentStrategy&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateDeploymentStrategy
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateDeploymentStrategyRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Environment&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateEnvironment
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateEnvironmentRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Extension&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateExtension
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateExtensionRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__ExtensionAssociation&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateExtensionAssociation
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateExtensionAssociationRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__HostedConfigurationVersion&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateHostedConfigurationVersion
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateHostedConfigurationVersionRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/appflow.yaml b/providers/src/awscc/v00.00.00000/services/appflow.yaml
index 1a213fb8..d63f0728 100644
--- a/providers/src/awscc/v00.00.00000/services/appflow.yaml
+++ b/providers/src/awscc/v00.00.00000/services/appflow.yaml
@@ -1,9 +1,389 @@
openapi: 3.0.0
info:
title: AppFlow
- version: 1.0.0
-paths: {}
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
schemas:
ConnectorProvisioningConfig:
description: Contains information about the configuration of the connector being registered.
@@ -36,7 +416,7 @@ components:
ConnectorArn:
description: ' The arn of the connector. The arn is unique for each ConnectorRegistration in your AWS account.'
type: string
- pattern: arn:*:appflow:.*:[0-9]+:.*
+ pattern: arn:.*:appflow:.*:[0-9]+:.*
maxLength: 512
ConnectorProvisioningType:
description: 'The provisioning type of the connector. Currently the only supported value is LAMBDA. '
@@ -56,12 +436,22 @@ components:
- ConnectorProvisioningType
- ConnectorProvisioningConfig
x-stackql-resource-name: connector
- x-stackql-primaryIdentifier:
+ description: Resource schema for AWS::AppFlow::Connector
+ x-type-name: AWS::AppFlow::Connector
+ x-stackql-primary-identifier:
- ConnectorLabel
x-create-only-properties:
- ConnectorLabel
x-read-only-properties:
- ConnectorArn
+ x-required-properties:
+ - ConnectorProvisioningType
+ - ConnectorProvisioningConfig
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
create:
- appflow:RegisterConnector
@@ -949,15 +1339,29 @@ components:
- ConnectionMode
- ConnectorType
x-stackql-resource-name: connector_profile
- x-stackql-primaryIdentifier:
+ description: Resource Type definition for AWS::AppFlow::ConnectorProfile
+ x-type-name: AWS::AppFlow::ConnectorProfile
+ x-stackql-primary-identifier:
- ConnectorProfileName
x-create-only-properties:
- ConnectorProfileName
- ConnectorType
- ConnectorLabel
+ x-write-only-properties:
+ - ConnectorProfileConfig
+ - KMSArn
x-read-only-properties:
- ConnectorProfileArn
- CredentialsArn
+ x-required-properties:
+ - ConnectorProfileName
+ - ConnectionMode
+ - ConnectorType
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
create:
- appflow:CreateConnectorProfile
@@ -2231,13 +2635,31 @@ components:
- DestinationFlowConfigList
- TriggerConfig
x-stackql-resource-name: flow
- x-stackql-primaryIdentifier:
+ description: Resource schema for AWS::AppFlow::Flow.
+ x-type-name: AWS::AppFlow::Flow
+ x-stackql-primary-identifier:
- FlowName
x-create-only-properties:
- FlowName
- KMSArn
x-read-only-properties:
- FlowArn
+ x-required-properties:
+ - FlowName
+ - Tasks
+ - SourceFlowConfig
+ - DestinationFlowConfigList
+ - TriggerConfig
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: false
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
+ permissions:
+ - appflow:TagResource
+ - appflow:UntagResource
+ - appflow:ListTagsForResource
x-required-permissions:
create:
- appflow:CreateFlow
@@ -2260,6 +2682,7 @@ components:
- appflow:DescribeFlow
- appflow:ListTagsForResource
update:
+ - appflow:DescribeFlow
- appflow:UpdateFlow
- appflow:StartFlow
- appflow:StopFlow
@@ -2278,43 +2701,239 @@ components:
- appflow:DeleteFlow
list:
- appflow:ListFlows
+ CreateConnectorRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ConnectorLabel:
+ description: ' The name of the connector. The name is unique for each ConnectorRegistration in your AWS account.'
+ type: string
+ pattern: '[a-zA-Z0-9][\w!@#.-]+'
+ maxLength: 512
+ ConnectorArn:
+ description: ' The arn of the connector. The arn is unique for each ConnectorRegistration in your AWS account.'
+ type: string
+ pattern: arn:.*:appflow:.*:[0-9]+:.*
+ maxLength: 512
+ ConnectorProvisioningType:
+ description: 'The provisioning type of the connector. Currently the only supported value is LAMBDA. '
+ type: string
+ pattern: '[a-zA-Z0-9][\w!@#.-]+'
+ maxLength: 256
+ minLength: 1
+ ConnectorProvisioningConfig:
+ description: Contains information about the configuration of the connector being registered.
+ $ref: '#/components/schemas/ConnectorProvisioningConfig'
+ Description:
+ description: A description about the connector that's being registered.
+ type: string
+ pattern: '[\s\w/!@#+=.-]*'
+ maxLength: 2048
+ x-stackQL-stringOnly: true
+ x-title: CreateConnectorRequest
+ type: object
+ required: []
+ CreateConnectorProfileRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ConnectorProfileArn:
+ description: Unique identifier for connector profile resources
+ type: string
+ pattern: arn:aws:appflow:.*:[0-9]+:.*
+ maxLength: 512
+ ConnectorLabel:
+ description: The label of the connector. The label is unique for each ConnectorRegistration in your AWS account. Only needed if calling for CUSTOMCONNECTOR connector type/.
+ type: string
+ pattern: '[\w!@#.-]+'
+ maxLength: 256
+ ConnectorProfileName:
+ description: The maximum number of items to retrieve in a single batch.
+ type: string
+ pattern: '[\w/!@#+=.-]+'
+ maxLength: 256
+ KMSArn:
+ description: The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.
+ type: string
+ pattern: arn:aws:kms:.*:[0-9]+:.*
+ maxLength: 2048
+ minLength: 20
+ ConnectorType:
+ description: List of Saas providers that need connector profile to be created
+ $ref: '#/components/schemas/ConnectorType'
+ ConnectionMode:
+ description: Mode in which data transfer should be enabled. Private connection mode is currently enabled for Salesforce, Snowflake, Trendmicro and Singular
+ type: string
+ enum:
+ - Public
+ - Private
+ ConnectorProfileConfig:
+ description: Connector specific configurations needed to create connector profile
+ $ref: '#/components/schemas/ConnectorProfileConfig'
+ CredentialsArn:
+ description: A unique Arn for Connector-Profile resource
+ type: string
+ pattern: arn:aws:.*:.*:[0-9]+:.*
+ maxLength: 512
+ x-stackQL-stringOnly: true
+ x-title: CreateConnectorProfileRequest
+ type: object
+ required: []
+ CreateFlowRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ FlowArn:
+ description: ARN identifier of the flow.
+ type: string
+ pattern: arn:aws:appflow:.*:[0-9]+:.*
+ maxLength: 512
+ FlowName:
+ description: Name of the flow.
+ type: string
+ pattern: '[a-zA-Z0-9][\w!@#.-]+'
+ maxLength: 256
+ minLength: 1
+ Description:
+ description: Description of the flow.
+ type: string
+ pattern: '[\w!@#\-.?,\s]*'
+ maxLength: 2048
+ KMSArn:
+ description: The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.
+ type: string
+ pattern: arn:aws:kms:.*:[0-9]+:.*
+ maxLength: 2048
+ minLength: 20
+ TriggerConfig:
+ description: Trigger settings of the flow.
+ $ref: '#/components/schemas/TriggerConfig'
+ FlowStatus:
+ description: Flow activation status for Scheduled- and Event-triggered flows
+ type: string
+ enum:
+ - Active
+ - Suspended
+ - Draft
+ SourceFlowConfig:
+ description: Configurations of Source connector of the flow.
+ $ref: '#/components/schemas/SourceFlowConfig'
+ DestinationFlowConfigList:
+ description: List of Destination connectors of the flow.
+ type: array
+ items:
+ $ref: '#/components/schemas/DestinationFlowConfig'
+ Tasks:
+ description: List of tasks for the flow.
+ type: array
+ items:
+ $ref: '#/components/schemas/Task'
+ Tags:
+ description: List of Tags.
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ MetadataCatalogConfig:
+ description: Configurations of metadata catalog of the flow.
+ $ref: '#/components/schemas/MetadataCatalogConfig'
+ x-stackQL-stringOnly: true
+ x-title: CreateFlowRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
x-stackQL-resources:
connectors:
name: connectors
id: awscc.appflow.connectors
x-cfn-schema-name: Connector
- x-type: list
- x-identifiers:
- - ConnectorLabel
- config:
- views:
- select:
- predicate: sqlDialect == "sqlite3"
- ddl: |-
- SELECT
- region,
- JSON_EXTRACT(Properties, '$.ConnectorLabel') as connector_label
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppFlow::Connector'
- AND region = 'us-east-1'
- fallback:
- predicate: sqlDialect == "postgres"
- ddl: |-
- SELECT
- region,
- json_extract_path_text(Properties, 'ConnectorLabel') as connector_label
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppFlow::Connector'
- AND region = 'us-east-1'
- connector:
- name: connector
- id: awscc.appflow.connector
- x-cfn-schema-name: Connector
- x-type: get
+ x-cfn-type-name: AWS::AppFlow::Connector
x-identifiers:
- ConnectorLabel
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Connector&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppFlow::Connector"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppFlow::Connector"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppFlow::Connector"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/connectors/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/connectors/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/connectors/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2328,7 +2947,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2341,13 +2960,19 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppFlow::Connector'
AND data__Identifier = ''
AND region = 'us-east-1'
- connector_profiles:
- name: connector_profiles
- id: awscc.appflow.connector_profiles
- x-cfn-schema-name: ConnectorProfile
- x-type: list
+ connectors_list_only:
+ name: connectors_list_only
+ id: awscc.appflow.connectors_list_only
+ x-cfn-schema-name: Connector
+ x-cfn-type-name: AWS::AppFlow::Connector
x-identifiers:
- - ConnectorProfileName
+ - ConnectorLabel
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -2355,28 +2980,76 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.ConnectorProfileName') as connector_profile_name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppFlow::ConnectorProfile'
+ JSON_EXTRACT(Properties, '$.ConnectorLabel') as connector_label
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppFlow::Connector'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'ConnectorProfileName') as connector_profile_name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppFlow::ConnectorProfile'
+ json_extract_path_text(Properties, 'ConnectorLabel') as connector_label
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppFlow::Connector'
AND region = 'us-east-1'
- connector_profile:
- name: connector_profile
- id: awscc.appflow.connector_profile
+ connector_profiles:
+ name: connector_profiles
+ id: awscc.appflow.connector_profiles
x-cfn-schema-name: ConnectorProfile
- x-type: get
+ x-cfn-type-name: AWS::AppFlow::ConnectorProfile
x-identifiers:
- ConnectorProfileName
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConnectorProfile&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppFlow::ConnectorProfile"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppFlow::ConnectorProfile"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppFlow::ConnectorProfile"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/connector_profiles/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/connector_profiles/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/connector_profiles/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2393,7 +3066,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2409,13 +3082,19 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppFlow::ConnectorProfile'
AND data__Identifier = ''
AND region = 'us-east-1'
- flows:
- name: flows
- id: awscc.appflow.flows
- x-cfn-schema-name: Flow
- x-type: list
+ connector_profiles_list_only:
+ name: connector_profiles_list_only
+ id: awscc.appflow.connector_profiles_list_only
+ x-cfn-schema-name: ConnectorProfile
+ x-cfn-type-name: AWS::AppFlow::ConnectorProfile
x-identifiers:
- - FlowName
+ - ConnectorProfileName
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -2423,28 +3102,76 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.FlowName') as flow_name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppFlow::Flow'
+ JSON_EXTRACT(Properties, '$.ConnectorProfileName') as connector_profile_name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppFlow::ConnectorProfile'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'FlowName') as flow_name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppFlow::Flow'
+ json_extract_path_text(Properties, 'ConnectorProfileName') as connector_profile_name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppFlow::ConnectorProfile'
AND region = 'us-east-1'
- flow:
- name: flow
- id: awscc.appflow.flow
+ flows:
+ name: flows
+ id: awscc.appflow.flows
x-cfn-schema-name: Flow
- x-type: get
+ x-cfn-type-name: AWS::AppFlow::Flow
x-identifiers:
- FlowName
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Flow&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppFlow::Flow"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppFlow::Flow"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppFlow::Flow"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/flows/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/flows/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/flows/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2464,7 +3191,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -2483,3 +3210,313 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppFlow::Flow'
AND data__Identifier = ''
AND region = 'us-east-1'
+ flows_list_only:
+ name: flows_list_only
+ id: awscc.appflow.flows_list_only
+ x-cfn-schema-name: Flow
+ x-cfn-type-name: AWS::AppFlow::Flow
+ x-identifiers:
+ - FlowName
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.FlowName') as flow_name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppFlow::Flow'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'FlowName') as flow_name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppFlow::Flow'
+ AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Connector&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateConnector
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateConnectorRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__ConnectorProfile&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateConnectorProfile
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateConnectorProfileRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Flow&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateFlow
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateFlowRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/appintegrations.yaml b/providers/src/awscc/v00.00.00000/services/appintegrations.yaml
index 115bbe61..fff73048 100644
--- a/providers/src/awscc/v00.00.00000/services/appintegrations.yaml
+++ b/providers/src/awscc/v00.00.00000/services/appintegrations.yaml
@@ -1,10 +1,579 @@
openapi: 3.0.0
info:
title: AppIntegrations
- version: 1.0.0
-paths: {}
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
schemas:
+ Tag:
+ type: object
+ properties:
+ Key:
+ description: A key to identify the tag.
+ type: string
+ pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$
+ minLength: 1
+ maxLength: 128
+ Value:
+ description: Corresponding tag value for the key.
+ type: string
+ minLength: 0
+ maxLength: 256
+ additionalProperties: false
+ required:
+ - Key
+ - Value
+ ExternalUrlConfig:
+ type: object
+ additionalProperties: false
+ required:
+ - AccessUrl
+ properties:
+ AccessUrl:
+ type: string
+ pattern: ^\w+\:\/\/.*$
+ minLength: 1
+ maxLength: 1000
+ ApprovedOrigins:
+ type: array
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/ApprovedOrigins'
+ minItems: 0
+ maxItems: 50
+ ApprovedOrigins:
+ type: string
+ pattern: ^\w+\:\/\/.*$
+ minLength: 1
+ maxLength: 1000
+ Permissions:
+ type: string
+ pattern: ^[a-zA-Z0-9\/\._\-\*]+$
+ minLength: 1
+ maxLength: 255
+ ContactHandling:
+ type: object
+ additionalProperties: false
+ properties:
+ Scope:
+ type: string
+ enum:
+ - CROSS_CONTACTS
+ - PER_CONTACT
+ required:
+ - Scope
+ ApplicationConfig:
+ type: object
+ additionalProperties: false
+ properties:
+ ContactHandling:
+ $ref: '#/components/schemas/ContactHandling'
+ IframeConfig:
+ type: object
+ additionalProperties: false
+ properties:
+ Allow:
+ type: array
+ x-insertionOrder: false
+ items:
+ type: string
+ Sandbox:
+ type: array
+ x-insertionOrder: false
+ items:
+ type: string
+ Application:
+ type: object
+ properties:
+ Name:
+ description: The name of the application.
+ type: string
+ pattern: ^[a-zA-Z0-9\/\._ \-]+$
+ minLength: 1
+ maxLength: 255
+ Id:
+ description: The id of the application.
+ type: string
+ pattern: ^[a-zA-Z0-9/\._\-]+$
+ minLength: 1
+ maxLength: 255
+ Namespace:
+ description: The namespace of the application.
+ type: string
+ pattern: ^[a-zA-Z0-9/\._\-]+$
+ minLength: 1
+ maxLength: 255
+ Description:
+ description: The application description.
+ type: string
+ minLength: 1
+ maxLength: 1000
+ ApplicationArn:
+ description: The Amazon Resource Name (ARN) of the application.
+ pattern: ^arn:aws[-a-z0-9]*:app-integrations:[-a-z0-9]*:[0-9]{12}:application/[-a-zA-Z0-9]*
+ type: string
+ minLength: 1
+ maxLength: 2048
+ ApplicationSourceConfig:
+ description: Application source config
+ type: object
+ additionalProperties: false
+ properties:
+ ExternalUrlConfig:
+ $ref: '#/components/schemas/ExternalUrlConfig'
+ required:
+ - ExternalUrlConfig
+ Permissions:
+ description: The configuration of events or requests that the application has access to.
+ type: array
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/Permissions'
+ minItems: 0
+ maxItems: 150
+ Tags:
+ description: The tags (keys and values) associated with the application.
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ minItems: 0
+ maxItems: 200
+ IsService:
+ description: Indicates if the application is a service
+ type: boolean
+ default: false
+ InitializationTimeout:
+ description: The initialization timeout in milliseconds. Required when IsService is true.
+ type: integer
+ ApplicationConfig:
+ description: The application configuration. Cannot be used when IsService is true.
+ $ref: '#/components/schemas/ApplicationConfig'
+ IframeConfig:
+ description: The iframe configuration
+ $ref: '#/components/schemas/IframeConfig'
+ required:
+ - Name
+ - Namespace
+ - Description
+ - ApplicationSourceConfig
+ x-stackql-resource-name: application
+ description: Resource Type definition for AWS:AppIntegrations::Application
+ x-type-name: AWS::AppIntegrations::Application
+ x-stackql-primary-identifier:
+ - ApplicationArn
+ x-read-only-properties:
+ - ApplicationArn
+ - Id
+ x-required-properties:
+ - Name
+ - Namespace
+ - Description
+ - ApplicationSourceConfig
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - app-integrations:TagResource
+ - app-integrations:UntagResource
+ x-required-permissions:
+ create:
+ - app-integrations:CreateApplication
+ - app-integrations:TagResource
+ read:
+ - app-integrations:GetApplication
+ list:
+ - app-integrations:ListApplications
+ - app-integrations:ListTagsForResource
+ update:
+ - app-integrations:GetApplication
+ - app-integrations:UpdateApplication
+ - app-integrations:TagResource
+ - app-integrations:UntagResource
+ delete:
+ - app-integrations:DeleteApplication
ScheduleConfig:
type: object
properties:
@@ -29,24 +598,6 @@ components:
additionalProperties: false
required:
- ScheduleExpression
- Tag:
- type: object
- properties:
- Key:
- description: A key to identify the tag.
- type: string
- pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$
- minLength: 1
- maxLength: 128
- Value:
- description: Corresponding tag value for the key.
- type: string
- minLength: 0
- maxLength: 256
- additionalProperties: false
- required:
- - Key
- - Value
FileConfiguration:
description: The configuration for what files should be pulled from the source.
type: object
@@ -153,7 +704,9 @@ components:
- KmsKey
- SourceURI
x-stackql-resource-name: data_integration
- x-stackql-primaryIdentifier:
+ description: Resource Type definition for AWS::AppIntegrations::DataIntegration
+ x-type-name: AWS::AppIntegrations::DataIntegration
+ x-stackql-primary-identifier:
- Id
x-create-only-properties:
- KmsKey
@@ -162,6 +715,19 @@ components:
x-read-only-properties:
- Id
- DataIntegrationArn
+ x-required-properties:
+ - Name
+ - KmsKey
+ - SourceURI
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - app-integrations:TagResource
+ - app-integrations:UntagResource
x-required-permissions:
create:
- app-integrations:CreateDataIntegration
@@ -222,7 +788,7 @@ components:
Source:
description: The source of the events.
type: string
- pattern: ^aws\.partner\/.*$
+ pattern: ^aws\.(partner\/.*|cases)$
minLength: 1
maxLength: 256
additionalProperties: false
@@ -288,7 +854,9 @@ components:
- EventBridgeBus
- EventFilter
x-stackql-resource-name: event_integration
- x-stackql-primaryIdentifier:
+ description: Resource Type definition for AWS::AppIntegrations::EventIntegration
+ x-type-name: AWS::AppIntegrations::EventIntegration
+ x-stackql-primary-identifier:
- Name
x-create-only-properties:
- Name
@@ -296,6 +864,19 @@ components:
- EventFilter
x-read-only-properties:
- EventIntegrationArn
+ x-required-properties:
+ - Name
+ - EventBridgeBus
+ - EventFilter
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - app-integrations:TagResource
+ - app-integrations:UntagResource
x-required-permissions:
create:
- app-integrations:CreateEventIntegration
@@ -312,14 +893,327 @@ components:
- app-integrations:UntagResource
delete:
- app-integrations:DeleteEventIntegration
+ CreateApplicationRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Name:
+ description: The name of the application.
+ type: string
+ pattern: ^[a-zA-Z0-9\/\._ \-]+$
+ minLength: 1
+ maxLength: 255
+ Id:
+ description: The id of the application.
+ type: string
+ pattern: ^[a-zA-Z0-9/\._\-]+$
+ minLength: 1
+ maxLength: 255
+ Namespace:
+ description: The namespace of the application.
+ type: string
+ pattern: ^[a-zA-Z0-9/\._\-]+$
+ minLength: 1
+ maxLength: 255
+ Description:
+ description: The application description.
+ type: string
+ minLength: 1
+ maxLength: 1000
+ ApplicationArn:
+ description: The Amazon Resource Name (ARN) of the application.
+ pattern: ^arn:aws[-a-z0-9]*:app-integrations:[-a-z0-9]*:[0-9]{12}:application/[-a-zA-Z0-9]*
+ type: string
+ minLength: 1
+ maxLength: 2048
+ ApplicationSourceConfig:
+ description: Application source config
+ type: object
+ additionalProperties: false
+ properties:
+ ExternalUrlConfig:
+ $ref: '#/components/schemas/ExternalUrlConfig'
+ required:
+ - ExternalUrlConfig
+ Permissions:
+ description: The configuration of events or requests that the application has access to.
+ type: array
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/Permissions'
+ minItems: 0
+ maxItems: 150
+ Tags:
+ description: The tags (keys and values) associated with the application.
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ minItems: 0
+ maxItems: 200
+ IsService:
+ description: Indicates if the application is a service
+ type: boolean
+ default: false
+ InitializationTimeout:
+ description: The initialization timeout in milliseconds. Required when IsService is true.
+ type: integer
+ ApplicationConfig:
+ description: The application configuration. Cannot be used when IsService is true.
+ $ref: '#/components/schemas/ApplicationConfig'
+ IframeConfig:
+ description: The iframe configuration
+ $ref: '#/components/schemas/IframeConfig'
+ x-stackQL-stringOnly: true
+ x-title: CreateApplicationRequest
+ type: object
+ required: []
+ CreateDataIntegrationRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Description:
+ description: The data integration description.
+ type: string
+ minLength: 1
+ maxLength: 1000
+ Id:
+ description: The unique identifer of the data integration.
+ type: string
+ pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
+ minLength: 1
+ maxLength: 255
+ DataIntegrationArn:
+ description: The Amazon Resource Name (ARN) of the data integration.
+ type: string
+ pattern: ^arn:aws[-a-z]*:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$
+ minLength: 1
+ maxLength: 2048
+ Name:
+ description: The name of the data integration.
+ type: string
+ pattern: ^[a-zA-Z0-9/\._\-]+$
+ minLength: 1
+ maxLength: 255
+ KmsKey:
+ description: The KMS key of the data integration.
+ type: string
+ pattern: .*\S.*
+ minLength: 1
+ maxLength: 255
+ ScheduleConfig:
+ description: The name of the data and how often it should be pulled from the source.
+ $ref: '#/components/schemas/ScheduleConfig'
+ SourceURI:
+ description: The URI of the data source.
+ type: string
+ pattern: ^(\w+\:\/\/[\w.-]+[\w/!@#+=.-]+$)|(\w+\:\/\/[\w.-]+[\w/!@#+=.-]+[\w/!@#+=.-]+[\w/!@#+=.,-]+$)
+ minLength: 1
+ maxLength: 1000
+ Tags:
+ description: The tags (keys and values) associated with the data integration.
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ minItems: 0
+ maxItems: 200
+ FileConfiguration:
+ description: The configuration for what files should be pulled from the source.
+ $ref: '#/components/schemas/FileConfiguration'
+ ObjectConfiguration:
+ description: The configuration for what data should be pulled from the source.
+ $ref: '#/components/schemas/ObjectConfiguration'
+ x-stackQL-stringOnly: true
+ x-title: CreateDataIntegrationRequest
+ type: object
+ required: []
+ CreateEventIntegrationRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Description:
+ description: The event integration description.
+ type: string
+ minLength: 1
+ maxLength: 1000
+ EventIntegrationArn:
+ description: The Amazon Resource Name (ARN) of the event integration.
+ type: string
+ pattern: ^arn:aws[-a-z]*:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$
+ minLength: 1
+ maxLength: 2048
+ Name:
+ description: The name of the event integration.
+ type: string
+ pattern: ^[a-zA-Z0-9/\._\-]+$
+ minLength: 1
+ maxLength: 255
+ EventBridgeBus:
+ description: The Amazon Eventbridge bus for the event integration.
+ type: string
+ pattern: ^[a-zA-Z0-9/\._\-]+$
+ minLength: 1
+ maxLength: 255
+ EventFilter:
+ description: The EventFilter (source) associated with the event integration.
+ $ref: '#/components/schemas/EventFilter'
+ Tags:
+ description: The tags (keys and values) associated with the event integration.
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ minItems: 0
+ maxItems: 200
+ x-stackQL-stringOnly: true
+ x-title: CreateEventIntegrationRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
x-stackQL-resources:
- data_integrations:
- name: data_integrations
- id: awscc.appintegrations.data_integrations
- x-cfn-schema-name: DataIntegration
- x-type: list
+ applications:
+ name: applications
+ id: awscc.appintegrations.applications
+ x-cfn-schema-name: Application
+ x-cfn-type-name: AWS::AppIntegrations::Application
x-identifiers:
- - Id
+ - ApplicationArn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppIntegrations::Application"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppIntegrations::Application"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppIntegrations::Application"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/applications/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/applications/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/applications/methods/update_resource'
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.Name') as name,
+ JSON_EXTRACT(Properties, '$.Id') as id,
+ JSON_EXTRACT(Properties, '$.Namespace') as namespace,
+ JSON_EXTRACT(Properties, '$.Description') as description,
+ JSON_EXTRACT(Properties, '$.ApplicationArn') as application_arn,
+ JSON_EXTRACT(Properties, '$.ApplicationSourceConfig') as application_source_config,
+ JSON_EXTRACT(Properties, '$.Permissions') as permissions,
+ JSON_EXTRACT(Properties, '$.Tags') as tags,
+ JSON_EXTRACT(Properties, '$.IsService') as is_service,
+ JSON_EXTRACT(Properties, '$.InitializationTimeout') as initialization_timeout,
+ JSON_EXTRACT(Properties, '$.ApplicationConfig') as application_config,
+ JSON_EXTRACT(Properties, '$.IframeConfig') as iframe_config
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppIntegrations::Application'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'Name') as name,
+ json_extract_path_text(Properties, 'Id') as id,
+ json_extract_path_text(Properties, 'Namespace') as namespace,
+ json_extract_path_text(Properties, 'Description') as description,
+ json_extract_path_text(Properties, 'ApplicationArn') as application_arn,
+ json_extract_path_text(Properties, 'ApplicationSourceConfig') as application_source_config,
+ json_extract_path_text(Properties, 'Permissions') as permissions,
+ json_extract_path_text(Properties, 'Tags') as tags,
+ json_extract_path_text(Properties, 'IsService') as is_service,
+ json_extract_path_text(Properties, 'InitializationTimeout') as initialization_timeout,
+ json_extract_path_text(Properties, 'ApplicationConfig') as application_config,
+ json_extract_path_text(Properties, 'IframeConfig') as iframe_config
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppIntegrations::Application'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ applications_list_only:
+ name: applications_list_only
+ id: awscc.appintegrations.applications_list_only
+ x-cfn-schema-name: Application
+ x-cfn-type-name: AWS::AppIntegrations::Application
+ x-identifiers:
+ - ApplicationArn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -327,28 +1221,76 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppIntegrations::DataIntegration'
+ JSON_EXTRACT(Properties, '$.ApplicationArn') as application_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppIntegrations::Application'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'Id') as id
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppIntegrations::DataIntegration'
+ json_extract_path_text(Properties, 'ApplicationArn') as application_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppIntegrations::Application'
AND region = 'us-east-1'
- data_integration:
- name: data_integration
- id: awscc.appintegrations.data_integration
+ data_integrations:
+ name: data_integrations
+ id: awscc.appintegrations.data_integrations
x-cfn-schema-name: DataIntegration
- x-type: get
+ x-cfn-type-name: AWS::AppIntegrations::DataIntegration
x-identifiers:
- Id
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DataIntegration&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppIntegrations::DataIntegration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppIntegrations::DataIntegration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppIntegrations::DataIntegration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/data_integrations/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/data_integrations/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/data_integrations/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -367,7 +1309,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -385,13 +1327,19 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppIntegrations::DataIntegration'
AND data__Identifier = ''
AND region = 'us-east-1'
- event_integrations:
- name: event_integrations
- id: awscc.appintegrations.event_integrations
- x-cfn-schema-name: EventIntegration
- x-type: list
+ data_integrations_list_only:
+ name: data_integrations_list_only
+ id: awscc.appintegrations.data_integrations_list_only
+ x-cfn-schema-name: DataIntegration
+ x-cfn-type-name: AWS::AppIntegrations::DataIntegration
x-identifiers:
- - Name
+ - Id
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -399,28 +1347,76 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.Name') as name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppIntegrations::EventIntegration'
+ JSON_EXTRACT(Properties, '$.Id') as id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppIntegrations::DataIntegration'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'Name') as name
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppIntegrations::EventIntegration'
+ json_extract_path_text(Properties, 'Id') as id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppIntegrations::DataIntegration'
AND region = 'us-east-1'
- event_integration:
- name: event_integration
- id: awscc.appintegrations.event_integration
+ event_integrations:
+ name: event_integrations
+ id: awscc.appintegrations.event_integrations
x-cfn-schema-name: EventIntegration
- x-type: get
+ x-cfn-type-name: AWS::AppIntegrations::EventIntegration
x-identifiers:
- Name
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EventIntegration&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppIntegrations::EventIntegration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppIntegrations::EventIntegration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppIntegrations::EventIntegration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/event_integrations/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/event_integrations/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/event_integrations/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -435,7 +1431,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -449,3 +1445,313 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppIntegrations::EventIntegration'
AND data__Identifier = ''
AND region = 'us-east-1'
+ event_integrations_list_only:
+ name: event_integrations_list_only
+ id: awscc.appintegrations.event_integrations_list_only
+ x-cfn-schema-name: EventIntegration
+ x-cfn-type-name: AWS::AppIntegrations::EventIntegration
+ x-identifiers:
+ - Name
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.Name') as name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppIntegrations::EventIntegration'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'Name') as name
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppIntegrations::EventIntegration'
+ AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateApplication
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateApplicationRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__DataIntegration&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateDataIntegration
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateDataIntegrationRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__EventIntegration&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateEventIntegration
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateEventIntegrationRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/applicationautoscaling.yaml b/providers/src/awscc/v00.00.00000/services/applicationautoscaling.yaml
index 5ac35c9c..39db934b 100644
--- a/providers/src/awscc/v00.00.00000/services/applicationautoscaling.yaml
+++ b/providers/src/awscc/v00.00.00000/services/applicationautoscaling.yaml
@@ -1,84 +1,542 @@
openapi: 3.0.0
info:
title: ApplicationAutoScaling
- version: 1.0.0
-paths: {}
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
schemas:
SuspendedState:
- type: object
+ description: |-
+ ``SuspendedState`` is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies whether the scaling activities for a scalable target are in a suspended state.
+ For more information, see [Suspending and resuming scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html) in the *Application Auto Scaling User Guide*.
additionalProperties: false
- description: specifies whether the scaling activities for a scalable target are in a suspended state
+ type: object
properties:
- ScheduledScalingSuspended:
- type: boolean
DynamicScalingOutSuspended:
+ description: Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to ``true`` if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is ``false``.
+ type: boolean
+ ScheduledScalingSuspended:
+ description: Whether scheduled scaling is suspended. Set the value to ``true`` if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is ``false``.
type: boolean
DynamicScalingInSuspended:
+ description: Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to ``true`` if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is ``false``.
type: boolean
ScheduledAction:
- type: object
+ description: |-
+ ``ScheduledAction`` is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies a scheduled action for a scalable target.
+ For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html) in the *Application Auto Scaling User Guide*.
additionalProperties: false
- description: specifies a scheduled action for a scalable target
+ type: object
properties:
Timezone:
+ description: The time zone used when referring to the date and time of a scheduled action, when the scheduled action uses an at or cron expression.
type: string
ScheduledActionName:
+ description: The name of the scheduled action. This name must be unique among all other scheduled actions on the specified scalable target.
type: string
EndTime:
+ description: The date and time that the action is scheduled to end, in UTC.
type: string
Schedule:
+ description: |-
+ The schedule for this action. The following formats are supported:
+ + At expressions - "``at(yyyy-mm-ddThh:mm:ss)``"
+ + Rate expressions - "``rate(valueunit)``"
+ + Cron expressions - "``cron(fields)``"
+
+ At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval.
+ At and cron expressions use Universal Coordinated Time (UTC) by default.
+ The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year].
+ For rate expressions, *value* is a positive integer and *unit* is ``minute`` | ``minutes`` | ``hour`` | ``hours`` | ``day`` | ``days``.
type: string
StartTime:
+ description: The date and time that the action is scheduled to begin, in UTC.
type: string
ScalableTargetAction:
+ description: The new minimum and maximum capacity. You can set both values or just one. At the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity.
$ref: '#/components/schemas/ScalableTargetAction'
required:
- ScheduledActionName
- Schedule
ScalableTargetAction:
- type: object
+ description: '``ScalableTargetAction`` specifies the minimum and maximum capacity for the ``ScalableTargetAction`` property of the [AWS::ApplicationAutoScaling::ScalableTarget ScheduledAction](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html) property type.'
additionalProperties: false
- description: specifies the minimum and maximum capacity
+ type: object
properties:
MinCapacity:
+ description: The minimum capacity.
type: integer
MaxCapacity:
+ description: The maximum capacity.
type: integer
ScalableTarget:
type: object
properties:
- Id:
- description: This value can be returned by using the Ref function. Ref returns the Cloudformation generated ID of the resource in format - ResourceId|ScalableDimension|ServiceNamespace
- type: string
- MaxCapacity:
- description: The maximum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand
- type: integer
- MinCapacity:
- description: The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand
- type: integer
- ResourceId:
- description: The identifier of the resource associated with the scalable target
- type: string
- RoleARN:
- description: 'Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf. '
- type: string
- ScalableDimension:
- description: The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property
- type: string
ScheduledActions:
- description: The scheduled actions for the scalable target. Duplicates aren't allowed.
- type: array
uniqueItems: true
+ description: The scheduled actions for the scalable target. Duplicates aren't allowed.
x-insertionOrder: false
+ type: array
items:
$ref: '#/components/schemas/ScheduledAction'
+ ResourceId:
+ description: |-
+ The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
+ + ECS service - The resource type is ``service`` and the unique identifier is the cluster name and service name. Example: ``service/my-cluster/my-service``.
+ + Spot Fleet - The resource type is ``spot-fleet-request`` and the unique identifier is the Spot Fleet request ID. Example: ``spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE``.
+ + EMR cluster - The resource type is ``instancegroup`` and the unique identifier is the cluster ID and instance group ID. Example: ``instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0``.
+ + AppStream 2.0 fleet - The resource type is ``fleet`` and the unique identifier is the fleet name. Example: ``fleet/sample-fleet``.
+ + DynamoDB table - The resource type is ``table`` and the unique identifier is the table name. Example: ``table/my-table``.
+ + DynamoDB global secondary index - The resource type is ``index`` and the unique identifier is the index name. Example: ``table/my-table/index/my-table-index``.
+ + Aurora DB cluster - The resource type is ``cluster`` and the unique identifier is the cluster name. Example: ``cluster:my-db-cluster``.
+ + SageMaker endpoint variant - The resource type is ``variant`` and the unique identifier is the resource ID. Example: ``endpoint/my-end-point/variant/KMeansClustering``.
+ + Custom resources are not supported with a resource type. This parameter must specify the ``OutputValue`` from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
+ + Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: ``arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE``.
+ + Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: ``arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE``.
+ + Lambda provisioned concurrency - The resource type is ``function`` and the unique identifier is the function name with a function version or alias name suffix that is not ``$LATEST``. Example: ``function:my-function:prod`` or ``function:my-function:1``.
+ + Amazon Keyspaces table - The resource type is ``table`` and the unique identifier is the table name. Example: ``keyspace/mykeyspace/table/mytable``.
+ + Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: ``arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5``.
+ + Amazon ElastiCache replication group - The resource type is ``replication-group`` and the unique identifier is the replication group name. Example: ``replication-group/mycluster``.
+ + Amazon ElastiCache cache cluster - The resource type is ``cache-cluster`` and the unique identifier is the cache cluster name. Example: ``cache-cluster/mycluster``.
+ + Neptune cluster - The resource type is ``cluster`` and the unique identifier is the cluster name. Example: ``cluster:mycluster``.
+ + SageMaker serverless endpoint - The resource type is ``variant`` and the unique identifier is the resource ID. Example: ``endpoint/my-end-point/variant/KMeansClustering``.
+ + SageMaker inference component - The resource type is ``inference-component`` and the unique identifier is the resource ID. Example: ``inference-component/my-inference-component``.
+ + Pool of WorkSpaces - The resource type is ``workspacespool`` and the unique identifier is the pool ID. Example: ``workspacespool/wspool-123456``.
+ type: string
ServiceNamespace:
- description: The namespace of the AWS service that provides the resource, or a custom-resource
+ description: The namespace of the AWS service that provides the resource, or a ``custom-resource``.
+ type: string
+ ScalableDimension:
+ description: |-
+ The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
+ + ``ecs:service:DesiredCount`` - The task count of an ECS service.
+ + ``elasticmapreduce:instancegroup:InstanceCount`` - The instance count of an EMR Instance Group.
+ + ``ec2:spot-fleet-request:TargetCapacity`` - The target capacity of a Spot Fleet.
+ + ``appstream:fleet:DesiredCapacity`` - The capacity of an AppStream 2.0 fleet.
+ + ``dynamodb:table:ReadCapacityUnits`` - The provisioned read capacity for a DynamoDB table.
+ + ``dynamodb:table:WriteCapacityUnits`` - The provisioned write capacity for a DynamoDB table.
+ + ``dynamodb:index:ReadCapacityUnits`` - The provisioned read capacity for a DynamoDB global secondary index.
+ + ``dynamodb:index:WriteCapacityUnits`` - The provisioned write capacity for a DynamoDB global secondary index.
+ + ``rds:cluster:ReadReplicaCount`` - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
+ + ``sagemaker:variant:DesiredInstanceCount`` - The number of EC2 instances for a SageMaker model endpoint variant.
+ + ``custom-resource:ResourceType:Property`` - The scalable dimension for a custom resource provided by your own application or service.
+ + ``comprehend:document-classifier-endpoint:DesiredInferenceUnits`` - The number of inference units for an Amazon Comprehend document classification endpoint.
+ + ``comprehend:entity-recognizer-endpoint:DesiredInferenceUnits`` - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
+ + ``lambda:function:ProvisionedConcurrency`` - The provisioned concurrency for a Lambda function.
+ + ``cassandra:table:ReadCapacityUnits`` - The provisioned read capacity for an Amazon Keyspaces table.
+ + ``cassandra:table:WriteCapacityUnits`` - The provisioned write capacity for an Amazon Keyspaces table.
+ + ``kafka:broker-storage:VolumeSize`` - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
+ + ``elasticache:cache-cluster:Nodes`` - The number of nodes for an Amazon ElastiCache cache cluster.
+ + ``elasticache:replication-group:NodeGroups`` - The number of node groups for an Amazon ElastiCache replication group.
+ + ``elasticache:replication-group:Replicas`` - The number of replicas per node group for an Amazon ElastiCache replication group.
+ + ``neptune:cluster:ReadReplicaCount`` - The count of read replicas in an Amazon Neptune DB cluster.
+ + ``sagemaker:variant:DesiredProvisionedConcurrency`` - The provisioned concurrency for a SageMaker serverless endpoint.
+ + ``sagemaker:inference-component:DesiredCopyCount`` - The number of copies across an endpoint for a SageMaker inference component.
+ + ``workspaces:workspacespool:DesiredUserSessions`` - The number of user sessions for the WorkSpaces in the pool.
type: string
SuspendedState:
- description: An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to true suspends the specified scaling activities. Setting it to false (default) resumes the specified scaling activities.
+ description: |-
+ An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to ``true`` suspends the specified scaling activities. Setting it to ``false`` (default) resumes the specified scaling activities.
+ *Suspension Outcomes*
+ + For ``DynamicScalingInSuspended``, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended.
+ + For ``DynamicScalingOutSuspended``, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended.
+ + For ``ScheduledScalingSuspended``, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended.
$ref: '#/components/schemas/SuspendedState'
+ Id:
+ description: ''
+ type: string
+ MinCapacity:
+ description: The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand.
+ type: integer
+ RoleARN:
+ description: >-
+ Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf. This can be either an IAM service role that Application Auto Scaling can assume to make calls to other AWS resources on your behalf, or a service-linked role for the specified service. For more information, see [How Application Auto Scaling works with
+ IAM](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html) in the *Application Auto Scaling User Guide*.
+ To automatically create a service-linked role (recommended), specify the full ARN of the service-linked role in your stack template. To find the exact ARN of the service-linked role for your AWS or custom resource, see the [Service-linked roles](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-service-linked-roles.html) topic in the *Application Auto Scaling User Guide*. Look for the ARN in the table at the bottom of the page.
+ type: string
+ MaxCapacity:
+ description: The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand.
+ type: integer
required:
- ResourceId
- ServiceNamespace
@@ -86,7 +544,12 @@ components:
- MinCapacity
- MaxCapacity
x-stackql-resource-name: scalable_target
- x-stackql-primaryIdentifier:
+ description: |-
+ The ``AWS::ApplicationAutoScaling::ScalableTarget`` resource specifies a resource that Application Auto Scaling can scale, such as an AWS::DynamoDB::Table or AWS::ECS::Service resource.
+ For more information, see [Getting started](https://docs.aws.amazon.com/autoscaling/application/userguide/getting-started.html) in the *Application Auto Scaling User Guide*.
+ If the resource that you want Application Auto Scaling to scale is not yet created in your account, add a dependency on the resource when registering it as a scalable target using the [DependsOn](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) attribute.
+ x-type-name: AWS::ApplicationAutoScaling::ScalableTarget
+ x-stackql-primary-identifier:
- ResourceId
- ScalableDimension
- ServiceNamespace
@@ -94,9 +557,25 @@ components:
- ResourceId
- ScalableDimension
- ServiceNamespace
+ x-write-only-properties:
+ - RoleARN
x-read-only-properties:
- Id
+ x-required-properties:
+ - ResourceId
+ - ServiceNamespace
+ - ScalableDimension
+ - MinCapacity
+ - MaxCapacity
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
+ read:
+ - application-autoscaling:DescribeScalableTargets
+ - application-autoscaling:DescribeScheduledActions
create:
- application-autoscaling:DescribeScalableTargets
- application-autoscaling:RegisterScalableTarget
@@ -110,11 +589,6 @@ components:
- lambda:GetProvisionedConcurrencyConfig
- lambda:PutProvisionedConcurrencyConfig
- lambda:DeleteProvisionedConcurrencyConfig
- read:
- - application-autoscaling:DescribeScalableTargets
- - application-autoscaling:DescribeScheduledActions
- list:
- - application-autoscaling:DescribeScalableTargets
update:
- application-autoscaling:RegisterScalableTarget
- application-autoscaling:DescribeScalableTargets
@@ -127,239 +601,602 @@ components:
- lambda:GetProvisionedConcurrencyConfig
- lambda:PutProvisionedConcurrencyConfig
- lambda:DeleteProvisionedConcurrencyConfig
+ list:
+ - application-autoscaling:DescribeScalableTargets
delete:
- application-autoscaling:DeregisterScalableTarget
- StepScalingPolicyConfiguration:
- description: A step scaling policy.
+ PredictiveScalingMetricDataQuery:
+ description: The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.
+ additionalProperties: false
+ type: object
+ properties:
+ ReturnData:
+ description: |-
+ Indicates whether to return the timestamps and raw data values of this metric.
+ If you use any math expressions, specify ``true`` for this value for only the final math expression that the metric specification is based on. You must specify ``false`` for ``ReturnData`` for all the other metrics and expressions used in the metric specification.
+ If you are only retrieving metrics and not performing any math expressions, do not specify anything for ``ReturnData``. This sets it to its default (``true``).
+ type: boolean
+ Expression:
+ description: |-
+ The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the ``Id`` of the other metrics to refer to those metrics, and can also use the ``Id`` of other expressions to use the result of those expressions.
+ Conditional: Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.
+ type: string
+ Label:
+ description: A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.
+ type: string
+ MetricStat:
+ description: |-
+ Information about the metric data to return.
+ Conditional: Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.
+ $ref: '#/components/schemas/PredictiveScalingMetricStat'
+ Id:
+ description: A short name that identifies the object's results in the response. This name must be unique among all ``MetricDataQuery`` objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.
+ type: string
+ TargetTrackingMetricStat:
+ description: |-
+ This structure defines the CloudWatch metric to return, along with the statistic and unit.
+ ``TargetTrackingMetricStat`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricDataQuery](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html) property type.
+ For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html) in the *Amazon CloudWatch User Guide*.
+ additionalProperties: false
type: object
+ properties:
+ Stat:
+ description: |-
+ The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*.
+ The most commonly used metric for scaling is ``Average``.
+ type: string
+ Metric:
+ description: The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
+ $ref: '#/components/schemas/TargetTrackingMetric'
+ Unit:
+ description: The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
+ type: string
+ PredictiveScalingMetricDimension:
+ description: Describes the dimension of a metric.
additionalProperties: false
+ type: object
properties:
- AdjustmentType:
- description: Specifies how the ScalingAdjustment value in a StepAdjustment is interpreted.
+ Value:
+ description: The value of the dimension.
type: string
- Cooldown:
- description: The amount of time, in seconds, to wait for a previous scaling activity to take effect.
- type: integer
- MetricAggregationType:
- description: The aggregation type for the CloudWatch metrics. Valid values are Minimum, Maximum, and Average. If the aggregation type is null, the value is treated as Average
+ Name:
+ description: The name of the dimension.
type: string
- MinAdjustmentMagnitude:
- description: The minimum value to scale by when the adjustment type is PercentChangeInCapacity.
- type: integer
- StepAdjustments:
- description: A set of adjustments that enable you to scale based on the size of the alarm breach.
+ TargetTrackingMetricDimension:
+ description: '``TargetTrackingMetricDimension`` specifies a name/value pair that is part of the identity of a CloudWatch metric for the ``Dimensions`` property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetric](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html) property type. Duplicate dimensions are not allowed.'
+ additionalProperties: false
+ type: object
+ properties:
+ Value:
+ description: The value of the dimension.
+ type: string
+ Name:
+ description: The name of the dimension.
+ type: string
+ PredictiveScalingCustomizedCapacityMetric:
+ description: Represents a CloudWatch metric of your choosing for a predictive scaling policy.
+ additionalProperties: false
+ type: object
+ properties:
+ MetricDataQueries:
+ uniqueItems: true
+ description: One or more metric data queries to provide data points for a metric specification.
+ x-insertionOrder: false
type: array
+ items:
+ $ref: '#/components/schemas/PredictiveScalingMetricDataQuery'
+ required:
+ - MetricDataQueries
+ TargetTrackingMetricDataQuery:
+ description: |-
+ The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.
+ You can call for a single metric or perform math expressions on multiple metrics. Any expressions used in a metric specification must eventually return a single time series.
+ For more information and examples, see [Create a target tracking scaling policy for Application Auto Scaling using metric math](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking-metric-math.html) in the *Application Auto Scaling User Guide*.
+ ``TargetTrackingMetricDataQuery`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type.
+ additionalProperties: false
+ type: object
+ properties:
+ ReturnData:
+ description: |-
+ Indicates whether to return the timestamps and raw data values of this metric.
+ If you use any math expressions, specify ``true`` for this value for only the final math expression that the metric specification is based on. You must specify ``false`` for ``ReturnData`` for all the other metrics and expressions used in the metric specification.
+ If you are only retrieving metrics and not performing any math expressions, do not specify anything for ``ReturnData``. This sets it to its default (``true``).
+ type: boolean
+ Expression:
+ description: |-
+ The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the ``Id`` of the other metrics to refer to those metrics, and can also use the ``Id`` of other expressions to use the result of those expressions.
+ Conditional: Within each ``TargetTrackingMetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.
+ type: string
+ Label:
+ description: A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.
+ type: string
+ MetricStat:
+ description: |-
+ Information about the metric data to return.
+ Conditional: Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.
+ $ref: '#/components/schemas/TargetTrackingMetricStat'
+ Id:
+ description: A short name that identifies the object's results in the response. This name must be unique among all ``MetricDataQuery`` objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.
+ type: string
+ PredictiveScalingCustomizedScalingMetric:
+ description: One or more metric data queries to provide data points for a metric specification.
+ additionalProperties: false
+ type: object
+ properties:
+ MetricDataQueries:
uniqueItems: true
+ description: One or more metric data queries to provide data points for a metric specification.
x-insertionOrder: false
+ type: array
items:
- $ref: '#/components/schemas/StepAdjustment'
- TargetTrackingScalingPolicyConfiguration:
- description: A target tracking scaling policy.
+ $ref: '#/components/schemas/PredictiveScalingMetricDataQuery'
+ required:
+ - MetricDataQueries
+ CustomizedMetricSpecification:
+ description: |-
+ Contains customized metric specification information for a target tracking scaling policy for Application Auto Scaling.
+ For information about the available metrics for a service, see [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
+ To create your customized metric specification:
+ + Add values for each required parameter from CloudWatch. You can use an existing metric, or a new metric that you create. To use your own metric, you must first publish the metric to CloudWatch. For more information, see [Publish custom metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) in the *Amazon CloudWatch User Guide*.
+ + Choose a metric that changes proportionally with capacity. The value of the metric should increase or decrease in inverse proportion to the number of capacity units. That is, the value of the metric should decrease when capacity increases, and increase when capacity decreases.
+
+ For an example of how creating new metrics can be useful, see [Scaling based on Amazon SQS](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html) in the *Amazon EC2 Auto Scaling User Guide*. This topic mentions Auto Scaling groups, but the same scenario for Amazon SQS can apply to the target tracking scaling policies that you create for a Spot Fleet by using Application Auto Scaling.
+ For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html).
+ ``CustomizedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.
+ additionalProperties: false
type: object
+ properties:
+ MetricName:
+ description: The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that's returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
+ type: string
+ Metrics:
+ uniqueItems: false
+ description: The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.
+ x-insertionOrder: false
+ type: array
+ items:
+ $ref: '#/components/schemas/TargetTrackingMetricDataQuery'
+ Statistic:
+ description: The statistic of the metric.
+ type: string
+ Dimensions:
+ uniqueItems: false
+ description: |-
+ The dimensions of the metric.
+ Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
+ x-insertionOrder: false
+ type: array
+ items:
+ $ref: '#/components/schemas/MetricDimension'
+ Unit:
+ description: The unit of the metric. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
+ type: string
+ Namespace:
+ description: The namespace of the metric.
+ type: string
+ PredictiveScalingPredefinedLoadMetric:
+ description: |-
+ Describes a load metric for a predictive scaling policy.
+ When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
+ The following predefined metrics are available for predictive scaling:
+ + ``ECSServiceAverageCPUUtilization``
+ + ``ECSServiceAverageMemoryUtilization``
+ + ``ECSServiceCPUUtilization``
+ + ``ECSServiceMemoryUtilization``
+ + ``ECSServiceTotalCPUUtilization``
+ + ``ECSServiceTotalMemoryUtilization``
+ + ``ALBRequestCount``
+ + ``ALBRequestCountPerTarget``
+ + ``TotalALBRequestCount``
additionalProperties: false
+ type: object
properties:
+ PredefinedMetricType:
+ description: The metric type.
+ type: string
+ ResourceLabel:
+ description: A label that uniquely identifies a target group.
+ type: string
+ required:
+ - PredefinedMetricType
+ TargetTrackingScalingPolicyConfiguration:
+ description: >-
+ ``TargetTrackingScalingPolicyConfiguration`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a target tracking scaling policy configuration for Application Auto Scaling. Use a target tracking scaling policy to adjust the capacity of the specified scalable target in response to actual workloads, so that resource utilization
+ remains at or near the target utilization value.
+ For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) in the *Application Auto Scaling User Guide*.
+ additionalProperties: false
+ type: object
+ properties:
+ ScaleOutCooldown:
+ description: The amount of time, in seconds, to wait for a previous scale-out activity to take effect. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.
+ type: integer
+ TargetValue:
+ description: The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For example, if the metric is CPU utilization, then the target value is a percent value that represents how much of the CPU can be used before scaling out.
+ type: number
CustomizedMetricSpecification:
description: A customized metric. You can specify either a predefined metric or a customized metric.
$ref: '#/components/schemas/CustomizedMetricSpecification'
DisableScaleIn:
- description: Indicates whether scale in by the target tracking scaling policy is disabled. If the value is true, scale in is disabled and the target tracking scaling policy won't remove capacity from the scalable target. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable target. The default value is false.
+ description: Indicates whether scale in by the target tracking scaling policy is disabled. If the value is ``true``, scale in is disabled and the target tracking scaling policy won't remove capacity from the scalable target. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable target. The default value is ``false``.
type: boolean
+ ScaleInCooldown:
+ description: The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.
+ type: integer
PredefinedMetricSpecification:
description: A predefined metric. You can specify either a predefined metric or a customized metric.
$ref: '#/components/schemas/PredefinedMetricSpecification'
- ScaleInCooldown:
- description: The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start.
- type: integer
- ScaleOutCooldown:
- description: The amount of time, in seconds, to wait for a previous scale-out activity to take effect.
- type: integer
- TargetValue:
- description: The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For example, if the metric is CPU utilization, then the target value is a percent value that represents how much of the CPU can be used before scaling out.
- type: number
required:
- TargetValue
+ PredictiveScalingPredefinedMetricPair:
+ description: |-
+ Represents a metric pair for a predictive scaling policy.
+ The following predefined metrics are available for predictive scaling:
+ + ``ECSServiceAverageCPUUtilization``
+ + ``ECSServiceAverageMemoryUtilization``
+ + ``ECSServiceCPUUtilization``
+ + ``ECSServiceMemoryUtilization``
+ + ``ECSServiceTotalCPUUtilization``
+ + ``ECSServiceTotalMemoryUtilization``
+ + ``ALBRequestCount``
+ + ``ALBRequestCountPerTarget``
+ + ``TotalALBRequestCount``
+ additionalProperties: false
+ type: object
+ properties:
+ PredefinedMetricType:
+ description: 'Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric.'
+ type: string
+ ResourceLabel:
+ description: A label that uniquely identifies a specific target group from which to determine the total and average request count.
+ type: string
+ required:
+ - PredefinedMetricType
+ StepAdjustment:
+ description: |-
+ ``StepAdjustment`` specifies a step adjustment for the ``StepAdjustments`` property of the [AWS::ApplicationAutoScaling::ScalingPolicy StepScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html) property type.
+ For the following examples, suppose that you have an alarm with a breach threshold of 50:
+ + To trigger a step adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10.
+ + To trigger a step adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0.
+
+ For more information, see [Step adjustments](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html#as-scaling-steps) in the *Application Auto Scaling User Guide*.
+ You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#aws-resource-applicationautoscaling-scalingpolicy--examples) section of the ``AWS::ApplicationAutoScaling::ScalingPolicy`` documentation.
+ additionalProperties: false
+ type: object
+ properties:
+ MetricIntervalUpperBound:
+ description: |-
+ The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.
+ You must specify at least one upper or lower bound.
+ type: number
+ MetricIntervalLowerBound:
+ description: |-
+ The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.
+ You must specify at least one upper or lower bound.
+ type: number
+ ScalingAdjustment:
+ description: The amount by which to scale. The adjustment is based on the value that you specified in the ``AdjustmentType`` property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity.
+ type: integer
+ required:
+ - ScalingAdjustment
PredefinedMetricSpecification:
- description: Represents a predefined metric for a target tracking scaling policy to use with Application Auto Scaling.
+ description: |-
+ Contains predefined metric specification information for a target tracking scaling policy for Application Auto Scaling.
+ ``PredefinedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.
+ additionalProperties: false
+ type: object
+ properties:
+ PredefinedMetricType:
+ description: The metric type. The ``ALBRequestCountPerTarget`` metric type applies only to Spot fleet requests and ECS services.
+ type: string
+ ResourceLabel:
+ description: |-
+ Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ``ALBRequestCountPerTarget`` and there is a target group attached to the Spot Fleet or ECS service.
+ You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:
+ ``app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff``.
+ Where:
+ + app// is the final portion of the load balancer ARN
+ + targetgroup// is the final portion of the target group ARN.
+
+ To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation.
+ type: string
+ required:
+ - PredefinedMetricType
+ MetricDimension:
+ description: '``MetricDimension`` specifies a name/value pair that is part of the identity of a CloudWatch metric for the ``Dimensions`` property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type. Duplicate dimensions are not allowed.'
+ additionalProperties: false
type: object
+ properties:
+ Value:
+ description: The value of the dimension.
+ type: string
+ Name:
+ description: The name of the dimension.
+ type: string
+ required:
+ - Value
+ - Name
+ PredictiveScalingPolicyConfiguration:
+ description: Represents a predictive scaling policy configuration. Predictive scaling is supported on Amazon ECS services.
additionalProperties: false
+ type: object
+ properties:
+ MaxCapacityBreachBehavior:
+ description: Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity. Defaults to ``HonorMaxCapacity`` if not specified.
+ type: string
+ MaxCapacityBuffer:
+ description: |-
+ The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.
+ Required if the ``MaxCapacityBreachBehavior`` property is set to ``IncreaseMaxCapacity``, and cannot be used otherwise.
+ type: integer
+ Mode:
+ description: The predictive scaling mode. Defaults to ``ForecastOnly`` if not specified.
+ type: string
+ MetricSpecifications:
+ uniqueItems: true
+ description: |-
+ This structure includes the metrics and target utilization to use for predictive scaling.
+ This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.
+ x-insertionOrder: false
+ type: array
+ items:
+ $ref: '#/components/schemas/PredictiveScalingMetricSpecification'
+ SchedulingBufferTime:
+ description: |-
+ The amount of time, in seconds, that the start time can be advanced.
+ The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.
+ type: integer
+ required:
+ - MetricSpecifications
+ PredictiveScalingPredefinedScalingMetric:
+ description: |-
+ Describes a scaling metric for a predictive scaling policy.
+ When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
+ The following predefined metrics are available for predictive scaling:
+ + ``ECSServiceAverageCPUUtilization``
+ + ``ECSServiceAverageMemoryUtilization``
+ + ``ECSServiceCPUUtilization``
+ + ``ECSServiceMemoryUtilization``
+ + ``ECSServiceTotalCPUUtilization``
+ + ``ECSServiceTotalMemoryUtilization``
+ + ``ALBRequestCount``
+ + ``ALBRequestCountPerTarget``
+ + ``TotalALBRequestCount``
+ additionalProperties: false
+ type: object
properties:
PredefinedMetricType:
- description: The metric type. The ALBRequestCountPerTarget metric type applies only to Spot Fleets and ECS services.
+ description: The metric type.
type: string
ResourceLabel:
- description: Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group attached to the Spot Fleet or ECS service.
+ description: A label that uniquely identifies a specific target group from which to determine the average request count.
type: string
required:
- PredefinedMetricType
- CustomizedMetricSpecification:
- description: Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use with Application Auto Scaling.
+ PredictiveScalingMetricSpecification:
+ description: |-
+ This structure specifies the metrics and target utilization settings for a predictive scaling policy.
+ You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.
+ additionalProperties: false
type: object
+ properties:
+ CustomizedLoadMetricSpecification:
+ description: The customized load metric specification.
+ $ref: '#/components/schemas/PredictiveScalingCustomizedLoadMetric'
+ PredefinedLoadMetricSpecification:
+ description: The predefined load metric specification.
+ $ref: '#/components/schemas/PredictiveScalingPredefinedLoadMetric'
+ TargetValue:
+ description: Specifies the target utilization.
+ type: number
+ PredefinedScalingMetricSpecification:
+ description: The predefined scaling metric specification.
+ $ref: '#/components/schemas/PredictiveScalingPredefinedScalingMetric'
+ CustomizedCapacityMetricSpecification:
+ description: The customized capacity metric specification.
+ $ref: '#/components/schemas/PredictiveScalingCustomizedCapacityMetric'
+ CustomizedScalingMetricSpecification:
+ description: The customized scaling metric specification.
+ $ref: '#/components/schemas/PredictiveScalingCustomizedScalingMetric'
+ PredefinedMetricPairSpecification:
+ description: The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.
+ $ref: '#/components/schemas/PredictiveScalingPredefinedMetricPair'
+ required:
+ - TargetValue
+ PredictiveScalingMetric:
+ description: Describes the scaling metric.
additionalProperties: false
+ type: object
properties:
+ MetricName:
+ description: The name of the metric.
+ type: string
Dimensions:
- description: The dimensions of the metric.
- type: array
uniqueItems: false
+ description: Describes the dimensions of the metric.
x-insertionOrder: false
+ type: array
items:
- $ref: '#/components/schemas/MetricDimension'
- MetricName:
- description: The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.
- type: string
+ $ref: '#/components/schemas/PredictiveScalingMetricDimension'
Namespace:
description: The namespace of the metric.
type: string
- Statistic:
- description: The statistic of the metric.
- type: string
- Unit:
- description: The unit of the metric. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.
- type: string
- Metrics:
- description: The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.
- type: array
- uniqueItems: false
- x-insertionOrder: false
- items:
- $ref: '#/components/schemas/TargetTrackingMetricDataQuery'
- TargetTrackingMetricDataQuery:
- description: The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.
- type: object
+ PredictiveScalingCustomizedLoadMetric:
+ description: The customized load metric specification.
additionalProperties: false
- properties:
- Expression:
- description: The math expression to perform on the returned data, if this object is performing a math expression.
- type: string
- Id:
- description: A short name that identifies the object's results in the response.
- type: string
- Label:
- description: A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.
- type: string
- ReturnData:
- description: Indicates whether to return the timestamps and raw data values of this metric.
- type: boolean
- MetricStat:
- description: Information about the metric data to return.
- $ref: '#/components/schemas/TargetTrackingMetricStat'
- TargetTrackingMetricStat:
- description: This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.
type: object
- additionalProperties: false
properties:
- Metric:
- description: 'The CloudWatch metric to return, including the metric name, namespace, and dimensions. '
- $ref: '#/components/schemas/TargetTrackingMetric'
- Stat:
- description: The statistic to return. It can include any CloudWatch statistic or extended statistic.
- type: string
- Unit:
- description: The unit to use for the returned data points.
- type: string
+ MetricDataQueries:
+ uniqueItems: true
+ description: ''
+ x-insertionOrder: false
+ type: array
+ items:
+ $ref: '#/components/schemas/PredictiveScalingMetricDataQuery'
+ required:
+ - MetricDataQueries
TargetTrackingMetric:
- description: Represents a specific metric.
- type: object
+ description: |-
+ Represents a specific metric for a target tracking scaling policy for Application Auto Scaling.
+ Metric is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricStat](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html) property type.
additionalProperties: false
+ type: object
properties:
+ MetricName:
+ description: The name of the metric.
+ type: string
Dimensions:
- description: The dimensions for the metric.
- type: array
uniqueItems: false
+ description: |-
+ The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
+ Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
x-insertionOrder: false
+ type: array
items:
$ref: '#/components/schemas/TargetTrackingMetricDimension'
- MetricName:
- description: The name of the metric.
- type: string
Namespace:
- description: The namespace of the metric.
+ description: The namespace of the metric. For more information, see the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
type: string
- TargetTrackingMetricDimension:
- description: Describes the dimension of a metric.
- type: object
+ PredictiveScalingMetricStat:
+ description: This structure defines the CloudWatch metric to return, along with the statistic and unit.
additionalProperties: false
+ type: object
properties:
- Name:
- description: The name of the dimension.
+ Stat:
+ description: |-
+ The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*.
+ The most commonly used metrics for predictive scaling are ``Average`` and ``Sum``.
type: string
- Value:
- description: The value of the dimension.
+ Metric:
+ description: The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
+ $ref: '#/components/schemas/PredictiveScalingMetric'
+ Unit:
+ description: The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
type: string
- StepAdjustment:
- description: Represents a step adjustment for a StepScalingPolicyConfiguration. Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm.
- type: object
+ StepScalingPolicyConfiguration:
+ description: |-
+ ``StepScalingPolicyConfiguration`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a step scaling policy configuration for Application Auto Scaling.
+ For more information, see [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*.
additionalProperties: false
- properties:
- MetricIntervalLowerBound:
- description: The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.
- type: number
- MetricIntervalUpperBound:
- description: The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.
- type: number
- ScalingAdjustment:
- description: The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a positive value.
- type: integer
- required:
- - ScalingAdjustment
- MetricDimension:
- description: Describes the dimension names and values associated with a metric.
type: object
- additionalProperties: false
properties:
- Name:
- description: The name of the dimension.
+ MetricAggregationType:
+ description: The aggregation type for the CloudWatch metrics. Valid values are ``Minimum``, ``Maximum``, and ``Average``. If the aggregation type is null, the value is treated as ``Average``.
type: string
- Value:
- description: The value of the dimension.
+ Cooldown:
+ description: The amount of time, in seconds, to wait for a previous scaling activity to take effect. If not specified, the default value is 300. For more information, see [Cooldown period](https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown) in the *Application Auto Scaling User Guide*.
+ type: integer
+ StepAdjustments:
+ uniqueItems: true
+ description: |-
+ A set of adjustments that enable you to scale based on the size of the alarm breach.
+ At least one step adjustment is required if you are adding a new step scaling policy configuration.
+ x-insertionOrder: false
+ type: array
+ items:
+ $ref: '#/components/schemas/StepAdjustment'
+ MinAdjustmentMagnitude:
+ description: The minimum value to scale by when the adjustment type is ``PercentChangeInCapacity``. For example, suppose that you create a step scaling policy to scale out an Amazon ECS service by 25 percent and you specify a ``MinAdjustmentMagnitude`` of 2. If the service has 4 tasks and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a ``MinAdjustmentMagnitude`` of 2, Application Auto Scaling scales out the service by 2 tasks.
+ type: integer
+ AdjustmentType:
+ description: Specifies whether the ``ScalingAdjustment`` value in the ``StepAdjustment`` property is an absolute number or a percentage of the current capacity.
type: string
- required:
- - Value
- - Name
ScalingPolicy:
type: object
properties:
- PolicyName:
- description: |-
- The name of the scaling policy.
-
- Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing AWS::ApplicationAutoScaling::ScalingPolicy resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name.
- type: string
PolicyType:
description: |-
The scaling policy type.
-
- The following policy types are supported:
-
- TargetTrackingScaling Not supported for Amazon EMR
-
- StepScaling Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
+ The following policy types are supported:
+ ``TargetTrackingScaling``—Not supported for Amazon EMR
+ ``StepScaling``—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
+ ``PredictiveScaling``—Only supported for Amazon ECS
type: string
ResourceId:
- description: The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
- type: string
- ScalableDimension:
- description: The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
+ description: |-
+ The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
+ + ECS service - The resource type is ``service`` and the unique identifier is the cluster name and service name. Example: ``service/my-cluster/my-service``.
+ + Spot Fleet - The resource type is ``spot-fleet-request`` and the unique identifier is the Spot Fleet request ID. Example: ``spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE``.
+ + EMR cluster - The resource type is ``instancegroup`` and the unique identifier is the cluster ID and instance group ID. Example: ``instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0``.
+ + AppStream 2.0 fleet - The resource type is ``fleet`` and the unique identifier is the fleet name. Example: ``fleet/sample-fleet``.
+ + DynamoDB table - The resource type is ``table`` and the unique identifier is the table name. Example: ``table/my-table``.
+ + DynamoDB global secondary index - The resource type is ``index`` and the unique identifier is the index name. Example: ``table/my-table/index/my-table-index``.
+ + Aurora DB cluster - The resource type is ``cluster`` and the unique identifier is the cluster name. Example: ``cluster:my-db-cluster``.
+ + SageMaker endpoint variant - The resource type is ``variant`` and the unique identifier is the resource ID. Example: ``endpoint/my-end-point/variant/KMeansClustering``.
+ + Custom resources are not supported with a resource type. This parameter must specify the ``OutputValue`` from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
+ + Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: ``arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE``.
+ + Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: ``arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE``.
+ + Lambda provisioned concurrency - The resource type is ``function`` and the unique identifier is the function name with a function version or alias name suffix that is not ``$LATEST``. Example: ``function:my-function:prod`` or ``function:my-function:1``.
+ + Amazon Keyspaces table - The resource type is ``table`` and the unique identifier is the table name. Example: ``keyspace/mykeyspace/table/mytable``.
+ + Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: ``arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5``.
+ + Amazon ElastiCache replication group - The resource type is ``replication-group`` and the unique identifier is the replication group name. Example: ``replication-group/mycluster``.
+ + Amazon ElastiCache cache cluster - The resource type is ``cache-cluster`` and the unique identifier is the cache cluster name. Example: ``cache-cluster/mycluster``.
+ + Neptune cluster - The resource type is ``cluster`` and the unique identifier is the cluster name. Example: ``cluster:mycluster``.
+ + SageMaker serverless endpoint - The resource type is ``variant`` and the unique identifier is the resource ID. Example: ``endpoint/my-end-point/variant/KMeansClustering``.
+ + SageMaker inference component - The resource type is ``inference-component`` and the unique identifier is the resource ID. Example: ``inference-component/my-inference-component``.
+ + Pool of WorkSpaces - The resource type is ``workspacespool`` and the unique identifier is the pool ID. Example: ``workspacespool/wspool-123456``.
type: string
ScalingTargetId:
- description: The CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the AWS::ApplicationAutoScaling::ScalableTarget resource.
+ description: |-
+ The CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the ``AWS::ApplicationAutoScaling::ScalableTarget`` resource.
+ You must specify either the ``ScalingTargetId`` property, or the ``ResourceId``, ``ScalableDimension``, and ``ServiceNamespace`` properties, but not both.
+ type: string
+ PolicyName:
+ description: |-
+ The name of the scaling policy.
+ Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing ``AWS::ApplicationAutoScaling::ScalingPolicy`` resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name.
type: string
ServiceNamespace:
- description: The namespace of the AWS service that provides the resource, or a custom-resource.
+ description: The namespace of the AWS service that provides the resource, or a ``custom-resource``.
+ type: string
+ ScalableDimension:
+ description: |-
+ The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
+ + ``ecs:service:DesiredCount`` - The task count of an ECS service.
+ + ``elasticmapreduce:instancegroup:InstanceCount`` - The instance count of an EMR Instance Group.
+ + ``ec2:spot-fleet-request:TargetCapacity`` - The target capacity of a Spot Fleet.
+ + ``appstream:fleet:DesiredCapacity`` - The capacity of an AppStream 2.0 fleet.
+ + ``dynamodb:table:ReadCapacityUnits`` - The provisioned read capacity for a DynamoDB table.
+ + ``dynamodb:table:WriteCapacityUnits`` - The provisioned write capacity for a DynamoDB table.
+ + ``dynamodb:index:ReadCapacityUnits`` - The provisioned read capacity for a DynamoDB global secondary index.
+ + ``dynamodb:index:WriteCapacityUnits`` - The provisioned write capacity for a DynamoDB global secondary index.
+ + ``rds:cluster:ReadReplicaCount`` - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
+ + ``sagemaker:variant:DesiredInstanceCount`` - The number of EC2 instances for a SageMaker model endpoint variant.
+ + ``custom-resource:ResourceType:Property`` - The scalable dimension for a custom resource provided by your own application or service.
+ + ``comprehend:document-classifier-endpoint:DesiredInferenceUnits`` - The number of inference units for an Amazon Comprehend document classification endpoint.
+ + ``comprehend:entity-recognizer-endpoint:DesiredInferenceUnits`` - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
+ + ``lambda:function:ProvisionedConcurrency`` - The provisioned concurrency for a Lambda function.
+ + ``cassandra:table:ReadCapacityUnits`` - The provisioned read capacity for an Amazon Keyspaces table.
+ + ``cassandra:table:WriteCapacityUnits`` - The provisioned write capacity for an Amazon Keyspaces table.
+ + ``kafka:broker-storage:VolumeSize`` - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
+ + ``elasticache:cache-cluster:Nodes`` - The number of nodes for an Amazon ElastiCache cache cluster.
+ + ``elasticache:replication-group:NodeGroups`` - The number of node groups for an Amazon ElastiCache replication group.
+ + ``elasticache:replication-group:Replicas`` - The number of replicas per node group for an Amazon ElastiCache replication group.
+ + ``neptune:cluster:ReadReplicaCount`` - The count of read replicas in an Amazon Neptune DB cluster.
+ + ``sagemaker:variant:DesiredProvisionedConcurrency`` - The provisioned concurrency for a SageMaker serverless endpoint.
+ + ``sagemaker:inference-component:DesiredCopyCount`` - The number of copies across an endpoint for a SageMaker inference component.
+ + ``workspaces:workspacespool:DesiredUserSessions`` - The number of user sessions for the WorkSpaces in the pool.
type: string
- StepScalingPolicyConfiguration:
- description: A step scaling policy.
- $ref: '#/components/schemas/StepScalingPolicyConfiguration'
TargetTrackingScalingPolicyConfiguration:
description: A target tracking scaling policy.
$ref: '#/components/schemas/TargetTrackingScalingPolicyConfiguration'
Arn:
- description: ARN is a read only property for the resource.
+ description: ''
type: string
+ StepScalingPolicyConfiguration:
+ description: A step scaling policy.
+ $ref: '#/components/schemas/StepScalingPolicyConfiguration'
+ PredictiveScalingPolicyConfiguration:
+ description: The predictive scaling policy configuration.
+ $ref: '#/components/schemas/PredictiveScalingPolicyConfiguration'
required:
- PolicyName
- PolicyType
x-stackql-resource-name: scaling_policy
- x-stackql-primaryIdentifier:
+ description: |-
+ The ``AWS::ApplicationAutoScaling::ScalingPolicy`` resource defines a scaling policy that Application Auto Scaling uses to adjust the capacity of a scalable target.
+ For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) and [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*.
+ x-type-name: AWS::ApplicationAutoScaling::ScalingPolicy
+ x-stackql-primary-identifier:
- Arn
- ScalableDimension
x-create-only-properties:
@@ -368,63 +1205,357 @@ components:
- ResourceId
- ScalableDimension
- ScalingTargetId
+ x-write-only-properties:
+ - TargetTrackingScalingPolicyConfiguration/PredefinedMetricSpecification/ResourceLabel
+ - ScalingTargetId
x-read-only-properties:
- Arn
+ x-required-properties:
+ - PolicyName
+ - PolicyType
+ x-tagging:
+ taggable: false
+ tagOnCreate: false
+ tagUpdatable: false
+ cloudFormationSystemTags: false
x-required-permissions:
+ read:
+ - application-autoscaling:DescribeScalingPolicies
create:
- application-autoscaling:DescribeScalingPolicies
- application-autoscaling:PutScalingPolicy
- read:
- - application-autoscaling:DescribeScalingPolicies
+ - cloudwatch:GetMetricData
update:
- application-autoscaling:DescribeScalingPolicies
- application-autoscaling:PutScalingPolicy
+ - cloudwatch:GetMetricData
+ list:
+ - application-autoscaling:DescribeScalingPolicies
delete:
- application-autoscaling:DescribeScalingPolicies
- application-autoscaling:DeleteScalingPolicy
- list:
- - application-autoscaling:DescribeScalingPolicies
+ CreateScalableTargetRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ScheduledActions:
+ uniqueItems: true
+ description: The scheduled actions for the scalable target. Duplicates aren't allowed.
+ x-insertionOrder: false
+ type: array
+ items:
+ $ref: '#/components/schemas/ScheduledAction'
+ ResourceId:
+ description: |-
+ The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
+ + ECS service - The resource type is ``service`` and the unique identifier is the cluster name and service name. Example: ``service/my-cluster/my-service``.
+ + Spot Fleet - The resource type is ``spot-fleet-request`` and the unique identifier is the Spot Fleet request ID. Example: ``spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE``.
+ + EMR cluster - The resource type is ``instancegroup`` and the unique identifier is the cluster ID and instance group ID. Example: ``instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0``.
+ + AppStream 2.0 fleet - The resource type is ``fleet`` and the unique identifier is the fleet name. Example: ``fleet/sample-fleet``.
+ + DynamoDB table - The resource type is ``table`` and the unique identifier is the table name. Example: ``table/my-table``.
+ + DynamoDB global secondary index - The resource type is ``index`` and the unique identifier is the index name. Example: ``table/my-table/index/my-table-index``.
+ + Aurora DB cluster - The resource type is ``cluster`` and the unique identifier is the cluster name. Example: ``cluster:my-db-cluster``.
+ + SageMaker endpoint variant - The resource type is ``variant`` and the unique identifier is the resource ID. Example: ``endpoint/my-end-point/variant/KMeansClustering``.
+ + Custom resources are not supported with a resource type. This parameter must specify the ``OutputValue`` from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
+ + Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: ``arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE``.
+ + Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: ``arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE``.
+ + Lambda provisioned concurrency - The resource type is ``function`` and the unique identifier is the function name with a function version or alias name suffix that is not ``$LATEST``. Example: ``function:my-function:prod`` or ``function:my-function:1``.
+ + Amazon Keyspaces table - The resource type is ``table`` and the unique identifier is the table name. Example: ``keyspace/mykeyspace/table/mytable``.
+ + Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: ``arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5``.
+ + Amazon ElastiCache replication group - The resource type is ``replication-group`` and the unique identifier is the replication group name. Example: ``replication-group/mycluster``.
+ + Amazon ElastiCache cache cluster - The resource type is ``cache-cluster`` and the unique identifier is the cache cluster name. Example: ``cache-cluster/mycluster``.
+ + Neptune cluster - The resource type is ``cluster`` and the unique identifier is the cluster name. Example: ``cluster:mycluster``.
+ + SageMaker serverless endpoint - The resource type is ``variant`` and the unique identifier is the resource ID. Example: ``endpoint/my-end-point/variant/KMeansClustering``.
+ + SageMaker inference component - The resource type is ``inference-component`` and the unique identifier is the resource ID. Example: ``inference-component/my-inference-component``.
+ + Pool of WorkSpaces - The resource type is ``workspacespool`` and the unique identifier is the pool ID. Example: ``workspacespool/wspool-123456``.
+ type: string
+ ServiceNamespace:
+ description: The namespace of the AWS service that provides the resource, or a ``custom-resource``.
+ type: string
+ ScalableDimension:
+ description: |-
+ The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
+ + ``ecs:service:DesiredCount`` - The task count of an ECS service.
+ + ``elasticmapreduce:instancegroup:InstanceCount`` - The instance count of an EMR Instance Group.
+ + ``ec2:spot-fleet-request:TargetCapacity`` - The target capacity of a Spot Fleet.
+ + ``appstream:fleet:DesiredCapacity`` - The capacity of an AppStream 2.0 fleet.
+ + ``dynamodb:table:ReadCapacityUnits`` - The provisioned read capacity for a DynamoDB table.
+ + ``dynamodb:table:WriteCapacityUnits`` - The provisioned write capacity for a DynamoDB table.
+ + ``dynamodb:index:ReadCapacityUnits`` - The provisioned read capacity for a DynamoDB global secondary index.
+ + ``dynamodb:index:WriteCapacityUnits`` - The provisioned write capacity for a DynamoDB global secondary index.
+ + ``rds:cluster:ReadReplicaCount`` - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
+ + ``sagemaker:variant:DesiredInstanceCount`` - The number of EC2 instances for a SageMaker model endpoint variant.
+ + ``custom-resource:ResourceType:Property`` - The scalable dimension for a custom resource provided by your own application or service.
+ + ``comprehend:document-classifier-endpoint:DesiredInferenceUnits`` - The number of inference units for an Amazon Comprehend document classification endpoint.
+ + ``comprehend:entity-recognizer-endpoint:DesiredInferenceUnits`` - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
+ + ``lambda:function:ProvisionedConcurrency`` - The provisioned concurrency for a Lambda function.
+ + ``cassandra:table:ReadCapacityUnits`` - The provisioned read capacity for an Amazon Keyspaces table.
+ + ``cassandra:table:WriteCapacityUnits`` - The provisioned write capacity for an Amazon Keyspaces table.
+ + ``kafka:broker-storage:VolumeSize`` - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
+ + ``elasticache:cache-cluster:Nodes`` - The number of nodes for an Amazon ElastiCache cache cluster.
+ + ``elasticache:replication-group:NodeGroups`` - The number of node groups for an Amazon ElastiCache replication group.
+ + ``elasticache:replication-group:Replicas`` - The number of replicas per node group for an Amazon ElastiCache replication group.
+ + ``neptune:cluster:ReadReplicaCount`` - The count of read replicas in an Amazon Neptune DB cluster.
+ + ``sagemaker:variant:DesiredProvisionedConcurrency`` - The provisioned concurrency for a SageMaker serverless endpoint.
+ + ``sagemaker:inference-component:DesiredCopyCount`` - The number of copies across an endpoint for a SageMaker inference component.
+ + ``workspaces:workspacespool:DesiredUserSessions`` - The number of user sessions for the WorkSpaces in the pool.
+ type: string
+ SuspendedState:
+ description: |-
+ An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to ``true`` suspends the specified scaling activities. Setting it to ``false`` (default) resumes the specified scaling activities.
+ *Suspension Outcomes*
+ + For ``DynamicScalingInSuspended``, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended.
+ + For ``DynamicScalingOutSuspended``, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended.
+ + For ``ScheduledScalingSuspended``, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended.
+ $ref: '#/components/schemas/SuspendedState'
+ Id:
+ description: ''
+ type: string
+ MinCapacity:
+ description: The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand.
+ type: integer
+ RoleARN:
+ description: >-
+ Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf. This can be either an IAM service role that Application Auto Scaling can assume to make calls to other AWS resources on your behalf, or a service-linked role for the specified service. For more information, see [How Application Auto Scaling works with
+ IAM](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html) in the *Application Auto Scaling User Guide*.
+ To automatically create a service-linked role (recommended), specify the full ARN of the service-linked role in your stack template. To find the exact ARN of the service-linked role for your AWS or custom resource, see the [Service-linked roles](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-service-linked-roles.html) topic in the *Application Auto Scaling User Guide*. Look for the ARN in the table at the bottom of the page.
+ type: string
+ MaxCapacity:
+ description: The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand.
+ type: integer
+ x-stackQL-stringOnly: true
+ x-title: CreateScalableTargetRequest
+ type: object
+ required: []
+ CreateScalingPolicyRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ PolicyType:
+ description: |-
+ The scaling policy type.
+ The following policy types are supported:
+ ``TargetTrackingScaling``—Not supported for Amazon EMR
+ ``StepScaling``—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
+ ``PredictiveScaling``—Only supported for Amazon ECS
+ type: string
+ ResourceId:
+ description: |-
+ The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
+ + ECS service - The resource type is ``service`` and the unique identifier is the cluster name and service name. Example: ``service/my-cluster/my-service``.
+ + Spot Fleet - The resource type is ``spot-fleet-request`` and the unique identifier is the Spot Fleet request ID. Example: ``spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE``.
+ + EMR cluster - The resource type is ``instancegroup`` and the unique identifier is the cluster ID and instance group ID. Example: ``instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0``.
+ + AppStream 2.0 fleet - The resource type is ``fleet`` and the unique identifier is the fleet name. Example: ``fleet/sample-fleet``.
+ + DynamoDB table - The resource type is ``table`` and the unique identifier is the table name. Example: ``table/my-table``.
+ + DynamoDB global secondary index - The resource type is ``index`` and the unique identifier is the index name. Example: ``table/my-table/index/my-table-index``.
+ + Aurora DB cluster - The resource type is ``cluster`` and the unique identifier is the cluster name. Example: ``cluster:my-db-cluster``.
+ + SageMaker endpoint variant - The resource type is ``variant`` and the unique identifier is the resource ID. Example: ``endpoint/my-end-point/variant/KMeansClustering``.
+ + Custom resources are not supported with a resource type. This parameter must specify the ``OutputValue`` from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
+ + Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: ``arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE``.
+ + Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: ``arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE``.
+ + Lambda provisioned concurrency - The resource type is ``function`` and the unique identifier is the function name with a function version or alias name suffix that is not ``$LATEST``. Example: ``function:my-function:prod`` or ``function:my-function:1``.
+ + Amazon Keyspaces table - The resource type is ``table`` and the unique identifier is the table name. Example: ``keyspace/mykeyspace/table/mytable``.
+ + Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: ``arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5``.
+ + Amazon ElastiCache replication group - The resource type is ``replication-group`` and the unique identifier is the replication group name. Example: ``replication-group/mycluster``.
+ + Amazon ElastiCache cache cluster - The resource type is ``cache-cluster`` and the unique identifier is the cache cluster name. Example: ``cache-cluster/mycluster``.
+ + Neptune cluster - The resource type is ``cluster`` and the unique identifier is the cluster name. Example: ``cluster:mycluster``.
+ + SageMaker serverless endpoint - The resource type is ``variant`` and the unique identifier is the resource ID. Example: ``endpoint/my-end-point/variant/KMeansClustering``.
+ + SageMaker inference component - The resource type is ``inference-component`` and the unique identifier is the resource ID. Example: ``inference-component/my-inference-component``.
+ + Pool of WorkSpaces - The resource type is ``workspacespool`` and the unique identifier is the pool ID. Example: ``workspacespool/wspool-123456``.
+ type: string
+ ScalingTargetId:
+ description: |-
+ The CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the ``AWS::ApplicationAutoScaling::ScalableTarget`` resource.
+ You must specify either the ``ScalingTargetId`` property, or the ``ResourceId``, ``ScalableDimension``, and ``ServiceNamespace`` properties, but not both.
+ type: string
+ PolicyName:
+ description: |-
+ The name of the scaling policy.
+ Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing ``AWS::ApplicationAutoScaling::ScalingPolicy`` resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name.
+ type: string
+ ServiceNamespace:
+ description: The namespace of the AWS service that provides the resource, or a ``custom-resource``.
+ type: string
+ ScalableDimension:
+ description: |-
+ The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
+ + ``ecs:service:DesiredCount`` - The task count of an ECS service.
+ + ``elasticmapreduce:instancegroup:InstanceCount`` - The instance count of an EMR Instance Group.
+ + ``ec2:spot-fleet-request:TargetCapacity`` - The target capacity of a Spot Fleet.
+ + ``appstream:fleet:DesiredCapacity`` - The capacity of an AppStream 2.0 fleet.
+ + ``dynamodb:table:ReadCapacityUnits`` - The provisioned read capacity for a DynamoDB table.
+ + ``dynamodb:table:WriteCapacityUnits`` - The provisioned write capacity for a DynamoDB table.
+ + ``dynamodb:index:ReadCapacityUnits`` - The provisioned read capacity for a DynamoDB global secondary index.
+ + ``dynamodb:index:WriteCapacityUnits`` - The provisioned write capacity for a DynamoDB global secondary index.
+ + ``rds:cluster:ReadReplicaCount`` - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
+ + ``sagemaker:variant:DesiredInstanceCount`` - The number of EC2 instances for a SageMaker model endpoint variant.
+ + ``custom-resource:ResourceType:Property`` - The scalable dimension for a custom resource provided by your own application or service.
+ + ``comprehend:document-classifier-endpoint:DesiredInferenceUnits`` - The number of inference units for an Amazon Comprehend document classification endpoint.
+ + ``comprehend:entity-recognizer-endpoint:DesiredInferenceUnits`` - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
+ + ``lambda:function:ProvisionedConcurrency`` - The provisioned concurrency for a Lambda function.
+ + ``cassandra:table:ReadCapacityUnits`` - The provisioned read capacity for an Amazon Keyspaces table.
+ + ``cassandra:table:WriteCapacityUnits`` - The provisioned write capacity for an Amazon Keyspaces table.
+ + ``kafka:broker-storage:VolumeSize`` - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
+ + ``elasticache:cache-cluster:Nodes`` - The number of nodes for an Amazon ElastiCache cache cluster.
+ + ``elasticache:replication-group:NodeGroups`` - The number of node groups for an Amazon ElastiCache replication group.
+ + ``elasticache:replication-group:Replicas`` - The number of replicas per node group for an Amazon ElastiCache replication group.
+ + ``neptune:cluster:ReadReplicaCount`` - The count of read replicas in an Amazon Neptune DB cluster.
+ + ``sagemaker:variant:DesiredProvisionedConcurrency`` - The provisioned concurrency for a SageMaker serverless endpoint.
+ + ``sagemaker:inference-component:DesiredCopyCount`` - The number of copies across an endpoint for a SageMaker inference component.
+ + ``workspaces:workspacespool:DesiredUserSessions`` - The number of user sessions for the WorkSpaces in the pool.
+ type: string
+ TargetTrackingScalingPolicyConfiguration:
+ description: A target tracking scaling policy.
+ $ref: '#/components/schemas/TargetTrackingScalingPolicyConfiguration'
+ Arn:
+ description: ''
+ type: string
+ StepScalingPolicyConfiguration:
+ description: A step scaling policy.
+ $ref: '#/components/schemas/StepScalingPolicyConfiguration'
+ PredictiveScalingPolicyConfiguration:
+ description: The predictive scaling policy configuration.
+ $ref: '#/components/schemas/PredictiveScalingPolicyConfiguration'
+ x-stackQL-stringOnly: true
+ x-title: CreateScalingPolicyRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
x-stackQL-resources:
scalable_targets:
name: scalable_targets
id: awscc.applicationautoscaling.scalable_targets
x-cfn-schema-name: ScalableTarget
- x-type: list
+ x-cfn-type-name: AWS::ApplicationAutoScaling::ScalableTarget
x-identifiers:
- ResourceId
- ScalableDimension
- ServiceNamespace
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ScalableTarget&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationAutoScaling::ScalableTarget"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationAutoScaling::ScalableTarget"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationAutoScaling::ScalableTarget"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/scalable_targets/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/scalable_targets/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/scalable_targets/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.ScheduledActions') as scheduled_actions,
JSON_EXTRACT(Properties, '$.ResourceId') as resource_id,
+ JSON_EXTRACT(Properties, '$.ServiceNamespace') as service_namespace,
JSON_EXTRACT(Properties, '$.ScalableDimension') as scalable_dimension,
- JSON_EXTRACT(Properties, '$.ServiceNamespace') as service_namespace
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalableTarget'
+ JSON_EXTRACT(Properties, '$.SuspendedState') as suspended_state,
+ JSON_EXTRACT(Properties, '$.Id') as id,
+ JSON_EXTRACT(Properties, '$.MinCapacity') as min_capacity,
+ JSON_EXTRACT(Properties, '$.RoleARN') as role_arn,
+ JSON_EXTRACT(Properties, '$.MaxCapacity') as max_capacity
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalableTarget'
+ AND data__Identifier = '||'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'ScheduledActions') as scheduled_actions,
json_extract_path_text(Properties, 'ResourceId') as resource_id,
+ json_extract_path_text(Properties, 'ServiceNamespace') as service_namespace,
json_extract_path_text(Properties, 'ScalableDimension') as scalable_dimension,
- json_extract_path_text(Properties, 'ServiceNamespace') as service_namespace
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalableTarget'
+ json_extract_path_text(Properties, 'SuspendedState') as suspended_state,
+ json_extract_path_text(Properties, 'Id') as id,
+ json_extract_path_text(Properties, 'MinCapacity') as min_capacity,
+ json_extract_path_text(Properties, 'RoleARN') as role_arn,
+ json_extract_path_text(Properties, 'MaxCapacity') as max_capacity
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalableTarget'
+ AND data__Identifier = '||'
AND region = 'us-east-1'
- scalable_target:
- name: scalable_target
- id: awscc.applicationautoscaling.scalable_target
+ scalable_targets_list_only:
+ name: scalable_targets_list_only
+ id: awscc.applicationautoscaling.scalable_targets_list_only
x-cfn-schema-name: ScalableTarget
- x-type: get
+ x-cfn-type-name: AWS::ApplicationAutoScaling::ScalableTarget
x-identifiers:
- ResourceId
- ScalableDimension
- ServiceNamespace
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -432,73 +1563,131 @@ components:
ddl: |-
SELECT
region,
- data__Identifier,
- JSON_EXTRACT(Properties, '$.Id') as id,
- JSON_EXTRACT(Properties, '$.MaxCapacity') as max_capacity,
- JSON_EXTRACT(Properties, '$.MinCapacity') as min_capacity,
JSON_EXTRACT(Properties, '$.ResourceId') as resource_id,
- JSON_EXTRACT(Properties, '$.RoleARN') as role_arn,
JSON_EXTRACT(Properties, '$.ScalableDimension') as scalable_dimension,
- JSON_EXTRACT(Properties, '$.ScheduledActions') as scheduled_actions,
- JSON_EXTRACT(Properties, '$.ServiceNamespace') as service_namespace,
- JSON_EXTRACT(Properties, '$.SuspendedState') as suspended_state
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalableTarget'
- AND data__Identifier = '||'
+ JSON_EXTRACT(Properties, '$.ServiceNamespace') as service_namespace
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalableTarget'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- data__Identifier,
- json_extract_path_text(Properties, 'Id') as id,
- json_extract_path_text(Properties, 'MaxCapacity') as max_capacity,
- json_extract_path_text(Properties, 'MinCapacity') as min_capacity,
json_extract_path_text(Properties, 'ResourceId') as resource_id,
- json_extract_path_text(Properties, 'RoleARN') as role_arn,
json_extract_path_text(Properties, 'ScalableDimension') as scalable_dimension,
- json_extract_path_text(Properties, 'ScheduledActions') as scheduled_actions,
- json_extract_path_text(Properties, 'ServiceNamespace') as service_namespace,
- json_extract_path_text(Properties, 'SuspendedState') as suspended_state
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalableTarget'
- AND data__Identifier = '||'
+ json_extract_path_text(Properties, 'ServiceNamespace') as service_namespace
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalableTarget'
AND region = 'us-east-1'
scaling_policies:
name: scaling_policies
id: awscc.applicationautoscaling.scaling_policies
x-cfn-schema-name: ScalingPolicy
- x-type: list
+ x-cfn-type-name: AWS::ApplicationAutoScaling::ScalingPolicy
x-identifiers:
- Arn
- ScalableDimension
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ScalingPolicy&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationAutoScaling::ScalingPolicy"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationAutoScaling::ScalingPolicy"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationAutoScaling::ScalingPolicy"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/scaling_policies/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/scaling_policies/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/scaling_policies/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.PolicyType') as policy_type,
+ JSON_EXTRACT(Properties, '$.ResourceId') as resource_id,
+ JSON_EXTRACT(Properties, '$.ScalingTargetId') as scaling_target_id,
+ JSON_EXTRACT(Properties, '$.PolicyName') as policy_name,
+ JSON_EXTRACT(Properties, '$.ServiceNamespace') as service_namespace,
+ JSON_EXTRACT(Properties, '$.ScalableDimension') as scalable_dimension,
+ JSON_EXTRACT(Properties, '$.TargetTrackingScalingPolicyConfiguration') as target_tracking_scaling_policy_configuration,
JSON_EXTRACT(Properties, '$.Arn') as arn,
- JSON_EXTRACT(Properties, '$.ScalableDimension') as scalable_dimension
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalingPolicy'
+ JSON_EXTRACT(Properties, '$.StepScalingPolicyConfiguration') as step_scaling_policy_configuration,
+ JSON_EXTRACT(Properties, '$.PredictiveScalingPolicyConfiguration') as predictive_scaling_policy_configuration
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalingPolicy'
+ AND data__Identifier = '|'
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'PolicyType') as policy_type,
+ json_extract_path_text(Properties, 'ResourceId') as resource_id,
+ json_extract_path_text(Properties, 'ScalingTargetId') as scaling_target_id,
+ json_extract_path_text(Properties, 'PolicyName') as policy_name,
+ json_extract_path_text(Properties, 'ServiceNamespace') as service_namespace,
+ json_extract_path_text(Properties, 'ScalableDimension') as scalable_dimension,
+ json_extract_path_text(Properties, 'TargetTrackingScalingPolicyConfiguration') as target_tracking_scaling_policy_configuration,
json_extract_path_text(Properties, 'Arn') as arn,
- json_extract_path_text(Properties, 'ScalableDimension') as scalable_dimension
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalingPolicy'
+ json_extract_path_text(Properties, 'StepScalingPolicyConfiguration') as step_scaling_policy_configuration,
+ json_extract_path_text(Properties, 'PredictiveScalingPolicyConfiguration') as predictive_scaling_policy_configuration
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalingPolicy'
+ AND data__Identifier = '|'
AND region = 'us-east-1'
- scaling_policy:
- name: scaling_policy
- id: awscc.applicationautoscaling.scaling_policy
+ scaling_policies_list_only:
+ name: scaling_policies_list_only
+ id: awscc.applicationautoscaling.scaling_policies_list_only
x-cfn-schema-name: ScalingPolicy
- x-type: get
+ x-cfn-type-name: AWS::ApplicationAutoScaling::ScalingPolicy
x-identifiers:
- Arn
- ScalableDimension
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -506,34 +1695,253 @@ components:
ddl: |-
SELECT
region,
- data__Identifier,
- JSON_EXTRACT(Properties, '$.PolicyName') as policy_name,
- JSON_EXTRACT(Properties, '$.PolicyType') as policy_type,
- JSON_EXTRACT(Properties, '$.ResourceId') as resource_id,
- JSON_EXTRACT(Properties, '$.ScalableDimension') as scalable_dimension,
- JSON_EXTRACT(Properties, '$.ScalingTargetId') as scaling_target_id,
- JSON_EXTRACT(Properties, '$.ServiceNamespace') as service_namespace,
- JSON_EXTRACT(Properties, '$.StepScalingPolicyConfiguration') as step_scaling_policy_configuration,
- JSON_EXTRACT(Properties, '$.TargetTrackingScalingPolicyConfiguration') as target_tracking_scaling_policy_configuration,
- JSON_EXTRACT(Properties, '$.Arn') as arn
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalingPolicy'
- AND data__Identifier = '|'
+ JSON_EXTRACT(Properties, '$.Arn') as arn,
+ JSON_EXTRACT(Properties, '$.ScalableDimension') as scalable_dimension
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalingPolicy'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- data__Identifier,
- json_extract_path_text(Properties, 'PolicyName') as policy_name,
- json_extract_path_text(Properties, 'PolicyType') as policy_type,
- json_extract_path_text(Properties, 'ResourceId') as resource_id,
- json_extract_path_text(Properties, 'ScalableDimension') as scalable_dimension,
- json_extract_path_text(Properties, 'ScalingTargetId') as scaling_target_id,
- json_extract_path_text(Properties, 'ServiceNamespace') as service_namespace,
- json_extract_path_text(Properties, 'StepScalingPolicyConfiguration') as step_scaling_policy_configuration,
- json_extract_path_text(Properties, 'TargetTrackingScalingPolicyConfiguration') as target_tracking_scaling_policy_configuration,
- json_extract_path_text(Properties, 'Arn') as arn
- FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalingPolicy'
- AND data__Identifier = '|'
+ json_extract_path_text(Properties, 'Arn') as arn,
+ json_extract_path_text(Properties, 'ScalableDimension') as scalable_dimension
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationAutoScaling::ScalingPolicy'
AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__ScalableTarget&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateScalableTarget
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateScalableTargetRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__ScalingPolicy&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateScalingPolicy
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateScalingPolicyRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/applicationinsights.yaml b/providers/src/awscc/v00.00.00000/services/applicationinsights.yaml
index 07f5e2cd..aaa4f10b 100644
--- a/providers/src/awscc/v00.00.00000/services/applicationinsights.yaml
+++ b/providers/src/awscc/v00.00.00000/services/applicationinsights.yaml
@@ -1,9 +1,389 @@
openapi: 3.0.0
info:
title: ApplicationInsights
- version: 1.0.0
-paths: {}
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
schemas:
Tag:
description: A key-value pair to associate with a resource.
@@ -110,7 +490,7 @@ components:
Tier:
description: The tier of the application component.
type: string
- pattern: ^[A-Z][[A-Z]_]*$
+ pattern: ^[A-Z][A-Z_]*$
ComponentConfigurationMode:
description: The component monitoring configuration mode.
type: string
@@ -170,6 +550,12 @@ components:
items:
$ref: '#/components/schemas/WindowsEvent'
x-insertionOrder: true
+ Processes:
+ description: A list of processes to monitor for the component. Only Windows EC2 instances can have a processes section.
+ type: array
+ items:
+ $ref: '#/components/schemas/Process'
+ x-insertionOrder: true
Alarms:
description: A list of alarms to monitor for the component.
type: array
@@ -185,6 +571,12 @@ components:
HAClusterPrometheusExporter:
description: The HA cluster Prometheus Exporter settings.
$ref: '#/components/schemas/HAClusterPrometheusExporter'
+ NetWeaverPrometheusExporter:
+ description: The NetWeaver Prometheus Exporter settings.
+ $ref: '#/components/schemas/NetWeaverPrometheusExporter'
+ SQLServerPrometheusExporter:
+ description: The SQL Prometheus Exporter settings.
+ $ref: '#/components/schemas/SQLServerPrometheusExporter'
additionalProperties: false
SubComponentConfigurationDetails:
description: The configuration settings of sub components.
@@ -208,6 +600,12 @@ components:
items:
$ref: '#/components/schemas/WindowsEvent'
x-insertionOrder: true
+ Processes:
+ description: A list of processes to monitor for the component. Only Windows EC2 instances can have a processes section.
+ type: array
+ items:
+ $ref: '#/components/schemas/Process'
+ x-insertionOrder: true
additionalProperties: false
JMXPrometheusExporter:
description: The JMX Prometheus Exporter settings.
@@ -260,6 +658,42 @@ components:
description: Prometheus exporter port.
type: string
additionalProperties: false
+ NetWeaverPrometheusExporter:
+ description: The NetWeaver Prometheus Exporter Settings.
+ type: object
+ properties:
+ SAPSID:
+ description: SAP NetWeaver SID.
+ type: string
+ InstanceNumbers:
+ description: SAP instance numbers for ASCS, ERS, and App Servers.
+ type: array
+ items:
+ type: string
+ minLength: 1
+ maxLength: 2
+ pattern: \b([0-9]|[0-9][0-9])\b
+ PrometheusPort:
+ description: Prometheus exporter port.
+ type: string
+ required:
+ - SAPSID
+ - InstanceNumbers
+ additionalProperties: false
+ SQLServerPrometheusExporter:
+ description: The SQL prometheus exporter settings.
+ type: object
+ properties:
+ PrometheusPort:
+ description: Prometheus exporter port.
+ type: string
+ SQLSecretName:
+ description: 'Secret name which managers SQL exporter connection. e.g. {"data_source_name": "sqlserver://:@localhost:1433"}'
+ type: string
+ required:
+ - PrometheusPort
+ - SQLSecretName
+ additionalProperties: false
AlarmMetric:
description: A metric to be monitored for the component.
type: object
@@ -289,7 +723,7 @@ components:
LogType:
description: The log type decides the log patterns against which Application Insights analyzes the log.
type: string
- pattern: ^[A-Z][[A-Z]_]*$
+ pattern: ^[A-Z][A-Z_]*$
Encoding:
description: The type of encoding of the logs to be monitored.
type: string
@@ -340,6 +774,26 @@ components:
- EventName
- EventLevels
additionalProperties: false
+ Process:
+ description: A process to be monitored for the component.
+ type: object
+ properties:
+ ProcessName:
+ description: The name of the process to be monitored for the component.
+ type: string
+ minLength: 1
+ maxLength: 256
+ pattern: ^[a-zA-Z0-9_,-]+$
+ AlarmMetrics:
+ description: A list of metrics to monitor for the component.
+ type: array
+ items:
+ $ref: '#/components/schemas/AlarmMetric'
+ x-insertionOrder: true
+ required:
+ - ProcessName
+ - AlarmMetrics
+ additionalProperties: false
EventLevel:
description: The level of event to log.
type: string
@@ -409,6 +863,12 @@ components:
minLength: 20
maxLength: 300
pattern: ^arn:aws(-[\w]+)*:[\w\d-]+:([\w\d-]*)?:[\w\d_-]*([:/].+)*$
+ SNSNotificationArn:
+ description: Application Insights sends notifications to this SNS topic whenever there is a problem update in the associated application.
+ type: string
+ minLength: 20
+ maxLength: 300
+ pattern: ^arn:aws(-[\w]+)*:[\w\d-]+:([\w\d-]*)?:[\w\d_-]*([:/].+)*$
Tags:
description: The tags of Application Insights application.
type: array
@@ -445,64 +905,242 @@ components:
type: string
enum:
- ACCOUNT_BASED
+ AttachMissingPermission:
+ description: If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing
+ type: boolean
required:
- ResourceGroupName
x-stackql-resource-name: application
- x-stackql-primaryIdentifier:
+ description: Resource Type definition for AWS::ApplicationInsights::Application
+ x-type-name: AWS::ApplicationInsights::Application
+ x-stackql-primary-identifier:
- ApplicationARN
x-create-only-properties:
- ResourceGroupName
- GroupingType
+ x-write-only-properties:
+ - ComponentMonitoringSettings
+ - LogPatternSets
+ - CustomComponents
+ - GroupingType
+ - OpsItemSNSTopicArn
+ - SNSNotificationArn
+ - AttachMissingPermission
x-read-only-properties:
- ApplicationARN
+ x-required-properties:
+ - ResourceGroupName
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
+ permissions:
+ - applicationinsights:ListTagsForResource
+ - applicationinsights:TagResource
+ - applicationinsights:UntagResource
x-required-permissions:
create:
- - '*'
+ - applicationinsights:CreateApplication
+ - applicationinsights:Describe*
+ - applicationinsights:CreateComponent
+ - applicationinsights:CreateLogPattern
+ - applicationinsights:UpdateComponentConfiguration
+ - applicationinsights:ListComponents
+ - applicationinsights:TagResource
+ - ec2:Describe*
+ - rds:Describe*
+ - sqs:ListQueues
+ - elasticloadbalancing:Describe*
+ - autoscaling:DescribeAutoScalingGroups
+ - lambda:ListFunctions
+ - dynamodb:ListTables
+ - s3:ListAllMyBuckets
+ - sns:ListTopics
+ - states:ListStateMachines
+ - apigateway:GET
+ - ecs:List*
+ - ecs:DescribeTaskDefinition
+ - eks:List*
+ - fsx:DescribeFileSystems
+ - route53:List*
+ - route53resolver:List*
+ - logs:DescribeLogGroups
+ - resource-explorer:ListResources
+ - elasticfilesystem:DescribeFileSystems
read:
- - '*'
+ - applicationinsights:Describe*
+ - applicationinsights:List*
update:
- - '*'
+ - applicationinsights:CreateApplication
+ - applicationinsights:Describe*
+ - applicationinsights:UpdateApplication
+ - applicationinsights:TagResource
+ - applicationinsights:UntagResource
+ - applicationinsights:List*
+ - applicationinsights:CreateComponent
+ - applicationinsights:DeleteComponent
+ - applicationinsights:CreateLogPattern
+ - applicationinsights:DeleteLogPattern
+ - applicationinsights:UpdateLogPattern
+ - applicationinsights:UpdateComponentConfiguration
delete:
- - '*'
+ - applicationinsights:DeleteApplication
+ - applicationinsights:DescribeApplication
list:
- - '*'
+ - applicationinsights:List*
+ - applicationinsights:Describe*
+ CreateApplicationRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ResourceGroupName:
+ description: The name of the resource group.
+ type: string
+ minLength: 1
+ maxLength: 256
+ pattern: '[a-zA-Z0-9.-_]*'
+ ApplicationARN:
+ description: The ARN of the ApplicationInsights application.
+ type: string
+ CWEMonitorEnabled:
+ description: Indicates whether Application Insights can listen to CloudWatch events for the application resources.
+ type: boolean
+ OpsCenterEnabled:
+ description: When set to true, creates opsItems for any problems detected on an application.
+ type: boolean
+ OpsItemSNSTopicArn:
+ description: The SNS topic provided to Application Insights that is associated to the created opsItem.
+ type: string
+ minLength: 20
+ maxLength: 300
+ pattern: ^arn:aws(-[\w]+)*:[\w\d-]+:([\w\d-]*)?:[\w\d_-]*([:/].+)*$
+ SNSNotificationArn:
+ description: Application Insights sends notifications to this SNS topic whenever there is a problem update in the associated application.
+ type: string
+ minLength: 20
+ maxLength: 300
+ pattern: ^arn:aws(-[\w]+)*:[\w\d-]+:([\w\d-]*)?:[\w\d_-]*([:/].+)*$
+ Tags:
+ description: The tags of Application Insights application.
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ minItems: 1
+ x-insertionOrder: true
+ CustomComponents:
+ description: The custom grouped components.
+ type: array
+ items:
+ $ref: '#/components/schemas/CustomComponent'
+ minItems: 1
+ x-insertionOrder: true
+ LogPatternSets:
+ description: The log pattern sets.
+ type: array
+ items:
+ $ref: '#/components/schemas/LogPatternSet'
+ minItems: 1
+ x-insertionOrder: true
+ AutoConfigurationEnabled:
+ description: If set to true, application will be configured with recommended monitoring configuration.
+ type: boolean
+ ComponentMonitoringSettings:
+ description: The monitoring settings of the components.
+ type: array
+ items:
+ $ref: '#/components/schemas/ComponentMonitoringSetting'
+ minItems: 1
+ x-insertionOrder: true
+ GroupingType:
+ description: The grouping type of the application
+ type: string
+ enum:
+ - ACCOUNT_BASED
+ AttachMissingPermission:
+ description: If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing
+ type: boolean
+ x-stackQL-stringOnly: true
+ x-title: CreateApplicationRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
x-stackQL-resources:
applications:
name: applications
id: awscc.applicationinsights.applications
x-cfn-schema-name: Application
- x-type: list
- x-identifiers:
- - ApplicationARN
- config:
- views:
- select:
- predicate: sqlDialect == "sqlite3"
- ddl: |-
- SELECT
- region,
- JSON_EXTRACT(Properties, '$.ApplicationARN') as application_arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationInsights::Application'
- AND region = 'us-east-1'
- fallback:
- predicate: sqlDialect == "postgres"
- ddl: |-
- SELECT
- region,
- json_extract_path_text(Properties, 'ApplicationARN') as application_arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationInsights::Application'
- AND region = 'us-east-1'
- application:
- name: application
- id: awscc.applicationinsights.application
- x-cfn-schema-name: Application
- x-type: get
+ x-cfn-type-name: AWS::ApplicationInsights::Application
x-identifiers:
- ApplicationARN
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationInsights::Application"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationInsights::Application"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationInsights::Application"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/applications/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/applications/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/applications/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -512,17 +1150,19 @@ components:
JSON_EXTRACT(Properties, '$.CWEMonitorEnabled') as cwe_monitor_enabled,
JSON_EXTRACT(Properties, '$.OpsCenterEnabled') as ops_center_enabled,
JSON_EXTRACT(Properties, '$.OpsItemSNSTopicArn') as ops_item_sns_topic_arn,
+ JSON_EXTRACT(Properties, '$.SNSNotificationArn') as sns_notification_arn,
JSON_EXTRACT(Properties, '$.Tags') as tags,
JSON_EXTRACT(Properties, '$.CustomComponents') as custom_components,
JSON_EXTRACT(Properties, '$.LogPatternSets') as log_pattern_sets,
JSON_EXTRACT(Properties, '$.AutoConfigurationEnabled') as auto_configuration_enabled,
JSON_EXTRACT(Properties, '$.ComponentMonitoringSettings') as component_monitoring_settings,
- JSON_EXTRACT(Properties, '$.GroupingType') as grouping_type
+ JSON_EXTRACT(Properties, '$.GroupingType') as grouping_type,
+ JSON_EXTRACT(Properties, '$.AttachMissingPermission') as attach_missing_permission
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationInsights::Application'
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -532,12 +1172,240 @@ components:
json_extract_path_text(Properties, 'CWEMonitorEnabled') as cwe_monitor_enabled,
json_extract_path_text(Properties, 'OpsCenterEnabled') as ops_center_enabled,
json_extract_path_text(Properties, 'OpsItemSNSTopicArn') as ops_item_sns_topic_arn,
+ json_extract_path_text(Properties, 'SNSNotificationArn') as sns_notification_arn,
json_extract_path_text(Properties, 'Tags') as tags,
json_extract_path_text(Properties, 'CustomComponents') as custom_components,
json_extract_path_text(Properties, 'LogPatternSets') as log_pattern_sets,
json_extract_path_text(Properties, 'AutoConfigurationEnabled') as auto_configuration_enabled,
json_extract_path_text(Properties, 'ComponentMonitoringSettings') as component_monitoring_settings,
- json_extract_path_text(Properties, 'GroupingType') as grouping_type
+ json_extract_path_text(Properties, 'GroupingType') as grouping_type,
+ json_extract_path_text(Properties, 'AttachMissingPermission') as attach_missing_permission
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationInsights::Application'
AND data__Identifier = ''
AND region = 'us-east-1'
+ applications_list_only:
+ name: applications_list_only
+ id: awscc.applicationinsights.applications_list_only
+ x-cfn-schema-name: Application
+ x-cfn-type-name: AWS::ApplicationInsights::Application
+ x-identifiers:
+ - ApplicationARN
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.ApplicationARN') as application_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationInsights::Application'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'ApplicationARN') as application_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationInsights::Application'
+ AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateApplication
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateApplicationRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/applicationsignals.yaml b/providers/src/awscc/v00.00.00000/services/applicationsignals.yaml
new file mode 100644
index 00000000..89b67553
--- /dev/null
+++ b/providers/src/awscc/v00.00.00000/services/applicationsignals.yaml
@@ -0,0 +1,1477 @@
+openapi: 3.0.0
+info:
+ title: ApplicationSignals
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
+components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ schemas:
+ AccountId:
+ description: The identifier for the specified AWS account.
+ type: string
+ maxLength: 12
+ minLength: 12
+ pattern: ^[0-9]{12}$
+ Discovery:
+ type: object
+ properties:
+ AccountId:
+ $ref: '#/components/schemas/AccountId'
+ required: []
+ x-stackql-resource-name: discovery
+ description: Resource Type definition for AWS::ApplicationSignals::Discovery
+ x-type-name: AWS::ApplicationSignals::Discovery
+ x-stackql-primary-identifier:
+ - AccountId
+ x-read-only-properties:
+ - AccountId
+ x-required-properties: []
+ x-tagging:
+ taggable: false
+ x-required-permissions:
+ create:
+ - application-signals:StartDiscovery
+ - application-signals:ListServices
+ - iam:CreateServiceLinkedRole
+ read:
+ - application-signals:ListServices
+ update:
+ - application-signals:ListServices
+ delete:
+ - application-signals:ListServices
+ list:
+ - application-signals:ListServices
+ Sli:
+ description: This structure contains information about the performance metric that an SLO monitors.
+ type: object
+ additionalProperties: false
+ properties:
+ SliMetric:
+ $ref: '#/components/schemas/SliMetric'
+ MetricThreshold:
+ description: The value that the SLI metric is compared to.
+ type: number
+ ComparisonOperator:
+ description: The arithmetic operation used when comparing the specified metric to the threshold.
+ type: string
+ enum:
+ - GreaterThanOrEqualTo
+ - LessThanOrEqualTo
+ - LessThan
+ - GreaterThan
+ required:
+ - SliMetric
+ - MetricThreshold
+ - ComparisonOperator
+ RequestBasedSli:
+ description: This structure contains information about the performance metric that a request-based SLO monitors.
+ type: object
+ additionalProperties: false
+ properties:
+ RequestBasedSliMetric:
+ $ref: '#/components/schemas/RequestBasedSliMetric'
+ MetricThreshold:
+ description: The value that the SLI metric is compared to.
+ type: number
+ ComparisonOperator:
+ description: The arithmetic operation used when comparing the specified metric to the threshold.
+ type: string
+ enum:
+ - GreaterThanOrEqualTo
+ - LessThanOrEqualTo
+ - LessThan
+ - GreaterThan
+ required:
+ - RequestBasedSliMetric
+ Goal:
+ description: A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.
+ type: object
+ additionalProperties: false
+ properties:
+ Interval:
+ $ref: '#/components/schemas/Interval'
+ AttainmentGoal:
+ description: |-
+ The threshold that determines if the goal is being met. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state.
+ If you omit this parameter, 99 is used to represent 99% as the attainment goal.
+ type: number
+ WarningThreshold:
+ description: The percentage of remaining budget over total budget that you want to get warnings for. If you omit this parameter, the default of 50.0 is used.
+ type: number
+ SliMetric:
+ description: A structure that contains information about the metric that the SLO monitors.
+ type: object
+ additionalProperties: false
+ properties:
+ KeyAttributes:
+ $ref: '#/components/schemas/KeyAttributes'
+ OperationName:
+ description: If the SLO monitors a specific operation of the service, this field displays that operation name.
+ type: string
+ minLength: 1
+ maxLength: 255
+ MetricType:
+ description: If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.
+ type: string
+ enum:
+ - LATENCY
+ - AVAILABILITY
+ Statistic:
+ description: The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic
+ type: string
+ minLength: 1
+ maxLength: 20
+ PeriodSeconds:
+ description: The number of seconds to use as the period for SLO evaluation. Your application's performance is compared to the SLI during each period. For each period, the application is determined to have either achieved or not achieved the necessary performance.
+ type: integer
+ minimum: 60
+ maximum: 900
+ MetricDataQueries:
+ $ref: '#/components/schemas/MetricDataQueries'
+ DependencyConfig:
+ $ref: '#/components/schemas/DependencyConfig'
+ RequestBasedSliMetric:
+ description: This structure contains the information about the metric that is used for a request-based SLO.
+ type: object
+ additionalProperties: false
+ properties:
+ KeyAttributes:
+ $ref: '#/components/schemas/KeyAttributes'
+ OperationName:
+ description: If the SLO monitors a specific operation of the service, this field displays that operation name.
+ type: string
+ minLength: 1
+ maxLength: 255
+ MetricType:
+ description: If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.
+ type: string
+ enum:
+ - LATENCY
+ - AVAILABILITY
+ TotalRequestCountMetric:
+ description: This structure defines the metric that is used as the "total requests" number for a request-based SLO. The number observed for this metric is divided by the number of "good requests" or "bad requests" that is observed for the metric defined in `MonitoredRequestCountMetric`.
+ $ref: '#/components/schemas/MetricDataQueries'
+ MonitoredRequestCountMetric:
+ $ref: '#/components/schemas/MonitoredRequestCountMetric'
+ DependencyConfig:
+ $ref: '#/components/schemas/DependencyConfig'
+ MonitoredRequestCountMetric:
+ description: This structure defines the metric that is used as the "good request" or "bad request" value for a request-based SLO. This value observed for the metric defined in `TotalRequestCountMetric` is divided by the number found for `MonitoredRequestCountMetric` to determine the percentage of successful requests that this SLO tracks.
+ type: object
+ additionalProperties: false
+ properties:
+ GoodCountMetric:
+ description: If you want to count "good requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "good requests" in this structure.
+ $ref: '#/components/schemas/MetricDataQueries'
+ BadCountMetric:
+ description: If you want to count "bad requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "bad requests" in this structure.
+ $ref: '#/components/schemas/MetricDataQueries'
+ KeyAttributes:
+ description: This is a string-to-string map that contains information about the type of object that this SLO is related to.
+ x-patternProperties:
+ ^.+$:
+ type: string
+ additionalProperties: false
+ Interval:
+ description: |-
+ The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.
+ If you omit this parameter, a rolling interval of 7 days is used.
+ type: object
+ additionalProperties: false
+ properties:
+ RollingInterval:
+ $ref: '#/components/schemas/RollingInterval'
+ CalendarInterval:
+ $ref: '#/components/schemas/CalendarInterval'
+ RollingInterval:
+ description: If the interval is a calendar interval, this structure contains the interval specifications.
+ type: object
+ additionalProperties: false
+ properties:
+ DurationUnit:
+ $ref: '#/components/schemas/DurationUnit'
+ Duration:
+ $ref: '#/components/schemas/Duration'
+ required:
+ - DurationUnit
+ - Duration
+ CalendarInterval:
+ description: If the interval for this service level objective is a calendar interval, this structure contains the interval specifications.
+ type: object
+ additionalProperties: false
+ properties:
+ StartTime:
+ type: integer
+ description: |-
+ Epoch time in seconds you want the first interval to start. Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m.
+ As soon as one calendar interval ends, another automatically begins.
+ minimum: 946684800
+ DurationUnit:
+ $ref: '#/components/schemas/DurationUnit'
+ Duration:
+ $ref: '#/components/schemas/Duration'
+ required:
+ - StartTime
+ - DurationUnit
+ - Duration
+ DurationUnit:
+ description: Specifies the interval unit.
+ type: string
+ enum:
+ - MINUTE
+ - HOUR
+ - DAY
+ - MONTH
+ Duration:
+ description: Specifies the duration of each interval. For example, if `Duration` is 1 and `DurationUnit` is `MONTH`, each interval is one month, aligned with the calendar.
+ type: integer
+ minimum: 1
+ MetricDataQueries:
+ description: If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, this structure includes the information about that metric or expression.
+ type: array
+ uniqueItems: false
+ x-insertionOrder: true
+ items:
+ $ref: '#/components/schemas/MetricDataQuery'
+ MetricDataQuery:
+ description: >-
+ Use this structure to define a metric or metric math expression that you want to use as for a service level objective.
+
+ Each `MetricDataQuery` in the `MetricDataQueries` array specifies either a metric to retrieve, or a metric math expression to be performed on retrieved metrics. A single `MetricDataQueries` array can include as many as 20 `MetricDataQuery` structures in the array. The 20 structures can include as many as 10 structures that contain a `MetricStat` parameter to retrieve a metric, and as many as 10 structures that contain the `Expression` parameter to perform a math expression. Of those
+ Expression structures, exactly one must have true as the value for `ReturnData`. The result of this expression used for the SLO.
+ type: object
+ additionalProperties: false
+ properties:
+ MetricStat:
+ description: A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO. Within one MetricDataQuery, you must specify either Expression or MetricStat but not both.
+ $ref: '#/components/schemas/MetricStat'
+ Id:
+ description: A short name used to tie this object to the results in the response.
+ type: string
+ ReturnData:
+ description: This option indicates whether to return the timestamps and raw data values of this metric.
+ type: boolean
+ Expression:
+ description: The math expression to be performed on the returned data.
+ type: string
+ AccountId:
+ description: The ID of the account where the metrics are located, if this is a cross-account alarm.
+ type: string
+ required:
+ - Id
+ MetricStat:
+ description: A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO. Within one MetricDataQuery object, you must specify either Expression or MetricStat but not both.
+ type: object
+ additionalProperties: false
+ properties:
+ Period:
+ description: The granularity, in seconds, to be used for the metric.
+ type: integer
+ Metric:
+ $ref: '#/components/schemas/Metric'
+ Stat:
+ description: The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic.
+ type: string
+ Unit:
+ description: If you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.
+ type: string
+ required:
+ - Stat
+ - Period
+ - Metric
+ Metric:
+ description: This structure defines the metric used for a service level indicator, including the metric name, namespace, and dimensions.
+ type: object
+ additionalProperties: false
+ properties:
+ MetricName:
+ description: The name of the metric to use.
+ type: string
+ Dimensions:
+ description: An array of one or more dimensions to use to define the metric that you want to use.
+ type: array
+ uniqueItems: false
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/Dimension'
+ Namespace:
+ description: The namespace of the metric.
+ type: string
+ Dimension:
+ description: A dimension is a name/value pair that is part of the identity of a metric. Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish `InstanceId` as a dimension name, and the actual instance ID as the value for that dimension. You can assign up to 30 dimensions to a metric.
+ type: object
+ additionalProperties: false
+ properties:
+ Value:
+ description: The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values
+ type: string
+ Name:
+ description: The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:). ASCII control characters are not supported as part of dimension names.
+ type: string
+ required:
+ - Value
+ - Name
+ Tags:
+ description: The list of tag keys and values associated with the resource you specified
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/Tag'
+ minItems: 1
+ maxItems: 200
+ Tag:
+ type: object
+ additionalProperties: false
+ properties:
+ Key:
+ type: string
+ pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$
+ description: A string that you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.
+ minLength: 1
+ maxLength: 128
+ Value:
+ type: string
+ description: The value for the specified tag key.
+ minLength: 0
+ maxLength: 256
+ required:
+ - Key
+ - Value
+ BurnRateConfigurations:
+ description: Each object in this array defines the length of the look-back window used to calculate one burn rate metric for this SLO. The burn rate measures how fast the service is consuming the error budget, relative to the attainment goal of the SLO.
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/BurnRateConfiguration'
+ minItems: 0
+ maxItems: 10
+ BurnRateConfiguration:
+ type: object
+ description: |-
+ This object defines the length of the look-back window used to calculate one burn rate metric for this SLO. The burn rate measures how fast the service is consuming the error budget, relative to the attainment goal of the SLO. A burn rate of exactly 1 indicates that the SLO goal will be met exactly.
+ For example, if you specify 60 as the number of minutes in the look-back window, the burn rate is calculated as the following:
+ burn rate = error rate over the look-back window / (1 - attainment goal percentage)
+ additionalProperties: false
+ properties:
+ LookBackWindowMinutes:
+ description: The number of minutes to use as the look-back window.
+ type: integer
+ minimum: 1
+ maximum: 10080
+ required:
+ - LookBackWindowMinutes
+ ExclusionWindows:
+ description: Each object in this array defines a time exclusion window for this SLO. The time exclusion window is used to exclude breaching data points from affecting attainment rate, error budget, and burn rate metrics.
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ $ref: '#/components/schemas/ExclusionWindow'
+ minItems: 0
+ maxItems: 10
+ ExclusionWindow:
+ description: This object defines a time exclusion window for this SLO. The time exclusion window is used to exclude breaching data points from affecting attainment rate, error budget, and burn rate metrics.
+ type: object
+ additionalProperties: false
+ properties:
+ Window:
+ $ref: '#/components/schemas/Window'
+ StartTime:
+ type: string
+ description: The time you want the exclusion window to start at. Note that time exclusion windows can only be scheduled in the future, not the past.
+ RecurrenceRule:
+ $ref: '#/components/schemas/RecurrenceRule'
+ Reason:
+ description: An optional reason for scheduling this time exclusion window. Default is 'No reason'.
+ type: string
+ minLength: 1
+ maxLength: 1024
+ default: No reason
+ required:
+ - Window
+ Window:
+ description: This object defines the length of time an exclusion window should span.
+ type: object
+ additionalProperties: false
+ properties:
+ DurationUnit:
+ $ref: '#/components/schemas/DurationUnit'
+ Duration:
+ $ref: '#/components/schemas/Duration'
+ required:
+ - DurationUnit
+ - Duration
+ RecurrenceRule:
+ description: This object defines how often to repeat a time exclusion window.
+ type: object
+ additionalProperties: false
+ properties:
+ Expression:
+ description: A cron or rate expression denoting how often to repeat this exclusion window.
+ type: string
+ minLength: 1
+ maxLength: 1024
+ required:
+ - Expression
+ DependencyConfig:
+ description: Configuration for identifying a dependency and its operation
+ type: object
+ additionalProperties: false
+ properties:
+ DependencyKeyAttributes:
+ $ref: '#/components/schemas/DependencyKeyAttributes'
+ DependencyOperationName:
+ type: string
+ description: When the SLO monitors a specific operation of the dependency, this field specifies the name of that operation in the dependency.
+ minLength: 1
+ maxLength: 255
+ required:
+ - DependencyKeyAttributes
+ - DependencyOperationName
+ DependencyKeyAttributes:
+ description: If this SLO is related to a metric collected by Application Signals, you must use this field to specify which dependency the SLO metric is related to.
+ x-patternProperties:
+ ^.+$:
+ type: string
+ additionalProperties: false
+ ServiceLevelObjective:
+ type: object
+ properties:
+ Arn:
+ description: The ARN of this SLO.
+ type: string
+ pattern: ^arn:[^:]*:application-signals:[^:]*:[^:]*:slo\/[0-9A-Za-z][-._0-9A-Za-z ]{0,126}[0-9A-Za-z]$
+ Name:
+ description: The name of this SLO.
+ type: string
+ pattern: ^[0-9A-Za-z][-._0-9A-Za-z ]{0,126}[0-9A-Za-z]$
+ Description:
+ description: An optional description for this SLO. Default is 'No description'
+ type: string
+ minLength: 1
+ maxLength: 1024
+ default: No description
+ CreatedTime:
+ type: integer
+ description: Epoch time in seconds of the time that this SLO was created
+ minimum: 946684800
+ LastUpdatedTime:
+ type: integer
+ description: Epoch time in seconds of the time that this SLO was most recently updated
+ minimum: 946684800
+ Sli:
+ $ref: '#/components/schemas/Sli'
+ RequestBasedSli:
+ $ref: '#/components/schemas/RequestBasedSli'
+ EvaluationType:
+ description: Displays whether this is a period-based SLO or a request-based SLO.
+ type: string
+ enum:
+ - PeriodBased
+ - RequestBased
+ Goal:
+ $ref: '#/components/schemas/Goal'
+ Tags:
+ $ref: '#/components/schemas/Tags'
+ BurnRateConfigurations:
+ $ref: '#/components/schemas/BurnRateConfigurations'
+ ExclusionWindows:
+ $ref: '#/components/schemas/ExclusionWindows'
+ required:
+ - Name
+ x-stackql-resource-name: service_level_objective
+ description: Resource Type definition for AWS::ApplicationSignals::ServiceLevelObjective
+ x-type-name: AWS::ApplicationSignals::ServiceLevelObjective
+ x-stackql-primary-identifier:
+ - Arn
+ x-create-only-properties:
+ - Name
+ x-read-only-properties:
+ - Arn
+ - CreatedTime
+ - LastUpdatedTime
+ - EvaluationType
+ x-required-properties:
+ - Name
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: true
+ cloudFormationSystemTags: true
+ tagProperty: /properties/Tags
+ permissions:
+ - application-signals:ListTagsForResource
+ - application-signals:TagResource
+ - application-signals:UntagResource
+ x-required-permissions:
+ create:
+ - application-signals:CreateServiceLevelObjective
+ - cloudwatch:GetMetricData
+ - application-signals:TagResource
+ - application-signals:GetServiceLevelObjective
+ - application-signals:ListTagsForResource
+ - iam:GetRole
+ - iam:CreateServiceLinkedRole
+ - application-signals:ListServiceLevelObjectiveExclusionWindows
+ - application-signals:BatchUpdateExclusionWindows
+ read:
+ - application-signals:GetServiceLevelObjective
+ - application-signals:ListTagsForResource
+ - application-signals:ListServiceLevelObjectiveExclusionWindows
+ update:
+ - application-signals:UpdateServiceLevelObjective
+ - cloudwatch:GetMetricData
+ - application-signals:TagResource
+ - application-signals:UntagResource
+ - application-signals:GetServiceLevelObjective
+ - application-signals:ListTagsForResource
+ - application-signals:ListServiceLevelObjectiveExclusionWindows
+ - application-signals:BatchUpdateExclusionWindows
+ delete:
+ - application-signals:DeleteServiceLevelObjective
+ - application-signals:UntagResource
+ - application-signals:GetServiceLevelObjective
+ list:
+ - application-signals:ListServiceLevelObjectives
+ - application-signals:ListTagsForResource
+ - application-signals:ListServiceLevelObjectiveExclusionWindows
+ CreateDiscoveryRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ AccountId:
+ $ref: '#/components/schemas/AccountId'
+ x-stackQL-stringOnly: true
+ x-title: CreateDiscoveryRequest
+ type: object
+ required: []
+ CreateServiceLevelObjectiveRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ Arn:
+ description: The ARN of this SLO.
+ type: string
+ pattern: ^arn:[^:]*:application-signals:[^:]*:[^:]*:slo\/[0-9A-Za-z][-._0-9A-Za-z ]{0,126}[0-9A-Za-z]$
+ Name:
+ description: The name of this SLO.
+ type: string
+ pattern: ^[0-9A-Za-z][-._0-9A-Za-z ]{0,126}[0-9A-Za-z]$
+ Description:
+ description: An optional description for this SLO. Default is 'No description'
+ type: string
+ minLength: 1
+ maxLength: 1024
+ default: No description
+ CreatedTime:
+ type: integer
+ description: Epoch time in seconds of the time that this SLO was created
+ minimum: 946684800
+ LastUpdatedTime:
+ type: integer
+ description: Epoch time in seconds of the time that this SLO was most recently updated
+ minimum: 946684800
+ Sli:
+ $ref: '#/components/schemas/Sli'
+ RequestBasedSli:
+ $ref: '#/components/schemas/RequestBasedSli'
+ EvaluationType:
+ description: Displays whether this is a period-based SLO or a request-based SLO.
+ type: string
+ enum:
+ - PeriodBased
+ - RequestBased
+ Goal:
+ $ref: '#/components/schemas/Goal'
+ Tags:
+ $ref: '#/components/schemas/Tags'
+ BurnRateConfigurations:
+ $ref: '#/components/schemas/BurnRateConfigurations'
+ ExclusionWindows:
+ $ref: '#/components/schemas/ExclusionWindows'
+ x-stackQL-stringOnly: true
+ x-title: CreateServiceLevelObjectiveRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
+ x-stackQL-resources:
+ discoveries:
+ name: discoveries
+ id: awscc.applicationsignals.discoveries
+ x-cfn-schema-name: Discovery
+ x-cfn-type-name: AWS::ApplicationSignals::Discovery
+ x-identifiers:
+ - AccountId
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Discovery&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationSignals::Discovery"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationSignals::Discovery"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationSignals::Discovery"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/discoveries/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/discoveries/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/discoveries/methods/update_resource'
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.AccountId') as account_id
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationSignals::Discovery'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'AccountId') as account_id
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationSignals::Discovery'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ discoveries_list_only:
+ name: discoveries_list_only
+ id: awscc.applicationsignals.discoveries_list_only
+ x-cfn-schema-name: Discovery
+ x-cfn-type-name: AWS::ApplicationSignals::Discovery
+ x-identifiers:
+ - AccountId
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.AccountId') as account_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationSignals::Discovery'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'AccountId') as account_id
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationSignals::Discovery'
+ AND region = 'us-east-1'
+ service_level_objectives:
+ name: service_level_objectives
+ id: awscc.applicationsignals.service_level_objectives
+ x-cfn-schema-name: ServiceLevelObjective
+ x-cfn-type-name: AWS::ApplicationSignals::ServiceLevelObjective
+ x-identifiers:
+ - Arn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ServiceLevelObjective&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationSignals::ServiceLevelObjective"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationSignals::ServiceLevelObjective"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::ApplicationSignals::ServiceLevelObjective"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/service_level_objectives/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/service_level_objectives/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/service_level_objectives/methods/update_resource'
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ JSON_EXTRACT(Properties, '$.Arn') as arn,
+ JSON_EXTRACT(Properties, '$.Name') as name,
+ JSON_EXTRACT(Properties, '$.Description') as description,
+ JSON_EXTRACT(Properties, '$.CreatedTime') as created_time,
+ JSON_EXTRACT(Properties, '$.LastUpdatedTime') as last_updated_time,
+ JSON_EXTRACT(Properties, '$.Sli') as sli,
+ JSON_EXTRACT(Properties, '$.RequestBasedSli') as request_based_sli,
+ JSON_EXTRACT(Properties, '$.EvaluationType') as evaluation_type,
+ JSON_EXTRACT(Properties, '$.Goal') as goal,
+ JSON_EXTRACT(Properties, '$.Tags') as tags,
+ JSON_EXTRACT(Properties, '$.BurnRateConfigurations') as burn_rate_configurations,
+ JSON_EXTRACT(Properties, '$.ExclusionWindows') as exclusion_windows
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationSignals::ServiceLevelObjective'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
+ ddl: |-
+ SELECT
+ region,
+ data__Identifier,
+ json_extract_path_text(Properties, 'Arn') as arn,
+ json_extract_path_text(Properties, 'Name') as name,
+ json_extract_path_text(Properties, 'Description') as description,
+ json_extract_path_text(Properties, 'CreatedTime') as created_time,
+ json_extract_path_text(Properties, 'LastUpdatedTime') as last_updated_time,
+ json_extract_path_text(Properties, 'Sli') as sli,
+ json_extract_path_text(Properties, 'RequestBasedSli') as request_based_sli,
+ json_extract_path_text(Properties, 'EvaluationType') as evaluation_type,
+ json_extract_path_text(Properties, 'Goal') as goal,
+ json_extract_path_text(Properties, 'Tags') as tags,
+ json_extract_path_text(Properties, 'BurnRateConfigurations') as burn_rate_configurations,
+ json_extract_path_text(Properties, 'ExclusionWindows') as exclusion_windows
+ FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ApplicationSignals::ServiceLevelObjective'
+ AND data__Identifier = ''
+ AND region = 'us-east-1'
+ service_level_objectives_list_only:
+ name: service_level_objectives_list_only
+ id: awscc.applicationsignals.service_level_objectives_list_only
+ x-cfn-schema-name: ServiceLevelObjective
+ x-cfn-type-name: AWS::ApplicationSignals::ServiceLevelObjective
+ x-identifiers:
+ - Arn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.Arn') as arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationSignals::ServiceLevelObjective'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'Arn') as arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ApplicationSignals::ServiceLevelObjective'
+ AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Discovery&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateDiscovery
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateDiscoveryRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__ServiceLevelObjective&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateServiceLevelObjective
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateServiceLevelObjectiveRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/apprunner.yaml b/providers/src/awscc/v00.00.00000/services/apprunner.yaml
index 7742a951..fbcb091f 100644
--- a/providers/src/awscc/v00.00.00000/services/apprunner.yaml
+++ b/providers/src/awscc/v00.00.00000/services/apprunner.yaml
@@ -1,9 +1,389 @@
openapi: 3.0.0
info:
title: AppRunner
- version: 1.0.0
-paths: {}
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+ Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
<p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p>
+ </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - DesiredState
+ title: CreateResourceInput
+ type: object
+ CreateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ DeleteResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ required:
+ - Identifier
+ title: DeleteResourceInput
+ type: object
+ DeleteResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ GeneralServiceException: {}
+ GetResourceInput:
+ properties:
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ required:
+ - TypeName
+ - Identifier
+ title: GetResourceInput
+ type: object
+ GetResourceOutput:
+ properties:
+ ResourceDescription:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ TypeName:
+ type: string
+ type: object
+ GetResourceRequestStatusInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: GetResourceRequestStatusInput
+ type: object
+ GetResourceRequestStatusOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ HandlerErrorCode:
+ enum:
+ - NotUpdatable
+ - InvalidRequest
+ - AccessDenied
+ - InvalidCredentials
+ - AlreadyExists
+ - NotFound
+ - ResourceConflict
+ - Throttling
+ - ServiceLimitExceeded
+ - NotStabilized
+ - GeneralServiceException
+ - ServiceInternalError
+ - ServiceTimeout
+ - NetworkFailure
+ - InternalFailure
+ type: string
+ HandlerFailureException: {}
+ HandlerInternalFailureException: {}
+ HandlerNextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: .+
+ type: string
+ Identifier:
+ maxLength: 1024
+ minLength: 1
+ pattern: .+
+ type: string
+ InvalidCredentialsException: {}
+ InvalidRequestException: {}
+ MaxResults:
+ maximum: 100
+ minimum: 1
+ type: integer
+ NetworkFailureException: {}
+ NextToken:
+ maxLength: 2048
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ NotStabilizedException: {}
+ NotUpdatableException: {}
+ Operation:
+ enum:
+ - CREATE
+ - DELETE
+ - UPDATE
+ type: string
+ OperationStatus:
+ enum:
+ - PENDING
+ - IN_PROGRESS
+ - SUCCESS
+ - FAILED
+ - CANCEL_IN_PROGRESS
+ - CANCEL_COMPLETE
+ type: string
+ OperationStatuses:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/OperationStatus'
+ type: array
+ Operations:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/Operation'
+ type: array
+ PatchDocument:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ PrivateTypeException: {}
+ ProgressEvent:
+ example:
+ ErrorCode: string
+ EventTime: number
+ Identifier: string
+ Operation: string
+ OperationStatus: string
+ RequestToken: string
+ ResourceModel: string
+ RetryAfter: number
+ StatusMessage: string
+ TypeName: string
+ properties:
+ ErrorCode:
+ type: string
+ EventTime:
+ type: number
+ Identifier:
+ type: string
+ Operation:
+ type: string
+ OperationStatus:
+ type: string
+ RequestToken:
+ type: string
+ ResourceModel:
+ type: string
+ RetryAfter:
+ type: number
+ StatusMessage:
+ type: string
+ TypeName:
+ type: string
+ type: object
+ Properties:
+ format: password
+ maxLength: 65536
+ minLength: 1
+ pattern: '[\s\S]*'
+ type: string
+ RequestToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ RequestTokenNotFoundException: {}
+ ResourceConflictException: {}
+ ResourceDescription:
+ description: Represents information about a provisioned resource.
+ properties:
+ Identifier:
+ type: string
+ Properties:
+ type: string
+ type: object
+ ResourceDescriptions:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ResourceDescription'
+ type: array
+ ResourceNotFoundException: {}
+ ResourceRequestStatusFilter:
+ description: The filter criteria to use in determining the requests returned.
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/OperationStatuses'
+ - description: >-
+ The operation statuses to include in the filter.
-
PENDING: The operation has been requested, but not yet initiated.
-
IN_PROGRESS: The operation is in progress.
-
SUCCESS: The operation completed.
-
FAILED: The operation failed.
-
CANCEL_IN_PROGRESS: The operation is in the process of being canceled.
-
+ CANCEL_COMPLETE: The operation has been canceled.
+ type: object
+ ResourceRequestStatusSummaries:
+ items:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: array
+ RoleArn:
+ maxLength: 2048
+ minLength: 20
+ pattern: arn:.+:iam::[0-9]{12}:role/.+
+ type: string
+ ServiceInternalErrorException: {}
+ ServiceLimitExceededException: {}
+ StatusMessage:
+ maxLength: 1024
+ minLength: 0
+ pattern: '[\s\S]*'
+ type: string
+ ThrottlingException: {}
+ Timestamp:
+ format: date-time
+ type: string
+ TypeName:
+ maxLength: 196
+ minLength: 10
+ pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}'
+ type: string
+ TypeNotFoundException: {}
+ TypeVersionId:
+ maxLength: 128
+ minLength: 1
+ pattern: '[A-Za-z0-9-]+'
+ type: string
+ UnsupportedActionException: {}
+ UpdateResourceInput:
+ properties:
+ undefined:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/PatchDocument'
+ required:
+ - Identifier
+ - PatchDocument
+ title: UpdateResourceInput
+ type: object
+ UpdateResourceOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
schemas:
Tag:
type: object
@@ -50,7 +430,9 @@ components:
$ref: '#/components/schemas/Tag'
x-insertionOrder: false
x-stackql-resource-name: auto_scaling_configuration
- x-stackql-primaryIdentifier:
+ description: Describes an AWS App Runner automatic configuration resource that enables automatic scaling of instances used to process web requests. You can share an auto scaling configuration across multiple services.
+ x-type-name: AWS::AppRunner::AutoScalingConfiguration
+ x-stackql-primary-identifier:
- AutoScalingConfigurationArn
x-create-only-properties:
- AutoScalingConfigurationName
@@ -62,6 +444,16 @@ components:
- AutoScalingConfigurationArn
- AutoScalingConfigurationRevision
- Latest
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: false
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
+ permissions:
+ - apprunner:TagResource
+ - apprunner:UntagResource
+ - apprunner:ListTagsForResource
x-required-permissions:
create:
- apprunner:CreateAutoScalingConfiguration
@@ -72,7 +464,7 @@ components:
delete:
- apprunner:DeleteAutoScalingConfiguration
list:
- - apprunner:ListAutoScalingConfiguration
+ - apprunner:ListAutoScalingConfigurations
TraceConfiguration:
description: Describes the configuration of the tracing feature within an AWS App Runner observability configuration.
type: object
@@ -116,16 +508,27 @@ components:
$ref: '#/components/schemas/Tag'
required: []
x-stackql-resource-name: observability_configuration
- x-stackql-primaryIdentifier:
+ description: The AWS::AppRunner::ObservabilityConfiguration resource is an AWS App Runner resource type that specifies an App Runner observability configuration
+ x-type-name: AWS::AppRunner::ObservabilityConfiguration
+ x-stackql-primary-identifier:
- ObservabilityConfigurationArn
x-create-only-properties:
- ObservabilityConfigurationName
- TraceConfiguration
- Tags
+ x-write-only-properties:
+ - Tags
x-read-only-properties:
- ObservabilityConfigurationArn
- ObservabilityConfigurationRevision
- Latest
+ x-required-properties: []
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: false
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
x-required-permissions:
create:
- apprunner:CreateObservabilityConfiguration
@@ -223,6 +626,7 @@ components:
- RUBY_31
- PYTHON_311
- NODEJS_18
+ - NODEJS_22
BuildCommand:
type: string
description: Build Command
@@ -489,17 +893,32 @@ components:
required:
- SourceConfiguration
x-stackql-resource-name: service
- x-stackql-primaryIdentifier:
+ description: The AWS::AppRunner::Service resource specifies an AppRunner Service.
+ x-type-name: AWS::AppRunner::Service
+ x-stackql-primary-identifier:
- ServiceArn
x-create-only-properties:
- ServiceName
- EncryptionConfiguration
- - Tags
+ x-write-only-properties:
+ - AutoScalingConfigurationArn
x-read-only-properties:
- ServiceArn
- ServiceId
- ServiceUrl
- Status
+ x-required-properties:
+ - SourceConfiguration
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: false
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
+ permissions:
+ - apprunner:TagResource
+ - apprunner:UntagResource
+ - apprunner:ListTagsForResource
x-required-permissions:
create:
- apprunner:CreateService
@@ -564,16 +983,28 @@ components:
required:
- Subnets
x-stackql-resource-name: vpc_connector
- x-stackql-primaryIdentifier:
+ description: The AWS::AppRunner::VpcConnector resource specifies an App Runner VpcConnector.
+ x-type-name: AWS::AppRunner::VpcConnector
+ x-stackql-primary-identifier:
- VpcConnectorArn
x-create-only-properties:
- VpcConnectorName
- Subnets
- SecurityGroups
- Tags
+ x-write-only-properties:
+ - Tags
x-read-only-properties:
- VpcConnectorArn
- VpcConnectorRevision
+ x-required-properties:
+ - Subnets
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: false
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
x-required-permissions:
create:
- iam:CreateServiceLinkedRole
@@ -651,16 +1082,29 @@ components:
- ServiceArn
- IngressVpcConfiguration
x-stackql-resource-name: vpc_ingress_connection
- x-stackql-primaryIdentifier:
+ description: The AWS::AppRunner::VpcIngressConnection resource is an App Runner resource that specifies an App Runner VpcIngressConnection.
+ x-type-name: AWS::AppRunner::VpcIngressConnection
+ x-stackql-primary-identifier:
- VpcIngressConnectionArn
x-create-only-properties:
- VpcIngressConnectionName
- ServiceArn
- Tags
+ x-write-only-properties:
+ - Tags
x-read-only-properties:
- VpcIngressConnectionArn
- DomainName
- Status
+ x-required-properties:
+ - ServiceArn
+ - IngressVpcConfiguration
+ x-tagging:
+ taggable: true
+ tagOnCreate: true
+ tagUpdatable: false
+ cloudFormationSystemTags: false
+ tagProperty: /properties/Tags
x-required-permissions:
create:
- apprunner:CreateVpcIngressConnection
@@ -677,43 +1121,326 @@ components:
- apprunner:DeleteVpcIngressConnection
list:
- apprunner:ListVpcIngressConnections
+ CreateAutoScalingConfigurationRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ AutoScalingConfigurationArn:
+ description: The Amazon Resource Name (ARN) of this auto scaling configuration.
+ type: string
+ minLength: 1
+ maxLength: 1011
+ pattern: arn:aws(-[\w]+)*:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[0-9]{12}:(\w|/|-){1,1011}
+ AutoScalingConfigurationName:
+ description: The customer-provided auto scaling configuration name. When you use it for the first time in an AWS Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration. The auto scaling configuration name can be used in multiple revisions of a configuration.
+ type: string
+ minLength: 4
+ maxLength: 32
+ pattern: '[A-Za-z0-9][A-Za-z0-9\-_]{3,31}'
+ AutoScalingConfigurationRevision:
+ description: 'The revision of this auto scaling configuration. It''s unique among all the active configurations ("Status": "ACTIVE") that share the same AutoScalingConfigurationName.'
+ type: integer
+ MaxConcurrency:
+ description: The maximum number of concurrent requests that an instance processes. If the number of concurrent requests exceeds this limit, App Runner scales the service up to use more instances to process the requests.
+ type: integer
+ MaxSize:
+ description: The maximum number of instances that an App Runner service scales up to. At most MaxSize instances actively serve traffic for your service.
+ type: integer
+ MinSize:
+ description: The minimum number of instances that App Runner provisions for a service. The service always has at least MinSize provisioned instances. Some of them actively serve traffic. The rest of them (provisioned and inactive instances) are a cost-effective compute capacity reserve and are ready to be quickly activated. You pay for memory usage of all the provisioned instances. You pay for CPU usage of only the active subset.
+ type: integer
+ Latest:
+ description: It's set to true for the configuration with the highest Revision among all configurations that share the same AutoScalingConfigurationName. It's set to false otherwise. App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code.
+ type: boolean
+ Tags:
+ description: A list of metadata items that you can associate with your auto scaling configuration resource. A tag is a key-value pair.
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-insertionOrder: false
+ x-stackQL-stringOnly: true
+ x-title: CreateAutoScalingConfigurationRequest
+ type: object
+ required: []
+ CreateObservabilityConfigurationRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ObservabilityConfigurationArn:
+ description: The Amazon Resource Name (ARN) of this ObservabilityConfiguration
+ type: string
+ minLength: 1
+ maxLength: 1011
+ pattern: arn:aws(-[\w]+)*:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[0-9]{12}:(\w|/|-){1,1011}
+ ObservabilityConfigurationName:
+ description: A name for the observability configuration. When you use it for the first time in an AWS Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.
+ type: string
+ minLength: 4
+ maxLength: 32
+ pattern: '[A-Za-z0-9][A-Za-z0-9\-_]{3,31}'
+ ObservabilityConfigurationRevision:
+ description: 'The revision of this observability configuration. It''s unique among all the active configurations (''Status'': ''ACTIVE'') that share the same ObservabilityConfigurationName.'
+ type: integer
+ Latest:
+ description: It's set to true for the configuration with the highest Revision among all configurations that share the same Name. It's set to false otherwise.
+ type: boolean
+ TraceConfiguration:
+ description: The configuration of the tracing feature within this observability configuration. If you don't specify it, App Runner doesn't enable tracing.
+ $ref: '#/components/schemas/TraceConfiguration'
+ Tags:
+ description: A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair.
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-stackQL-stringOnly: true
+ x-title: CreateObservabilityConfigurationRequest
+ type: object
+ required: []
+ CreateServiceRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ ServiceName:
+ description: The AppRunner Service Name.
+ type: string
+ minLength: 4
+ maxLength: 40
+ pattern: '[A-Za-z0-9][A-Za-z0-9-_]{3,39}'
+ ServiceId:
+ description: The AppRunner Service Id
+ type: string
+ minLength: 32
+ maxLength: 32
+ ServiceArn:
+ description: The Amazon Resource Name (ARN) of the AppRunner Service.
+ type: string
+ minLength: 1
+ maxLength: 1011
+ pattern: arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+ ServiceUrl:
+ description: The Service Url of the AppRunner Service.
+ type: string
+ Status:
+ description: AppRunner Service status.
+ type: string
+ SourceConfiguration:
+ $ref: '#/components/schemas/SourceConfiguration'
+ InstanceConfiguration:
+ $ref: '#/components/schemas/InstanceConfiguration'
+ Tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ EncryptionConfiguration:
+ $ref: '#/components/schemas/EncryptionConfiguration'
+ HealthCheckConfiguration:
+ $ref: '#/components/schemas/HealthCheckConfiguration'
+ ObservabilityConfiguration:
+ $ref: '#/components/schemas/ServiceObservabilityConfiguration'
+ AutoScalingConfigurationArn:
+ description: Autoscaling configuration ARN
+ type: string
+ minLength: 1
+ maxLength: 1011
+ pattern: arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+ NetworkConfiguration:
+ $ref: '#/components/schemas/NetworkConfiguration'
+ x-stackQL-stringOnly: true
+ x-title: CreateServiceRequest
+ type: object
+ required: []
+ CreateVpcConnectorRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ VpcConnectorName:
+ description: A name for the VPC connector. If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
+ type: string
+ minLength: 4
+ maxLength: 40
+ pattern: ^[A-Za-z0-9][A-Za-z0-9-\\_]{3,39}$
+ VpcConnectorArn:
+ description: The Amazon Resource Name (ARN) of this VPC connector.
+ type: string
+ minLength: 44
+ maxLength: 1011
+ pattern: arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
+ VpcConnectorRevision:
+ description: 'The revision of this VPC connector. It''s unique among all the active connectors ("Status": "ACTIVE") that share the same Name.'
+ type: integer
+ Subnets:
+ description: A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ minItems: 1
+ items:
+ type: string
+ SecurityGroups:
+ description: A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
+ type: array
+ uniqueItems: true
+ x-insertionOrder: false
+ items:
+ type: string
+ Tags:
+ description: A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-stackQL-stringOnly: true
+ x-title: CreateVpcConnectorRequest
+ type: object
+ required: []
+ CreateVpcIngressConnectionRequest:
+ properties:
+ ClientToken:
+ type: string
+ RoleArn:
+ type: string
+ TypeName:
+ type: string
+ TypeVersionId:
+ type: string
+ DesiredState:
+ type: object
+ properties:
+ VpcIngressConnectionArn:
+ description: The Amazon Resource Name (ARN) of the VpcIngressConnection.
+ type: string
+ minLength: 1
+ maxLength: 1011
+ pattern: arn:aws(-[\w]+)*:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[0-9]{12}:(\w|/|-){1,1011}
+ VpcIngressConnectionName:
+ description: The customer-provided Vpc Ingress Connection name.
+ type: string
+ minLength: 4
+ maxLength: 40
+ pattern: '[A-Za-z0-9][A-Za-z0-9\-_]{3,39}'
+ ServiceArn:
+ description: The Amazon Resource Name (ARN) of the service.
+ type: string
+ minLength: 1
+ maxLength: 1011
+ pattern: arn:aws(-[\w]+)*:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[0-9]{12}:(\w|/|-){1,1011}
+ Status:
+ description: The current status of the VpcIngressConnection.
+ type: string
+ enum:
+ - AVAILABLE
+ - PENDING_CREATION
+ - PENDING_UPDATE
+ - PENDING_DELETION
+ - FAILED_CREATION
+ - FAILED_UPDATE
+ - FAILED_DELETION
+ - DELETED
+ DomainName:
+ description: The Domain name associated with the VPC Ingress Connection.
+ type: string
+ minLength: 1
+ maxLength: 255
+ pattern: '[A-Za-z0-9*.-]{1,255}'
+ IngressVpcConfiguration:
+ $ref: '#/components/schemas/IngressVpcConfiguration'
+ Tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/Tag'
+ x-stackQL-stringOnly: true
+ x-title: CreateVpcIngressConnectionRequest
+ type: object
+ required: []
+ securitySchemes:
+ hmac:
+ type: apiKey
+ name: Authorization
+ in: header
+ description: Amazon Signature authorization v4
+ x-amazon-apigateway-authtype: awsSigv4
x-stackQL-resources:
auto_scaling_configurations:
name: auto_scaling_configurations
id: awscc.apprunner.auto_scaling_configurations
x-cfn-schema-name: AutoScalingConfiguration
- x-type: list
- x-identifiers:
- - AutoScalingConfigurationArn
- config:
- views:
- select:
- predicate: sqlDialect == "sqlite3"
- ddl: |-
- SELECT
- region,
- JSON_EXTRACT(Properties, '$.AutoScalingConfigurationArn') as auto_scaling_configuration_arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::AutoScalingConfiguration'
- AND region = 'us-east-1'
- fallback:
- predicate: sqlDialect == "postgres"
- ddl: |-
- SELECT
- region,
- json_extract_path_text(Properties, 'AutoScalingConfigurationArn') as auto_scaling_configuration_arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::AutoScalingConfiguration'
- AND region = 'us-east-1'
- auto_scaling_configuration:
- name: auto_scaling_configuration
- id: awscc.apprunner.auto_scaling_configuration
- x-cfn-schema-name: AutoScalingConfiguration
- x-type: get
+ x-cfn-type-name: AWS::AppRunner::AutoScalingConfiguration
x-identifiers:
- AutoScalingConfigurationArn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AutoScalingConfiguration&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppRunner::AutoScalingConfiguration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppRunner::AutoScalingConfiguration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/auto_scaling_configurations/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/auto_scaling_configurations/methods/delete_resource'
+ update: []
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -730,7 +1457,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -746,13 +1473,19 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppRunner::AutoScalingConfiguration'
AND data__Identifier = ''
AND region = 'us-east-1'
- observability_configurations:
- name: observability_configurations
- id: awscc.apprunner.observability_configurations
- x-cfn-schema-name: ObservabilityConfiguration
- x-type: list
+ auto_scaling_configurations_list_only:
+ name: auto_scaling_configurations_list_only
+ id: awscc.apprunner.auto_scaling_configurations_list_only
+ x-cfn-schema-name: AutoScalingConfiguration
+ x-cfn-type-name: AWS::AppRunner::AutoScalingConfiguration
x-identifiers:
- - ObservabilityConfigurationArn
+ - AutoScalingConfigurationArn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -760,28 +1493,63 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.ObservabilityConfigurationArn') as observability_configuration_arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::ObservabilityConfiguration'
+ JSON_EXTRACT(Properties, '$.AutoScalingConfigurationArn') as auto_scaling_configuration_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::AutoScalingConfiguration'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'ObservabilityConfigurationArn') as observability_configuration_arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::ObservabilityConfiguration'
+ json_extract_path_text(Properties, 'AutoScalingConfigurationArn') as auto_scaling_configuration_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::AutoScalingConfiguration'
AND region = 'us-east-1'
- observability_configuration:
- name: observability_configuration
- id: awscc.apprunner.observability_configuration
+ observability_configurations:
+ name: observability_configurations
+ id: awscc.apprunner.observability_configurations
x-cfn-schema-name: ObservabilityConfiguration
- x-type: get
+ x-cfn-type-name: AWS::AppRunner::ObservabilityConfiguration
x-identifiers:
- ObservabilityConfigurationArn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ObservabilityConfiguration&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppRunner::ObservabilityConfiguration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppRunner::ObservabilityConfiguration"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/observability_configurations/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/observability_configurations/methods/delete_resource'
+ update: []
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -796,7 +1564,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -810,13 +1578,19 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppRunner::ObservabilityConfiguration'
AND data__Identifier = ''
AND region = 'us-east-1'
- services:
- name: services
- id: awscc.apprunner.services
- x-cfn-schema-name: Service
- x-type: list
+ observability_configurations_list_only:
+ name: observability_configurations_list_only
+ id: awscc.apprunner.observability_configurations_list_only
+ x-cfn-schema-name: ObservabilityConfiguration
+ x-cfn-type-name: AWS::AppRunner::ObservabilityConfiguration
x-identifiers:
- - ServiceArn
+ - ObservabilityConfigurationArn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -824,28 +1598,76 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.ServiceArn') as service_arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::Service'
+ JSON_EXTRACT(Properties, '$.ObservabilityConfigurationArn') as observability_configuration_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::ObservabilityConfiguration'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'ServiceArn') as service_arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::Service'
+ json_extract_path_text(Properties, 'ObservabilityConfigurationArn') as observability_configuration_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::ObservabilityConfiguration'
AND region = 'us-east-1'
- service:
- name: service
- id: awscc.apprunner.service
+ services:
+ name: services
+ id: awscc.apprunner.services
x-cfn-schema-name: Service
- x-type: get
+ x-cfn-type-name: AWS::AppRunner::Service
x-identifiers:
- ServiceArn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Service&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppRunner::Service"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppRunner::Service"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppRunner::Service"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/services/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/services/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/services/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -867,7 +1689,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -888,13 +1710,19 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppRunner::Service'
AND data__Identifier = ''
AND region = 'us-east-1'
- vpc_connectors:
- name: vpc_connectors
- id: awscc.apprunner.vpc_connectors
- x-cfn-schema-name: VpcConnector
- x-type: list
+ services_list_only:
+ name: services_list_only
+ id: awscc.apprunner.services_list_only
+ x-cfn-schema-name: Service
+ x-cfn-type-name: AWS::AppRunner::Service
x-identifiers:
- - VpcConnectorArn
+ - ServiceArn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -902,28 +1730,63 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.VpcConnectorArn') as vpc_connector_arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::VpcConnector'
+ JSON_EXTRACT(Properties, '$.ServiceArn') as service_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::Service'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'VpcConnectorArn') as vpc_connector_arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::VpcConnector'
+ json_extract_path_text(Properties, 'ServiceArn') as service_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::Service'
AND region = 'us-east-1'
- vpc_connector:
- name: vpc_connector
- id: awscc.apprunner.vpc_connector
+ vpc_connectors:
+ name: vpc_connectors
+ id: awscc.apprunner.vpc_connectors
x-cfn-schema-name: VpcConnector
- x-type: get
+ x-cfn-type-name: AWS::AppRunner::VpcConnector
x-identifiers:
- VpcConnectorArn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VpcConnector&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppRunner::VpcConnector"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppRunner::VpcConnector"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/vpc_connectors/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/vpc_connectors/methods/delete_resource'
+ update: []
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -938,7 +1801,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -952,13 +1815,19 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppRunner::VpcConnector'
AND data__Identifier = ''
AND region = 'us-east-1'
- vpc_ingress_connections:
- name: vpc_ingress_connections
- id: awscc.apprunner.vpc_ingress_connections
- x-cfn-schema-name: VpcIngressConnection
- x-type: list
+ vpc_connectors_list_only:
+ name: vpc_connectors_list_only
+ id: awscc.apprunner.vpc_connectors_list_only
+ x-cfn-schema-name: VpcConnector
+ x-cfn-type-name: AWS::AppRunner::VpcConnector
x-identifiers:
- - VpcIngressConnectionArn
+ - VpcConnectorArn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
config:
views:
select:
@@ -966,28 +1835,76 @@ components:
ddl: |-
SELECT
region,
- JSON_EXTRACT(Properties, '$.VpcIngressConnectionArn') as vpc_ingress_connection_arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::VpcIngressConnection'
+ JSON_EXTRACT(Properties, '$.VpcConnectorArn') as vpc_connector_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::VpcConnector'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
- json_extract_path_text(Properties, 'VpcIngressConnectionArn') as vpc_ingress_connection_arn
- FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::VpcIngressConnection'
+ json_extract_path_text(Properties, 'VpcConnectorArn') as vpc_connector_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::VpcConnector'
AND region = 'us-east-1'
- vpc_ingress_connection:
- name: vpc_ingress_connection
- id: awscc.apprunner.vpc_ingress_connection
+ vpc_ingress_connections:
+ name: vpc_ingress_connections
+ id: awscc.apprunner.vpc_ingress_connections
x-cfn-schema-name: VpcIngressConnection
- x-type: get
+ x-cfn-type-name: AWS::AppRunner::VpcIngressConnection
x-identifiers:
- VpcIngressConnectionArn
+ x-type: cloud_control
+ methods:
+ create_resource:
+ config:
+ requestBodyTranslate:
+ algorithm: naive_DesiredState
+ operation:
+ $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VpcIngressConnection&__detailTransformed=true/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppRunner::VpcIngressConnection"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ update_resource:
+ operation:
+ $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppRunner::VpcIngressConnection"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ delete_resource:
+ operation:
+ $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post'
+ request:
+ mediaType: application/x-amz-json-1.0
+ base: |-
+ {
+ "TypeName": "AWS::AppRunner::VpcIngressConnection"
+ }
+ response:
+ mediaType: application/json
+ openAPIDocKey: '200'
+ sqlVerbs:
+ insert:
+ - $ref: '#/components/x-stackQL-resources/vpc_ingress_connections/methods/create_resource'
+ delete:
+ - $ref: '#/components/x-stackQL-resources/vpc_ingress_connections/methods/delete_resource'
+ update:
+ - $ref: '#/components/x-stackQL-resources/vpc_ingress_connections/methods/update_resource'
config:
views:
select:
- predicate: sqlDialect == "sqlite3"
+ predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1003,7 +1920,7 @@ components:
AND data__Identifier = ''
AND region = 'us-east-1'
fallback:
- predicate: sqlDialect == "postgres"
+ predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
ddl: |-
SELECT
region,
@@ -1018,3 +1935,397 @@ components:
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AppRunner::VpcIngressConnection'
AND data__Identifier = ''
AND region = 'us-east-1'
+ vpc_ingress_connections_list_only:
+ name: vpc_ingress_connections_list_only
+ id: awscc.apprunner.vpc_ingress_connections_list_only
+ x-cfn-schema-name: VpcIngressConnection
+ x-cfn-type-name: AWS::AppRunner::VpcIngressConnection
+ x-identifiers:
+ - VpcIngressConnectionArn
+ x-type: cloud_control_view
+ methods: {}
+ sqlVerbs:
+ insert: []
+ delete: []
+ update: []
+ config:
+ views:
+ select:
+ predicate: sqlDialect == "sqlite3"
+ ddl: |-
+ SELECT
+ region,
+ JSON_EXTRACT(Properties, '$.VpcIngressConnectionArn') as vpc_ingress_connection_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::VpcIngressConnection'
+ AND region = 'us-east-1'
+ fallback:
+ predicate: sqlDialect == "postgres"
+ ddl: |-
+ SELECT
+ region,
+ json_extract_path_text(Properties, 'VpcIngressConnectionArn') as vpc_ingress_connection_arn
+ FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AppRunner::VpcIngressConnection'
+ AND region = 'us-east-1'
+paths:
+ /?Action=CreateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/CreateResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=DeleteResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: DeleteResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.DeleteResource
+ enum:
+ - CloudApiService.DeleteResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput'
+ description: Success
+ /?Action=UpdateResource&Version=2021-09-30:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: UpdateResource
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.UpdateResource
+ enum:
+ - CloudApiService.UpdateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ properties:
+ ClientName:
+ type: string
+ Identifier:
+ $ref: '#/components/x-cloud-control-schemas/Identifier'
+ PatchDocument:
+ type: string
+ RoleArn:
+ $ref: '#/components/x-cloud-control-schemas/RoleArn'
+ TypeName:
+ $ref: '#/components/x-cloud-control-schemas/TypeName'
+ TypeVersionId:
+ $ref: '#/components/x-cloud-control-schemas/TypeVersionId'
+ required:
+ - Identifier
+ - PatchDocument
+ type: object
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__AutoScalingConfiguration&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateAutoScalingConfiguration
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateAutoScalingConfigurationRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__ObservabilityConfiguration&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateObservabilityConfiguration
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateObservabilityConfigurationRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__Service&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateService
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateServiceRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__VpcConnector&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateVpcConnector
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateVpcConnectorRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+ /?Action=CreateResource&Version=2021-09-30&__VpcIngressConnection&__detailTransformed=true:
+ parameters:
+ - $ref: '#/components/parameters/X-Amz-Content-Sha256'
+ - $ref: '#/components/parameters/X-Amz-Date'
+ - $ref: '#/components/parameters/X-Amz-Algorithm'
+ - $ref: '#/components/parameters/X-Amz-Credential'
+ - $ref: '#/components/parameters/X-Amz-Security-Token'
+ - $ref: '#/components/parameters/X-Amz-Signature'
+ - $ref: '#/components/parameters/X-Amz-SignedHeaders'
+ post:
+ operationId: CreateVpcIngressConnection
+ parameters:
+ - description: Action Header
+ in: header
+ name: X-Amz-Target
+ required: false
+ schema:
+ default: CloudApiService.CreateResource
+ enum:
+ - CloudApiService.CreateResource
+ type: string
+ - in: header
+ name: Content-Type
+ required: false
+ schema:
+ default: application/x-amz-json-1.0
+ enum:
+ - application/x-amz-json-1.0
+ type: string
+ requestBody:
+ content:
+ application/x-amz-json-1.0:
+ schema:
+ $ref: '#/components/schemas/CreateVpcIngressConnectionRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ description: Success
+x-stackQL-config:
+ requestTranslate:
+ algorithm: drop_double_underscore_params
+ pagination:
+ requestToken:
+ key: NextToken
+ location: body
+ responseToken:
+ key: NextToken
+ location: body
diff --git a/providers/src/awscc/v00.00.00000/services/appstream.yaml b/providers/src/awscc/v00.00.00000/services/appstream.yaml
index 6ddd3d86..1b399f17 100644
--- a/providers/src/awscc/v00.00.00000/services/appstream.yaml
+++ b/providers/src/awscc/v00.00.00000/services/appstream.yaml
@@ -1,9 +1,389 @@
openapi: 3.0.0
info:
title: AppStream
- version: 1.0.0
-paths: {}
+ version: 2.0.0
+ x-serviceName: cloudcontrolapi
+servers:
+ - url: https://cloudcontrolapi.{region}.amazonaws.com
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - us-east-1
+ - us-east-2
+ - us-west-1
+ - us-west-2
+ - us-gov-west-1
+ - us-gov-east-1
+ - ca-central-1
+ - eu-north-1
+ - eu-west-1
+ - eu-west-2
+ - eu-west-3
+ - eu-central-1
+ - eu-south-1
+ - af-south-1
+ - ap-northeast-1
+ - ap-northeast-2
+ - ap-northeast-3
+ - ap-southeast-1
+ - ap-southeast-2
+ - ap-east-1
+ - ap-south-1
+ - sa-east-1
+ - me-south-1
+ default: us-east-1
+ description: The CloudControlApi multi-region endpoint
+ - url: https://cloudcontrolapi.{region}.amazonaws.com.cn
+ variables:
+ region:
+ description: The AWS region
+ enum:
+ - cn-north-1
+ - cn-northwest-1
+ default: cn-north-1
+ description: The CloudControlApi endpoint for China (Beijing) and China (Ningxia)
components:
+ parameters:
+ X-Amz-Content-Sha256:
+ name: X-Amz-Content-Sha256
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Date:
+ name: X-Amz-Date
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Algorithm:
+ name: X-Amz-Algorithm
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Credential:
+ name: X-Amz-Credential
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Security-Token:
+ name: X-Amz-Security-Token
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-Signature:
+ name: X-Amz-Signature
+ in: header
+ schema:
+ type: string
+ required: false
+ X-Amz-SignedHeaders:
+ name: X-Amz-SignedHeaders
+ in: header
+ schema:
+ type: string
+ required: false
+ x-cloud-control-schemas:
+ AlreadyExistsException: {}
+ CancelResourceRequestInput:
+ properties:
+ RequestToken:
+ $ref: '#/components/x-cloud-control-schemas/RequestToken'
+ required:
+ - RequestToken
+ title: CancelResourceRequestInput
+ type: object
+ CancelResourceRequestOutput:
+ properties:
+ ProgressEvent:
+ $ref: '#/components/x-cloud-control-schemas/ProgressEvent'
+ type: object
+ ClientToken:
+ maxLength: 128
+ minLength: 1
+ pattern: '[-A-Za-z0-9+/=]+'
+ type: string
+ ClientTokenConflictException: {}
+ ConcurrentModificationException: {}
+ ConcurrentOperationException: {}
+ CreateResourceInput:
+ properties:
+ ClientToken:
+ type: string
+ DesiredState:
+ allOf:
+ - $ref: '#/components/x-cloud-control-schemas/Properties'
+ - description: >-
+