Skip to main content

client_certificates

Creates, updates, deletes or gets a client_certificate resource or lists client_certificates in a region

Overview

Nameclient_certificates
TypeResource
DescriptionThe 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.
Idaws.apigateway.client_certificates

Fields

NameDatatypeDescription
client_certificate_idstring
descriptionstringThe description of the client certificate.
tagsarrayThe collection of tags. Each tag element is associated with a given resource.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTregion
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all client_certificates in a region.

SELECT
region,
client_certificate_id,
description,
tags
FROM aws.apigateway.client_certificates
WHERE region = 'us-east-1';

Gets all properties from an individual client_certificate.

SELECT
region,
client_certificate_id,
description,
tags
FROM aws.apigateway.client_certificates
WHERE region = 'us-east-1' AND data__Identifier = '<ClientCertificateId>';

INSERT example

Use the following StackQL query and manifest file to create a new client_certificate resource, using stack-deploy.

/*+ create */
INSERT INTO aws.apigateway.client_certificates (
Description,
Tags,
region
)
SELECT
'{{ Description }}',
'{{ Tags }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.apigateway.client_certificates
WHERE data__Identifier = '<ClientCertificateId>'
AND region = 'us-east-1';

Permissions

To operate on the client_certificates resource, the following permissions are required:

Create

apigateway:POST,
apigateway:GET,
apigateway:PUT

Read

apigateway:GET

Update

apigateway:GET,
apigateway:PATCH,
apigateway:PUT,
apigateway:DELETE

Delete

apigateway:DELETE

List

apigateway:GET