AWS::ApiGateway::ClientCertificate
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.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::ApiGateway::ClientCertificate", "Properties" : { "Description" :String, "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::ApiGateway::ClientCertificate Properties: Description:StringTags:- Tag
Properties
Description-
The description of the client certificate.
Required: No
Type: String
Update requires: No interruption
Tags-
The collection of tags. Each tag element is associated with a given resource.
Required: No
Type: List of Tag
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the client certificate name, such as abc123.
For more information about using the Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.
Examples
Create client certificate
The following example creates a client certificate that you can use with an API Gateway deployment and stage.
JSON
{ "TestClientCertificate": { "Type": "AWS::ApiGateway::ClientCertificate", "Properties": { "Description": "A test client certificate" } } }
YAML
TestClientCertificate: Type: 'AWS::ApiGateway::ClientCertificate' Properties: Description: A test client certificate
See also
-
clientcertificate:generate in the Amazon API Gateway REST API Reference