Class Certificate
Provides a DMS (Data Migration Service) certificate resource. DMS certificates can be created, deleted, and imported.
Note: All arguments including the PEM encoded certificate will be stored in the raw state as plain-text. Read more about sensitive data in state.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
// Create a new certificate
var test = new Aws.Dms.Certificate("test", new Aws.Dms.CertificateArgs
{
CertificateId = "test-dms-certificate-tf",
CertificatePem = "...",
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Dms
Assembly: Pulumi.Aws.dll
Syntax
public class Certificate : CustomResource
Constructors
View SourceCertificate(String, CertificateArgs, CustomResourceOptions)
Create a Certificate resource with the given unique name, arguments, and options.
Declaration
public Certificate(string name, CertificateArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| CertificateArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCertificateArn
The Amazon Resource Name (ARN) for the certificate.
Declaration
public Output<string> CertificateArn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CertificateId
The certificate identifier.
Declaration
public Output<string> CertificateId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CertificatePem
The contents of the .pem X.509 certificate file for the certificate. Either certificate_pem or certificate_wallet must be set.
Declaration
public Output<string> CertificatePem { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CertificateWallet
The contents of the Oracle Wallet certificate for use with SSL. Either certificate_pem or certificate_wallet must be set.
Declaration
public Output<string> CertificateWallet { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, CertificateState, CustomResourceOptions)
Get an existing Certificate resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Certificate Get(string name, Input<string> id, CertificateState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| CertificateState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Certificate |