published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi
Provides a Certificate Management Service (Original SSL Certificate) Contact resource.
Certificate Contact Person.
For information about Certificate Management Service (Original SSL Certificate) Contact and how to use it, see What is Contact.
NOTE: Available since v1.285.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = new alicloud.sslcertificatesservice.Contact("default", {
name: name,
mobile: "13312345678",
email: "test@example.com",
webhookLists: ["https://oapi.dingtalk.com/robot/send?access_token=xxxx"],
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.sslcertificatesservice.Contact("default",
name=name,
mobile="13312345678",
email="test@example.com",
webhook_lists=["https://oapi.dingtalk.com/robot/send?access_token=xxxx"])
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/sslcertificatesservice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_, err := sslcertificatesservice.NewContact(ctx, "default", &sslcertificatesservice.ContactArgs{
Name: pulumi.String(name),
Mobile: pulumi.String("13312345678"),
Email: pulumi.String("test@example.com"),
WebhookLists: pulumi.StringArray{
pulumi.String("https://oapi.dingtalk.com/robot/send?access_token=xxxx"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = new AliCloud.SslCertificatesService.Contact("default", new()
{
Name = name,
Mobile = "13312345678",
Email = "test@example.com",
WebhookLists = new[]
{
"https://oapi.dingtalk.com/robot/send?access_token=xxxx",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.sslcertificatesservice.Contact;
import com.pulumi.alicloud.sslcertificatesservice.ContactArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
var default_ = new Contact("default", ContactArgs.builder()
.name(name)
.mobile("13312345678")
.email("test@example.com")
.webhookLists("https://oapi.dingtalk.com/robot/send?access_token=xxxx")
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
default:
type: alicloud:sslcertificatesservice:Contact
properties:
name: ${name}
mobile: '13312345678'
email: test@example.com
webhookLists:
- https://oapi.dingtalk.com/robot/send?access_token=xxxx
pulumi {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
resource "alicloud_sslcertificatesservice_contact" "default" {
name = var.name
mobile = "13312345678"
email = "test@example.com"
webhook_lists = ["https://oapi.dingtalk.com/robot/send?access_token=xxxx"]
}
variable "name" {
type = string
default = "terraform-example"
}
📚 Need more examples? VIEW MORE EXAMPLES
Create Contact Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Contact(name: string, args: ContactArgs, opts?: CustomResourceOptions);@overload
def Contact(resource_name: str,
args: ContactArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Contact(resource_name: str,
opts: Optional[ResourceOptions] = None,
mobile: Optional[str] = None,
email: Optional[str] = None,
idcard: Optional[str] = None,
name: Optional[str] = None,
webhook_lists: Optional[Sequence[str]] = None)func NewContact(ctx *Context, name string, args ContactArgs, opts ...ResourceOption) (*Contact, error)public Contact(string name, ContactArgs args, CustomResourceOptions? opts = null)
public Contact(String name, ContactArgs args)
public Contact(String name, ContactArgs args, CustomResourceOptions options)
type: alicloud:sslcertificatesservice:Contact
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "alicloud_sslcertificatesservice_contact" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ContactArgs
- 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 ContactArgs
- 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 ContactArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContactArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContactArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var contactResource = new AliCloud.SslCertificatesService.Contact("contactResource", new()
{
Mobile = "string",
Email = "string",
Idcard = "string",
Name = "string",
WebhookLists = new[]
{
"string",
},
});
example, err := sslcertificatesservice.NewContact(ctx, "contactResource", &sslcertificatesservice.ContactArgs{
Mobile: pulumi.String("string"),
Email: pulumi.String("string"),
Idcard: pulumi.String("string"),
Name: pulumi.String("string"),
WebhookLists: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "alicloud_sslcertificatesservice_contact" "contactResource" {
lifecycle {
create_before_destroy = true
}
mobile = "string"
email = "string"
idcard = "string"
name = "string"
webhook_lists = ["string"]
}
var contactResource = new Contact("contactResource", ContactArgs.builder()
.mobile("string")
.email("string")
.idcard("string")
.name("string")
.webhookLists("string")
.build());
contact_resource = alicloud.sslcertificatesservice.Contact("contactResource",
mobile="string",
email="string",
idcard="string",
name="string",
webhook_lists=["string"])
const contactResource = new alicloud.sslcertificatesservice.Contact("contactResource", {
mobile: "string",
email: "string",
idcard: "string",
name: "string",
webhookLists: ["string"],
});
type: alicloud:sslcertificatesservice:Contact
properties:
email: string
idcard: string
mobile: string
name: string
webhookLists:
- string
Contact 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 Contact resource accepts the following input properties:
- Mobile string
- The mobile phone number of the contact.
- Email string
- The email address of the contact.
- Idcard string
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- Name string
- The name of the contact.
- Webhook
Lists List<string> A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
- Mobile string
- The mobile phone number of the contact.
- Email string
- The email address of the contact.
- Idcard string
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- Name string
- The name of the contact.
- Webhook
Lists []string A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
- mobile string
- The mobile phone number of the contact.
- email string
- The email address of the contact.
- idcard string
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- name string
- The name of the contact.
- webhook_
lists list(string) A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
- mobile String
- The mobile phone number of the contact.
- email String
- The email address of the contact.
- idcard String
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- name String
- The name of the contact.
- webhook
Lists List<String> A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
- mobile string
- The mobile phone number of the contact.
- email string
- The email address of the contact.
- idcard string
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- name string
- The name of the contact.
- webhook
Lists string[] A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
- mobile str
- The mobile phone number of the contact.
- email str
- The email address of the contact.
- idcard str
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- name str
- The name of the contact.
- webhook_
lists Sequence[str] A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
- mobile String
- The mobile phone number of the contact.
- email String
- The email address of the contact.
- idcard String
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- name String
- The name of the contact.
- webhook
Lists List<String> A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
Outputs
All input properties are implicitly available as output properties. Additionally, the Contact resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Contact Resource
Get an existing Contact 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?: ContactState, opts?: CustomResourceOptions): Contact@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
email: Optional[str] = None,
idcard: Optional[str] = None,
mobile: Optional[str] = None,
name: Optional[str] = None,
webhook_lists: Optional[Sequence[str]] = None) -> Contactfunc GetContact(ctx *Context, name string, id IDInput, state *ContactState, opts ...ResourceOption) (*Contact, error)public static Contact Get(string name, Input<string> id, ContactState? state, CustomResourceOptions? opts = null)public static Contact get(String name, Output<String> id, ContactState state, CustomResourceOptions options)resources: _: type: alicloud:sslcertificatesservice:Contact get: id: ${id}import {
to = alicloud_sslcertificatesservice_contact.example
id = "${id}"
}
- 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.
- Email string
- The email address of the contact.
- Idcard string
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- Mobile string
- The mobile phone number of the contact.
- Name string
- The name of the contact.
- Webhook
Lists List<string> A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
- Email string
- The email address of the contact.
- Idcard string
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- Mobile string
- The mobile phone number of the contact.
- Name string
- The name of the contact.
- Webhook
Lists []string A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
- email string
- The email address of the contact.
- idcard string
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- mobile string
- The mobile phone number of the contact.
- name string
- The name of the contact.
- webhook_
lists list(string) A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
- email String
- The email address of the contact.
- idcard String
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- mobile String
- The mobile phone number of the contact.
- name String
- The name of the contact.
- webhook
Lists List<String> A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
- email string
- The email address of the contact.
- idcard string
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- mobile string
- The mobile phone number of the contact.
- name string
- The name of the contact.
- webhook
Lists string[] A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
- email str
- The email address of the contact.
- idcard str
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- mobile str
- The mobile phone number of the contact.
- name str
- The name of the contact.
- webhook_
lists Sequence[str] A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
- email String
- The email address of the contact.
- idcard String
- The ID card number of the contact. CFCA only consumes the idcard when the contact is used to apply for a CFCA-brand certificate; other brands ignore it. CreateContact/UpdateContact accept idcard on any account.
- mobile String
- The mobile phone number of the contact.
- name String
- The name of the contact.
- webhook
Lists List<String> A list of DingTalk robot Webhook URLs used to receive notifications, e.g.
["https://oapi.dingtalk.com/robot/send?access_token=xxx"]. Each element must be a DingTalk robot URL (https://oapi.dingtalk.com/robot/send?access_token=...); other URLs are rejected by the API.NOTE:
email,mobile, andidcardare sensitive. The CAS API returns these fields server-masked on read (e.g.tes****1@example.com,133******78), so they are not reconciled from the API after apply: the configured value is authoritative, out-of-band changes (e.g. editing in the console) are not detectable by Terraform, andpulumi importwill not populate them (the first plan after import reports them being set).webhookListis read back in plaintext from the API.
Import
Certificate Management Service (Original SSL Certificate) Contact can be imported using the id, e.g.
$ pulumi import alicloud:sslcertificatesservice/contact:Contact example <contact_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Monday, Aug 24, 2026 by Pulumi