ClientCertificate

Provides an API Gateway Client Certificate.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var demo = new Aws.ApiGateway.ClientCertificate("demo", new Aws.ApiGateway.ClientCertificateArgs
        {
            Description = "My client certificate",
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/apigateway"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := apigateway.NewClientCertificate(ctx, "demo", &apigateway.ClientCertificateArgs{
            Description: pulumi.String("My client certificate"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

demo = aws.apigateway.ClientCertificate("demo", description="My client certificate")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const demo = new aws.apigateway.ClientCertificate("demo", {
    description: "My client certificate",
});

Create a ClientCertificate Resource

def ClientCertificate(resource_name, opts=None, description=None, tags=None, __props__=None);
public ClientCertificate(string name, ClientCertificateArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ClientCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ClientCertificateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ClientCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ClientCertificate Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ClientCertificate resource accepts the following input properties:

Description string

The description of the client certificate.

Tags Dictionary<string, string>

Key-value map of resource tags

Description string

The description of the client certificate.

Tags map[string]string

Key-value map of resource tags

description string

The description of the client certificate.

tags {[key: string]: string}

Key-value map of resource tags

description str

The description of the client certificate.

tags Dict[str, str]

Key-value map of resource tags

Outputs

All input properties are implicitly available as output properties. Additionally, the ClientCertificate resource produces the following output properties:

Arn string

Amazon Resource Name (ARN)

CreatedDate string

The date when the client certificate was created.

ExpirationDate string

The date when the client certificate will expire.

Id string
The provider-assigned unique ID for this managed resource.
PemEncodedCertificate string

The PEM-encoded public key of the client certificate.

Arn string

Amazon Resource Name (ARN)

CreatedDate string

The date when the client certificate was created.

ExpirationDate string

The date when the client certificate will expire.

Id string
The provider-assigned unique ID for this managed resource.
PemEncodedCertificate string

The PEM-encoded public key of the client certificate.

arn string

Amazon Resource Name (ARN)

createdDate string

The date when the client certificate was created.

expirationDate string

The date when the client certificate will expire.

id string
The provider-assigned unique ID for this managed resource.
pemEncodedCertificate string

The PEM-encoded public key of the client certificate.

arn str

Amazon Resource Name (ARN)

created_date str

The date when the client certificate was created.

expiration_date str

The date when the client certificate will expire.

id str
The provider-assigned unique ID for this managed resource.
pem_encoded_certificate str

The PEM-encoded public key of the client certificate.

Look up an Existing ClientCertificate Resource

Get an existing ClientCertificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ClientCertificateState, opts?: CustomResourceOptions): ClientCertificate
static get(resource_name, id, opts=None, arn=None, created_date=None, description=None, expiration_date=None, pem_encoded_certificate=None, tags=None, __props__=None);
func GetClientCertificate(ctx *Context, name string, id IDInput, state *ClientCertificateState, opts ...ResourceOption) (*ClientCertificate, error)
public static ClientCertificate Get(string name, Input<string> id, ClientCertificateState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Arn string

Amazon Resource Name (ARN)

CreatedDate string

The date when the client certificate was created.

Description string

The description of the client certificate.

ExpirationDate string

The date when the client certificate will expire.

PemEncodedCertificate string

The PEM-encoded public key of the client certificate.

Tags Dictionary<string, string>

Key-value map of resource tags

Arn string

Amazon Resource Name (ARN)

CreatedDate string

The date when the client certificate was created.

Description string

The description of the client certificate.

ExpirationDate string

The date when the client certificate will expire.

PemEncodedCertificate string

The PEM-encoded public key of the client certificate.

Tags map[string]string

Key-value map of resource tags

arn string

Amazon Resource Name (ARN)

createdDate string

The date when the client certificate was created.

description string

The description of the client certificate.

expirationDate string

The date when the client certificate will expire.

pemEncodedCertificate string

The PEM-encoded public key of the client certificate.

tags {[key: string]: string}

Key-value map of resource tags

arn str

Amazon Resource Name (ARN)

created_date str

The date when the client certificate was created.

description str

The description of the client certificate.

expiration_date str

The date when the client certificate will expire.

pem_encoded_certificate str

The PEM-encoded public key of the client certificate.

tags Dict[str, str]

Key-value map of resource tags

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.