Show / Hide Table of Contents

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 = "...",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Certificate
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Dms
Assembly: Pulumi.Aws.dll
Syntax
public class Certificate : CustomResource

Constructors

View Source

Certificate(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 Source

CertificateArn

The Amazon Resource Name (ARN) for the certificate.

Declaration
public Output<string> CertificateArn { get; }
Property Value
Type Description
Output<System.String>
View Source

CertificateId

The certificate identifier.

Declaration
public Output<string> CertificateId { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.