Certificate

class Certificate : KotlinCustomResource

Deprecated

This resource has been deprecated in favour of ServiceCertificate

DEPRECATED: This datasource has been deprecated from version 1.129.0. Please use new datasource alicloud_ssl_certificates_service_certificate. Provides a CAS Certificate resource. NOTE: The Certificate name which you want to add must be already registered and had not added by another account. Every Certificate name can only exist in a unique group. NOTE: The Cas Certificate region only support cn-hangzhou, ap-south-1, me-east-1, eu-central-1, ap-northeast-1, ap-southeast-2. NOTE: Available in 1.35.0+ .

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cas.Certificate;
import com.pulumi.alicloud.cas.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 cert = new Certificate("cert", CertificateArgs.builder()
.cert(Files.readString(Paths.get(String.format("%s/test.crt", path.module()))))
.key(Files.readString(Paths.get(String.format("%s/test.key", path.module()))))
.build());
}
}

Properties

Link copied to clipboard
val cert: Output<String>

Cert of the Certificate in which the Certificate will add.

Link copied to clipboard
val certificateName: Output<String>
Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val key: Output<String>

Key of the Certificate in which the Certificate will add.

Link copied to clipboard
val lang: Output<String>?
Link copied to clipboard
val name: Output<String>

Name of the Certificate. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>