akamai.CpsUploadCertificate
Create CpsUploadCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CpsUploadCertificate(name: string, args: CpsUploadCertificateArgs, opts?: CustomResourceOptions);@overload
def CpsUploadCertificate(resource_name: str,
                         args: CpsUploadCertificateArgs,
                         opts: Optional[ResourceOptions] = None)
@overload
def CpsUploadCertificate(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         enrollment_id: Optional[int] = None,
                         acknowledge_change_management: Optional[bool] = None,
                         acknowledge_post_verification_warnings: Optional[bool] = None,
                         auto_approve_warnings: Optional[Sequence[str]] = None,
                         certificate_ecdsa_pem: Optional[str] = None,
                         certificate_rsa_pem: Optional[str] = None,
                         timeouts: Optional[CpsUploadCertificateTimeoutsArgs] = None,
                         trust_chain_ecdsa_pem: Optional[str] = None,
                         trust_chain_rsa_pem: Optional[str] = None,
                         wait_for_deployment: Optional[bool] = None)func NewCpsUploadCertificate(ctx *Context, name string, args CpsUploadCertificateArgs, opts ...ResourceOption) (*CpsUploadCertificate, error)public CpsUploadCertificate(string name, CpsUploadCertificateArgs args, CustomResourceOptions? opts = null)
public CpsUploadCertificate(String name, CpsUploadCertificateArgs args)
public CpsUploadCertificate(String name, CpsUploadCertificateArgs args, CustomResourceOptions options)
type: akamai:CpsUploadCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CpsUploadCertificateArgs
- 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 CpsUploadCertificateArgs
- 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 CpsUploadCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CpsUploadCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CpsUploadCertificateArgs
- 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 cpsUploadCertificateResource = new Akamai.CpsUploadCertificate("cpsUploadCertificateResource", new()
{
    EnrollmentId = 0,
    AcknowledgeChangeManagement = false,
    AcknowledgePostVerificationWarnings = false,
    AutoApproveWarnings = new[]
    {
        "string",
    },
    CertificateEcdsaPem = "string",
    CertificateRsaPem = "string",
    Timeouts = new Akamai.Inputs.CpsUploadCertificateTimeoutsArgs
    {
        Default = "string",
    },
    TrustChainEcdsaPem = "string",
    TrustChainRsaPem = "string",
    WaitForDeployment = false,
});
example, err := akamai.NewCpsUploadCertificate(ctx, "cpsUploadCertificateResource", &akamai.CpsUploadCertificateArgs{
	EnrollmentId:                        pulumi.Int(0),
	AcknowledgeChangeManagement:         pulumi.Bool(false),
	AcknowledgePostVerificationWarnings: pulumi.Bool(false),
	AutoApproveWarnings: pulumi.StringArray{
		pulumi.String("string"),
	},
	CertificateEcdsaPem: pulumi.String("string"),
	CertificateRsaPem:   pulumi.String("string"),
	Timeouts: &akamai.CpsUploadCertificateTimeoutsArgs{
		Default: pulumi.String("string"),
	},
	TrustChainEcdsaPem: pulumi.String("string"),
	TrustChainRsaPem:   pulumi.String("string"),
	WaitForDeployment:  pulumi.Bool(false),
})
var cpsUploadCertificateResource = new CpsUploadCertificate("cpsUploadCertificateResource", CpsUploadCertificateArgs.builder()
    .enrollmentId(0)
    .acknowledgeChangeManagement(false)
    .acknowledgePostVerificationWarnings(false)
    .autoApproveWarnings("string")
    .certificateEcdsaPem("string")
    .certificateRsaPem("string")
    .timeouts(CpsUploadCertificateTimeoutsArgs.builder()
        .default_("string")
        .build())
    .trustChainEcdsaPem("string")
    .trustChainRsaPem("string")
    .waitForDeployment(false)
    .build());
cps_upload_certificate_resource = akamai.CpsUploadCertificate("cpsUploadCertificateResource",
    enrollment_id=0,
    acknowledge_change_management=False,
    acknowledge_post_verification_warnings=False,
    auto_approve_warnings=["string"],
    certificate_ecdsa_pem="string",
    certificate_rsa_pem="string",
    timeouts={
        "default": "string",
    },
    trust_chain_ecdsa_pem="string",
    trust_chain_rsa_pem="string",
    wait_for_deployment=False)
const cpsUploadCertificateResource = new akamai.CpsUploadCertificate("cpsUploadCertificateResource", {
    enrollmentId: 0,
    acknowledgeChangeManagement: false,
    acknowledgePostVerificationWarnings: false,
    autoApproveWarnings: ["string"],
    certificateEcdsaPem: "string",
    certificateRsaPem: "string",
    timeouts: {
        "default": "string",
    },
    trustChainEcdsaPem: "string",
    trustChainRsaPem: "string",
    waitForDeployment: false,
});
type: akamai:CpsUploadCertificate
properties:
    acknowledgeChangeManagement: false
    acknowledgePostVerificationWarnings: false
    autoApproveWarnings:
        - string
    certificateEcdsaPem: string
    certificateRsaPem: string
    enrollmentId: 0
    timeouts:
        default: string
    trustChainEcdsaPem: string
    trustChainRsaPem: string
    waitForDeployment: false
CpsUploadCertificate 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 CpsUploadCertificate resource accepts the following input properties:
- EnrollmentId int
- The unique identifier of the enrollment
- AcknowledgeChange boolManagement 
- Whether to acknowledge change management
- AcknowledgePost boolVerification Warnings 
- Whether to acknowledge post-verification warnings
- AutoApprove List<string>Warnings 
- List of post-verification warnings to be automatically acknowledged
- CertificateEcdsa stringPem 
- ECDSA certificate in pem format to be uploaded
- CertificateRsa stringPem 
- RSA certificate in pem format to be uploaded
- Timeouts
CpsUpload Certificate Timeouts 
- Enables to set timeout for processing
- TrustChain stringEcdsa Pem 
- Trust chain in pem format for provided ECDSA certificate
- TrustChain stringRsa Pem 
- Trust chain in pem format for provided RSA certificate
- WaitFor boolDeployment 
- Whether to wait for certificate to be deployed
- EnrollmentId int
- The unique identifier of the enrollment
- AcknowledgeChange boolManagement 
- Whether to acknowledge change management
- AcknowledgePost boolVerification Warnings 
- Whether to acknowledge post-verification warnings
- AutoApprove []stringWarnings 
- List of post-verification warnings to be automatically acknowledged
- CertificateEcdsa stringPem 
- ECDSA certificate in pem format to be uploaded
- CertificateRsa stringPem 
- RSA certificate in pem format to be uploaded
- Timeouts
CpsUpload Certificate Timeouts Args 
- Enables to set timeout for processing
- TrustChain stringEcdsa Pem 
- Trust chain in pem format for provided ECDSA certificate
- TrustChain stringRsa Pem 
- Trust chain in pem format for provided RSA certificate
- WaitFor boolDeployment 
- Whether to wait for certificate to be deployed
- enrollmentId Integer
- The unique identifier of the enrollment
- acknowledgeChange BooleanManagement 
- Whether to acknowledge change management
- acknowledgePost BooleanVerification Warnings 
- Whether to acknowledge post-verification warnings
- autoApprove List<String>Warnings 
- List of post-verification warnings to be automatically acknowledged
- certificateEcdsa StringPem 
- ECDSA certificate in pem format to be uploaded
- certificateRsa StringPem 
- RSA certificate in pem format to be uploaded
- timeouts
CpsUpload Certificate Timeouts 
- Enables to set timeout for processing
- trustChain StringEcdsa Pem 
- Trust chain in pem format for provided ECDSA certificate
- trustChain StringRsa Pem 
- Trust chain in pem format for provided RSA certificate
- waitFor BooleanDeployment 
- Whether to wait for certificate to be deployed
- enrollmentId number
- The unique identifier of the enrollment
- acknowledgeChange booleanManagement 
- Whether to acknowledge change management
- acknowledgePost booleanVerification Warnings 
- Whether to acknowledge post-verification warnings
- autoApprove string[]Warnings 
- List of post-verification warnings to be automatically acknowledged
- certificateEcdsa stringPem 
- ECDSA certificate in pem format to be uploaded
- certificateRsa stringPem 
- RSA certificate in pem format to be uploaded
- timeouts
CpsUpload Certificate Timeouts 
- Enables to set timeout for processing
- trustChain stringEcdsa Pem 
- Trust chain in pem format for provided ECDSA certificate
- trustChain stringRsa Pem 
- Trust chain in pem format for provided RSA certificate
- waitFor booleanDeployment 
- Whether to wait for certificate to be deployed
- enrollment_id int
- The unique identifier of the enrollment
- acknowledge_change_ boolmanagement 
- Whether to acknowledge change management
- acknowledge_post_ boolverification_ warnings 
- Whether to acknowledge post-verification warnings
- auto_approve_ Sequence[str]warnings 
- List of post-verification warnings to be automatically acknowledged
- certificate_ecdsa_ strpem 
- ECDSA certificate in pem format to be uploaded
- certificate_rsa_ strpem 
- RSA certificate in pem format to be uploaded
- timeouts
CpsUpload Certificate Timeouts Args 
- Enables to set timeout for processing
- trust_chain_ strecdsa_ pem 
- Trust chain in pem format for provided ECDSA certificate
- trust_chain_ strrsa_ pem 
- Trust chain in pem format for provided RSA certificate
- wait_for_ booldeployment 
- Whether to wait for certificate to be deployed
- enrollmentId Number
- The unique identifier of the enrollment
- acknowledgeChange BooleanManagement 
- Whether to acknowledge change management
- acknowledgePost BooleanVerification Warnings 
- Whether to acknowledge post-verification warnings
- autoApprove List<String>Warnings 
- List of post-verification warnings to be automatically acknowledged
- certificateEcdsa StringPem 
- ECDSA certificate in pem format to be uploaded
- certificateRsa StringPem 
- RSA certificate in pem format to be uploaded
- timeouts Property Map
- Enables to set timeout for processing
- trustChain StringEcdsa Pem 
- Trust chain in pem format for provided ECDSA certificate
- trustChain StringRsa Pem 
- Trust chain in pem format for provided RSA certificate
- waitFor BooleanDeployment 
- Whether to wait for certificate to be deployed
Outputs
All input properties are implicitly available as output properties. Additionally, the CpsUploadCertificate 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 str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CpsUploadCertificate Resource
Get an existing CpsUploadCertificate 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?: CpsUploadCertificateState, opts?: CustomResourceOptions): CpsUploadCertificate@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        acknowledge_change_management: Optional[bool] = None,
        acknowledge_post_verification_warnings: Optional[bool] = None,
        auto_approve_warnings: Optional[Sequence[str]] = None,
        certificate_ecdsa_pem: Optional[str] = None,
        certificate_rsa_pem: Optional[str] = None,
        enrollment_id: Optional[int] = None,
        timeouts: Optional[CpsUploadCertificateTimeoutsArgs] = None,
        trust_chain_ecdsa_pem: Optional[str] = None,
        trust_chain_rsa_pem: Optional[str] = None,
        wait_for_deployment: Optional[bool] = None) -> CpsUploadCertificatefunc GetCpsUploadCertificate(ctx *Context, name string, id IDInput, state *CpsUploadCertificateState, opts ...ResourceOption) (*CpsUploadCertificate, error)public static CpsUploadCertificate Get(string name, Input<string> id, CpsUploadCertificateState? state, CustomResourceOptions? opts = null)public static CpsUploadCertificate get(String name, Output<String> id, CpsUploadCertificateState state, CustomResourceOptions options)resources:  _:    type: akamai:CpsUploadCertificate    get:      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.
- AcknowledgeChange boolManagement 
- Whether to acknowledge change management
- AcknowledgePost boolVerification Warnings 
- Whether to acknowledge post-verification warnings
- AutoApprove List<string>Warnings 
- List of post-verification warnings to be automatically acknowledged
- CertificateEcdsa stringPem 
- ECDSA certificate in pem format to be uploaded
- CertificateRsa stringPem 
- RSA certificate in pem format to be uploaded
- EnrollmentId int
- The unique identifier of the enrollment
- Timeouts
CpsUpload Certificate Timeouts 
- Enables to set timeout for processing
- TrustChain stringEcdsa Pem 
- Trust chain in pem format for provided ECDSA certificate
- TrustChain stringRsa Pem 
- Trust chain in pem format for provided RSA certificate
- WaitFor boolDeployment 
- Whether to wait for certificate to be deployed
- AcknowledgeChange boolManagement 
- Whether to acknowledge change management
- AcknowledgePost boolVerification Warnings 
- Whether to acknowledge post-verification warnings
- AutoApprove []stringWarnings 
- List of post-verification warnings to be automatically acknowledged
- CertificateEcdsa stringPem 
- ECDSA certificate in pem format to be uploaded
- CertificateRsa stringPem 
- RSA certificate in pem format to be uploaded
- EnrollmentId int
- The unique identifier of the enrollment
- Timeouts
CpsUpload Certificate Timeouts Args 
- Enables to set timeout for processing
- TrustChain stringEcdsa Pem 
- Trust chain in pem format for provided ECDSA certificate
- TrustChain stringRsa Pem 
- Trust chain in pem format for provided RSA certificate
- WaitFor boolDeployment 
- Whether to wait for certificate to be deployed
- acknowledgeChange BooleanManagement 
- Whether to acknowledge change management
- acknowledgePost BooleanVerification Warnings 
- Whether to acknowledge post-verification warnings
- autoApprove List<String>Warnings 
- List of post-verification warnings to be automatically acknowledged
- certificateEcdsa StringPem 
- ECDSA certificate in pem format to be uploaded
- certificateRsa StringPem 
- RSA certificate in pem format to be uploaded
- enrollmentId Integer
- The unique identifier of the enrollment
- timeouts
CpsUpload Certificate Timeouts 
- Enables to set timeout for processing
- trustChain StringEcdsa Pem 
- Trust chain in pem format for provided ECDSA certificate
- trustChain StringRsa Pem 
- Trust chain in pem format for provided RSA certificate
- waitFor BooleanDeployment 
- Whether to wait for certificate to be deployed
- acknowledgeChange booleanManagement 
- Whether to acknowledge change management
- acknowledgePost booleanVerification Warnings 
- Whether to acknowledge post-verification warnings
- autoApprove string[]Warnings 
- List of post-verification warnings to be automatically acknowledged
- certificateEcdsa stringPem 
- ECDSA certificate in pem format to be uploaded
- certificateRsa stringPem 
- RSA certificate in pem format to be uploaded
- enrollmentId number
- The unique identifier of the enrollment
- timeouts
CpsUpload Certificate Timeouts 
- Enables to set timeout for processing
- trustChain stringEcdsa Pem 
- Trust chain in pem format for provided ECDSA certificate
- trustChain stringRsa Pem 
- Trust chain in pem format for provided RSA certificate
- waitFor booleanDeployment 
- Whether to wait for certificate to be deployed
- acknowledge_change_ boolmanagement 
- Whether to acknowledge change management
- acknowledge_post_ boolverification_ warnings 
- Whether to acknowledge post-verification warnings
- auto_approve_ Sequence[str]warnings 
- List of post-verification warnings to be automatically acknowledged
- certificate_ecdsa_ strpem 
- ECDSA certificate in pem format to be uploaded
- certificate_rsa_ strpem 
- RSA certificate in pem format to be uploaded
- enrollment_id int
- The unique identifier of the enrollment
- timeouts
CpsUpload Certificate Timeouts Args 
- Enables to set timeout for processing
- trust_chain_ strecdsa_ pem 
- Trust chain in pem format for provided ECDSA certificate
- trust_chain_ strrsa_ pem 
- Trust chain in pem format for provided RSA certificate
- wait_for_ booldeployment 
- Whether to wait for certificate to be deployed
- acknowledgeChange BooleanManagement 
- Whether to acknowledge change management
- acknowledgePost BooleanVerification Warnings 
- Whether to acknowledge post-verification warnings
- autoApprove List<String>Warnings 
- List of post-verification warnings to be automatically acknowledged
- certificateEcdsa StringPem 
- ECDSA certificate in pem format to be uploaded
- certificateRsa StringPem 
- RSA certificate in pem format to be uploaded
- enrollmentId Number
- The unique identifier of the enrollment
- timeouts Property Map
- Enables to set timeout for processing
- trustChain StringEcdsa Pem 
- Trust chain in pem format for provided ECDSA certificate
- trustChain StringRsa Pem 
- Trust chain in pem format for provided RSA certificate
- waitFor BooleanDeployment 
- Whether to wait for certificate to be deployed
Supporting Types
CpsUploadCertificateTimeouts, CpsUploadCertificateTimeoutsArgs        
- Default string
- Default string
- default_ String
- default string
- default str
- default String
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the akamaiTerraform Provider.
