aws.apigateway.ClientCertificate
Explore with Pulumi AI
Provides an API Gateway Client Certificate.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var demo = new Aws.ApiGateway.ClientCertificate("demo", new()
{
Description = "My client certificate",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/apigateway"
"github.com/pulumi/pulumi/sdk/v3/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
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.apigateway.ClientCertificate;
import com.pulumi.aws.apigateway.ClientCertificateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var demo = new ClientCertificate("demo", ClientCertificateArgs.builder()
.description("My client certificate")
.build());
}
}
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"});
resources:
demo:
type: aws:apigateway:ClientCertificate
properties:
description: My client certificate
Create ClientCertificate Resource
new ClientCertificate(name: string, args?: ClientCertificateArgs, opts?: CustomResourceOptions);
@overload
def ClientCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def ClientCertificate(resource_name: str,
args: Optional[ClientCertificateArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewClientCertificate(ctx *Context, name string, args *ClientCertificateArgs, opts ...ResourceOption) (*ClientCertificate, error)
public ClientCertificate(string name, ClientCertificateArgs? args = null, CustomResourceOptions? opts = null)
public ClientCertificate(String name, ClientCertificateArgs args)
public ClientCertificate(String name, ClientCertificateArgs args, CustomResourceOptions options)
type: aws:apigateway:ClientCertificate
properties: # The arguments to resource properties.
options: # 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.
- resource_name str
- The unique name of the resource.
- args ClientCertificateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args ClientCertificateArgs
- The arguments to resource properties.
- options 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 Architecture and Concepts docs.
Inputs
The ClientCertificate resource accepts the following input properties:
- Description string
Description of the client certificate.
- Dictionary<string, string>
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Description string
Description of the client certificate.
- map[string]string
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- description String
Description of the client certificate.
- Map<String,String>
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- description string
Description of the client certificate.
- {[key: string]: string}
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- description str
Description of the client certificate.
- Mapping[str, str]
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- description String
Description of the client certificate.
- Map<String>
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the ClientCertificate resource produces the following output properties:
- Arn string
ARN
- Created
Date string Date when the client certificate was created.
- Expiration
Date string Date when the client certificate will expire.
- Id string
The provider-assigned unique ID for this managed resource.
- Pem
Encoded stringCertificate The PEM-encoded public key of the client certificate.
- Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
ARN
- Created
Date string Date when the client certificate was created.
- Expiration
Date string Date when the client certificate will expire.
- Id string
The provider-assigned unique ID for this managed resource.
- Pem
Encoded stringCertificate The PEM-encoded public key of the client certificate.
- map[string]string
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
ARN
- created
Date String Date when the client certificate was created.
- expiration
Date String Date when the client certificate will expire.
- id String
The provider-assigned unique ID for this managed resource.
- pem
Encoded StringCertificate The PEM-encoded public key of the client certificate.
- Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
ARN
- created
Date string Date when the client certificate was created.
- expiration
Date string Date when the client certificate will expire.
- id string
The provider-assigned unique ID for this managed resource.
- pem
Encoded stringCertificate The PEM-encoded public key of the client certificate.
- {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
ARN
- created_
date str Date when the client certificate was created.
- expiration_
date str Date when the client certificate will expire.
- id str
The provider-assigned unique ID for this managed resource.
- pem_
encoded_ strcertificate The PEM-encoded public key of the client certificate.
- Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
ARN
- created
Date String Date when the client certificate was created.
- expiration
Date String Date when the client certificate will expire.
- id String
The provider-assigned unique ID for this managed resource.
- pem
Encoded StringCertificate The PEM-encoded public key of the client certificate.
- Map<String>
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up 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
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
created_date: Optional[str] = None,
description: Optional[str] = None,
expiration_date: Optional[str] = None,
pem_encoded_certificate: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> ClientCertificate
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)
public static ClientCertificate get(String name, Output<String> id, ClientCertificateState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Arn string
ARN
- Created
Date string Date when the client certificate was created.
- Description string
Description of the client certificate.
- Expiration
Date string Date when the client certificate will expire.
- Pem
Encoded stringCertificate The PEM-encoded public key of the client certificate.
- Dictionary<string, string>
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
ARN
- Created
Date string Date when the client certificate was created.
- Description string
Description of the client certificate.
- Expiration
Date string Date when the client certificate will expire.
- Pem
Encoded stringCertificate The PEM-encoded public key of the client certificate.
- map[string]string
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- map[string]string
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
ARN
- created
Date String Date when the client certificate was created.
- description String
Description of the client certificate.
- expiration
Date String Date when the client certificate will expire.
- pem
Encoded StringCertificate The PEM-encoded public key of the client certificate.
- Map<String,String>
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
ARN
- created
Date string Date when the client certificate was created.
- description string
Description of the client certificate.
- expiration
Date string Date when the client certificate will expire.
- pem
Encoded stringCertificate The PEM-encoded public key of the client certificate.
- {[key: string]: string}
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
ARN
- created_
date str Date when the client certificate was created.
- description str
Description of the client certificate.
- expiration_
date str Date when the client certificate will expire.
- pem_
encoded_ strcertificate The PEM-encoded public key of the client certificate.
- Mapping[str, str]
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
ARN
- created
Date String Date when the client certificate was created.
- description String
Description of the client certificate.
- expiration
Date String Date when the client certificate will expire.
- pem
Encoded StringCertificate The PEM-encoded public key of the client certificate.
- Map<String>
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String>
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Import
API Gateway Client Certificates can be imported using the id, e.g.,
$ pulumi import aws:apigateway/clientCertificate:ClientCertificate demo ab1cqe
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.