We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi
Resource Type definition for AWS::DMS::Certificate
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var basicCertificate = new AwsNative.Dms.Certificate("basicCertificate", new()
{
CertificatePem = @"-----BEGIN CERTIFICATE-----
MIID/DCCAuSgAwIBAgIBUDANBgkqhkiG9w0BAQsFADCBijELMAkGA1UEBhMCVVMx...mqfEEuC7uUoPofXdBp2ObQ==
-----END CERTIFICATE-----
",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/dms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dms.NewCertificate(ctx, "basicCertificate", &dms.CertificateArgs{
CertificatePem: pulumi.String("-----BEGIN CERTIFICATE-----\n MIID/DCCAuSgAwIBAgIBUDANBgkqhkiG9w0BAQsFADCBijELMAkGA1UEBhMCVVMx...mqfEEuC7uUoPofXdBp2ObQ==\n -----END CERTIFICATE-----\n"),
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const basicCertificate = new aws_native.dms.Certificate("basicCertificate", {certificatePem: `-----BEGIN CERTIFICATE-----
MIID/DCCAuSgAwIBAgIBUDANBgkqhkiG9w0BAQsFADCBijELMAkGA1UEBhMCVVMx...mqfEEuC7uUoPofXdBp2ObQ==
-----END CERTIFICATE-----
`});
import pulumi
import pulumi_aws_native as aws_native
basic_certificate = aws_native.dms.Certificate("basicCertificate", certificate_pem="""-----BEGIN CERTIFICATE-----
MIID/DCCAuSgAwIBAgIBUDANBgkqhkiG9w0BAQsFADCBijELMAkGA1UEBhMCVVMx...mqfEEuC7uUoPofXdBp2ObQ==
-----END CERTIFICATE-----
""")
Example coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var basicCertificate = new AwsNative.Dms.Certificate("basicCertificate", new()
{
CertificatePem = @"-----BEGIN CERTIFICATE-----
MIID/DCCAuSgAwIBAgABCDEFgkqhkiG9w0BAQsFADCBijEXAMPLE1UEBhMCVVMx...mqfEEuC7uUoPofXdBp2ObQ==
-----END CERTIFICATE-----",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/dms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dms.NewCertificate(ctx, "basicCertificate", &dms.CertificateArgs{
CertificatePem: pulumi.String("-----BEGIN CERTIFICATE-----\n MIID/DCCAuSgAwIBAgABCDEFgkqhkiG9w0BAQsFADCBijEXAMPLE1UEBhMCVVMx...mqfEEuC7uUoPofXdBp2ObQ==\n -----END CERTIFICATE-----"),
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const basicCertificate = new aws_native.dms.Certificate("basicCertificate", {certificatePem: `-----BEGIN CERTIFICATE-----
MIID/DCCAuSgAwIBAgABCDEFgkqhkiG9w0BAQsFADCBijEXAMPLE1UEBhMCVVMx...mqfEEuC7uUoPofXdBp2ObQ==
-----END CERTIFICATE-----`});
import pulumi
import pulumi_aws_native as aws_native
basic_certificate = aws_native.dms.Certificate("basicCertificate", certificate_pem="""-----BEGIN CERTIFICATE-----
MIID/DCCAuSgAwIBAgABCDEFgkqhkiG9w0BAQsFADCBijEXAMPLE1UEBhMCVVMx...mqfEEuC7uUoPofXdBp2ObQ==
-----END CERTIFICATE-----""")
Example coming soon!
Create Certificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Certificate(name: string, args?: CertificateArgs, opts?: CustomResourceOptions);@overload
def Certificate(resource_name: str,
args: Optional[CertificateArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Certificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate_identifier: Optional[str] = None,
certificate_pem: Optional[str] = None,
certificate_wallet: Optional[str] = None)func NewCertificate(ctx *Context, name string, args *CertificateArgs, opts ...ResourceOption) (*Certificate, error)public Certificate(string name, CertificateArgs? args = null, CustomResourceOptions? opts = null)
public Certificate(String name, CertificateArgs args)
public Certificate(String name, CertificateArgs args, CustomResourceOptions options)
type: aws-native:dms:Certificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_dms_certificate" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CertificateArgs
- 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 CertificateArgs
- 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 CertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CertificateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Certificate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Certificate resource accepts the following input properties:
- Certificate
Identifier string - The certificate Identifier
- Certificate
Pem string - The certificate Pem
- Certificate
Wallet string - The certificate Wallet
- Certificate
Identifier string - The certificate Identifier
- Certificate
Pem string - The certificate Pem
- Certificate
Wallet string - The certificate Wallet
- certificate_
identifier string - The certificate Identifier
- certificate_
pem string - The certificate Pem
- certificate_
wallet string - The certificate Wallet
- certificate
Identifier String - The certificate Identifier
- certificate
Pem String - The certificate Pem
- certificate
Wallet String - The certificate Wallet
- certificate
Identifier string - The certificate Identifier
- certificate
Pem string - The certificate Pem
- certificate
Wallet string - The certificate Wallet
- certificate_
identifier str - The certificate Identifier
- certificate_
pem str - The certificate Pem
- certificate_
wallet str - The certificate Wallet
- certificate
Identifier String - The certificate Identifier
- certificate
Pem String - The certificate Pem
- certificate
Wallet String - The certificate Wallet
Outputs
All input properties are implicitly available as output properties. Additionally, the Certificate resource produces the following output properties:
- Certificate
Arn string - The certificate Arn
- Id string
- The provider-assigned unique ID for this managed resource.
- Certificate
Arn string - The certificate Arn
- Id string
- The provider-assigned unique ID for this managed resource.
- certificate_
arn string - The certificate Arn
- id string
- The provider-assigned unique ID for this managed resource.
- certificate
Arn String - The certificate Arn
- id String
- The provider-assigned unique ID for this managed resource.
- certificate
Arn string - The certificate Arn
- id string
- The provider-assigned unique ID for this managed resource.
- certificate_
arn str - The certificate Arn
- id str
- The provider-assigned unique ID for this managed resource.
- certificate
Arn String - The certificate Arn
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi