AuthenticatedOriginPullsCertificate

class AuthenticatedOriginPullsCertificate : KotlinCustomResource

Provides a Cloudflare Authenticated Origin Pulls certificate resource. An uploaded client certificate is required to use Per-Zone or Per-Hostname Authenticated Origin Pulls.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.AuthenticatedOriginPullsCertificate;
import com.pulumi.cloudflare.AuthenticatedOriginPullsCertificateArgs;
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 myPerZoneAopCert = new AuthenticatedOriginPullsCertificate("myPerZoneAopCert", AuthenticatedOriginPullsCertificateArgs.builder()
.certificate("-----INSERT CERTIFICATE-----")
.privateKey("-----INSERT PRIVATE KEY-----")
.type("per-zone")
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.build());
var myPerHostnameAopCert = new AuthenticatedOriginPullsCertificate("myPerHostnameAopCert", AuthenticatedOriginPullsCertificateArgs.builder()
.certificate("-----INSERT CERTIFICATE-----")
.privateKey("-----INSERT PRIVATE KEY-----")
.type("per-hostname")
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.build());
}
}

Import

$ pulumi import cloudflare:index/authenticatedOriginPullsCertificate:AuthenticatedOriginPullsCertificate 2458ce5a-0c35-4c7f-82c7-8e9487d3ff60 <zone_id>/<certificate_type>/<certificate_id>

Properties

Link copied to clipboard
val certificate: Output<String>

The public client certificate. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val expiresOn: Output<String>

Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val issuer: Output<String>

Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val privateKey: Output<String>

The private key of the client certificate. Modifying this attribute will force creation of a new resource.

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

Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val signature: Output<String>

Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val status: Output<String>

Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val type: Output<String>

The form of Authenticated Origin Pulls to upload the certificate to. Available values: per-zone, per-hostname. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val uploadedOn: Output<String>

Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val zoneId: Output<String>

The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.