Akamai

Pulumi Official
Package maintained by Pulumi
v2.9.0 published on Wednesday, Apr 6, 2022 by Pulumi

CpsDvValidation

Once you complete the Let’s Encrypt challenges, optionally use the akamai.CpsDvValidation resource to send the acknowledgement to CPS and inform it that tokens are ready for validation. You can also wait for CPS to check for the tokens, which it does on a regular schedule. Next, CPS automatically deploys the certificate on Staging, and eventually on the Production network.

Attributes reference

  • status - The status of certificate validation.

Example Usage

using Pulumi;
using Akamai = Pulumi.Akamai;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Akamai.CpsDvValidation("example", new Akamai.CpsDvValidationArgs
        {
            EnrollmentId = akamai_cps_dv_enrollment.Example.Id,
            Sans = akamai_cps_dv_enrollment.Example.Sans,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-akamai/sdk/v2/go/akamai"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := akamai.NewCpsDvValidation(ctx, "example", &akamai.CpsDvValidationArgs{
			EnrollmentId: pulumi.Any(akamai_cps_dv_enrollment.Example.Id),
			Sans:         pulumi.Any(akamai_cps_dv_enrollment.Example.Sans),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_akamai as akamai

example = akamai.CpsDvValidation("example",
    enrollment_id=akamai_cps_dv_enrollment["example"]["id"],
    sans=akamai_cps_dv_enrollment["example"]["sans"])
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const example = new akamai.CpsDvValidation("example", {
    enrollmentId: akamai_cps_dv_enrollment.example.id,
    sans: akamai_cps_dv_enrollment.example.sans,
});

Coming soon!

Create a CpsDvValidation Resource

new CpsDvValidation(name: string, args: CpsDvValidationArgs, opts?: CustomResourceOptions);
@overload
def CpsDvValidation(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    enrollment_id: Optional[int] = None,
                    sans: Optional[Sequence[str]] = None)
@overload
def CpsDvValidation(resource_name: str,
                    args: CpsDvValidationArgs,
                    opts: Optional[ResourceOptions] = None)
func NewCpsDvValidation(ctx *Context, name string, args CpsDvValidationArgs, opts ...ResourceOption) (*CpsDvValidation, error)
public CpsDvValidation(string name, CpsDvValidationArgs args, CustomResourceOptions? opts = null)
public CpsDvValidation(String name, CpsDvValidationArgs args)
public CpsDvValidation(String name, CpsDvValidationArgs args, CustomResourceOptions options)
type: akamai:CpsDvValidation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CpsDvValidationArgs
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 CpsDvValidationArgs
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 CpsDvValidationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CpsDvValidationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CpsDvValidationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CpsDvValidation Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CpsDvValidation resource accepts the following input properties:

EnrollmentId int

Unique identifier for the DV certificate enrollment.

Sans List<string>

The Subject Alternative Names (SAN) list for tracking changes on related enrollments. Whenever any SAN changes, the Akamai provider recreates this resource and sends another acknowledgement request to CPS.

EnrollmentId int

Unique identifier for the DV certificate enrollment.

Sans []string

The Subject Alternative Names (SAN) list for tracking changes on related enrollments. Whenever any SAN changes, the Akamai provider recreates this resource and sends another acknowledgement request to CPS.

enrollmentId Integer

Unique identifier for the DV certificate enrollment.

sans List

The Subject Alternative Names (SAN) list for tracking changes on related enrollments. Whenever any SAN changes, the Akamai provider recreates this resource and sends another acknowledgement request to CPS.

enrollmentId number

Unique identifier for the DV certificate enrollment.

sans string[]

The Subject Alternative Names (SAN) list for tracking changes on related enrollments. Whenever any SAN changes, the Akamai provider recreates this resource and sends another acknowledgement request to CPS.

enrollment_id int

Unique identifier for the DV certificate enrollment.

sans Sequence[str]

The Subject Alternative Names (SAN) list for tracking changes on related enrollments. Whenever any SAN changes, the Akamai provider recreates this resource and sends another acknowledgement request to CPS.

enrollmentId Number

Unique identifier for the DV certificate enrollment.

sans List

The Subject Alternative Names (SAN) list for tracking changes on related enrollments. Whenever any SAN changes, the Akamai provider recreates this resource and sends another acknowledgement request to CPS.

Outputs

All input properties are implicitly available as output properties. Additionally, the CpsDvValidation resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Status string
Id string

The provider-assigned unique ID for this managed resource.

Status string
id String

The provider-assigned unique ID for this managed resource.

status String
id string

The provider-assigned unique ID for this managed resource.

status string
id str

The provider-assigned unique ID for this managed resource.

status str
id String

The provider-assigned unique ID for this managed resource.

status String

Look up an Existing CpsDvValidation Resource

Get an existing CpsDvValidation 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?: CpsDvValidationState, opts?: CustomResourceOptions): CpsDvValidation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enrollment_id: Optional[int] = None,
        sans: Optional[Sequence[str]] = None,
        status: Optional[str] = None) -> CpsDvValidation
func GetCpsDvValidation(ctx *Context, name string, id IDInput, state *CpsDvValidationState, opts ...ResourceOption) (*CpsDvValidation, error)
public static CpsDvValidation Get(string name, Input<string> id, CpsDvValidationState? state, CustomResourceOptions? opts = null)
public static CpsDvValidation get(String name, Output<String> id, CpsDvValidationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
The following state arguments are supported:
EnrollmentId int

Unique identifier for the DV certificate enrollment.

Sans List<string>

The Subject Alternative Names (SAN) list for tracking changes on related enrollments. Whenever any SAN changes, the Akamai provider recreates this resource and sends another acknowledgement request to CPS.

Status string
EnrollmentId int

Unique identifier for the DV certificate enrollment.

Sans []string

The Subject Alternative Names (SAN) list for tracking changes on related enrollments. Whenever any SAN changes, the Akamai provider recreates this resource and sends another acknowledgement request to CPS.

Status string
enrollmentId Integer

Unique identifier for the DV certificate enrollment.

sans List

The Subject Alternative Names (SAN) list for tracking changes on related enrollments. Whenever any SAN changes, the Akamai provider recreates this resource and sends another acknowledgement request to CPS.

status String
enrollmentId number

Unique identifier for the DV certificate enrollment.

sans string[]

The Subject Alternative Names (SAN) list for tracking changes on related enrollments. Whenever any SAN changes, the Akamai provider recreates this resource and sends another acknowledgement request to CPS.

status string
enrollment_id int

Unique identifier for the DV certificate enrollment.

sans Sequence[str]

The Subject Alternative Names (SAN) list for tracking changes on related enrollments. Whenever any SAN changes, the Akamai provider recreates this resource and sends another acknowledgement request to CPS.

status str
enrollmentId Number

Unique identifier for the DV certificate enrollment.

sans List

The Subject Alternative Names (SAN) list for tracking changes on related enrollments. Whenever any SAN changes, the Akamai provider recreates this resource and sends another acknowledgement request to CPS.

status String

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes

This Pulumi package is based on the akamai Terraform Provider.