Certificate

class Certificate : KotlinCustomResource

Provides a DMS (Data Migration Service) certificate resource. DMS certificates can be created, deleted, and imported.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.dms.Certificate;
import com.pulumi.aws.dms.CertificateArgs;
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 test = new Certificate("test", CertificateArgs.builder()
.certificateId("test-dms-certificate-tf")
.certificatePem("...")
.tags(Map.of("Name", "test"))
.build());
}
}

Import

Certificates can be imported using the certificate_id, e.g.,

$ pulumi import aws:dms/certificate:Certificate test test-dms-certificate-tf

Properties

Link copied to clipboard
val certificateArn: Output<String>

The Amazon Resource Name (ARN) for the certificate.

Link copied to clipboard
val certificateId: Output<String>

The certificate identifier.

Link copied to clipboard
val certificatePem: Output<String>?

The contents of the .pem X.509 certificate file for the certificate. Either certificate_pem or certificate_wallet must be set.

Link copied to clipboard

The contents of the Oracle Wallet certificate for use with SSL, provided as a base64-encoded String. Either certificate_pem or certificate_wallet must be set.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>