1. Packages
  2. Akamai
  3. API Docs
  4. CpsUploadCertificate
Akamai v7.1.0 published on Wednesday, Apr 24, 2024 by Pulumi

akamai.CpsUploadCertificate

Explore with Pulumi AI

akamai logo
Akamai v7.1.0 published on Wednesday, Apr 24, 2024 by Pulumi

    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.

    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=akamai.CpsUploadCertificateTimeoutsArgs(
            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

    The CpsUploadCertificate resource accepts the following input properties:

    EnrollmentId int
    The unique identifier of the enrollment
    AcknowledgeChangeManagement bool
    Whether to acknowledge change management
    AcknowledgePostVerificationWarnings bool
    Whether to acknowledge post-verification warnings
    AutoApproveWarnings List<string>
    List of post-verification warnings to be automatically acknowledged
    CertificateEcdsaPem string
    ECDSA certificate in pem format to be uploaded
    CertificateRsaPem string
    RSA certificate in pem format to be uploaded
    Timeouts CpsUploadCertificateTimeouts
    Enables to set timeout for processing
    TrustChainEcdsaPem string
    Trust chain in pem format for provided ECDSA certificate
    TrustChainRsaPem string
    Trust chain in pem format for provided RSA certificate
    WaitForDeployment bool
    Whether to wait for certificate to be deployed
    EnrollmentId int
    The unique identifier of the enrollment
    AcknowledgeChangeManagement bool
    Whether to acknowledge change management
    AcknowledgePostVerificationWarnings bool
    Whether to acknowledge post-verification warnings
    AutoApproveWarnings []string
    List of post-verification warnings to be automatically acknowledged
    CertificateEcdsaPem string
    ECDSA certificate in pem format to be uploaded
    CertificateRsaPem string
    RSA certificate in pem format to be uploaded
    Timeouts CpsUploadCertificateTimeoutsArgs
    Enables to set timeout for processing
    TrustChainEcdsaPem string
    Trust chain in pem format for provided ECDSA certificate
    TrustChainRsaPem string
    Trust chain in pem format for provided RSA certificate
    WaitForDeployment bool
    Whether to wait for certificate to be deployed
    enrollmentId Integer
    The unique identifier of the enrollment
    acknowledgeChangeManagement Boolean
    Whether to acknowledge change management
    acknowledgePostVerificationWarnings Boolean
    Whether to acknowledge post-verification warnings
    autoApproveWarnings List<String>
    List of post-verification warnings to be automatically acknowledged
    certificateEcdsaPem String
    ECDSA certificate in pem format to be uploaded
    certificateRsaPem String
    RSA certificate in pem format to be uploaded
    timeouts CpsUploadCertificateTimeouts
    Enables to set timeout for processing
    trustChainEcdsaPem String
    Trust chain in pem format for provided ECDSA certificate
    trustChainRsaPem String
    Trust chain in pem format for provided RSA certificate
    waitForDeployment Boolean
    Whether to wait for certificate to be deployed
    enrollmentId number
    The unique identifier of the enrollment
    acknowledgeChangeManagement boolean
    Whether to acknowledge change management
    acknowledgePostVerificationWarnings boolean
    Whether to acknowledge post-verification warnings
    autoApproveWarnings string[]
    List of post-verification warnings to be automatically acknowledged
    certificateEcdsaPem string
    ECDSA certificate in pem format to be uploaded
    certificateRsaPem string
    RSA certificate in pem format to be uploaded
    timeouts CpsUploadCertificateTimeouts
    Enables to set timeout for processing
    trustChainEcdsaPem string
    Trust chain in pem format for provided ECDSA certificate
    trustChainRsaPem string
    Trust chain in pem format for provided RSA certificate
    waitForDeployment boolean
    Whether to wait for certificate to be deployed
    enrollment_id int
    The unique identifier of the enrollment
    acknowledge_change_management bool
    Whether to acknowledge change management
    acknowledge_post_verification_warnings bool
    Whether to acknowledge post-verification warnings
    auto_approve_warnings Sequence[str]
    List of post-verification warnings to be automatically acknowledged
    certificate_ecdsa_pem str
    ECDSA certificate in pem format to be uploaded
    certificate_rsa_pem str
    RSA certificate in pem format to be uploaded
    timeouts CpsUploadCertificateTimeoutsArgs
    Enables to set timeout for processing
    trust_chain_ecdsa_pem str
    Trust chain in pem format for provided ECDSA certificate
    trust_chain_rsa_pem str
    Trust chain in pem format for provided RSA certificate
    wait_for_deployment bool
    Whether to wait for certificate to be deployed
    enrollmentId Number
    The unique identifier of the enrollment
    acknowledgeChangeManagement Boolean
    Whether to acknowledge change management
    acknowledgePostVerificationWarnings Boolean
    Whether to acknowledge post-verification warnings
    autoApproveWarnings List<String>
    List of post-verification warnings to be automatically acknowledged
    certificateEcdsaPem String
    ECDSA certificate in pem format to be uploaded
    certificateRsaPem String
    RSA certificate in pem format to be uploaded
    timeouts Property Map
    Enables to set timeout for processing
    trustChainEcdsaPem String
    Trust chain in pem format for provided ECDSA certificate
    trustChainRsaPem String
    Trust chain in pem format for provided RSA certificate
    waitForDeployment Boolean
    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.
    UnacknowledgedWarnings bool
    Used to distinguish whether there are unacknowledged warnings for a certificate
    Id string
    The provider-assigned unique ID for this managed resource.
    UnacknowledgedWarnings bool
    Used to distinguish whether there are unacknowledged warnings for a certificate
    id String
    The provider-assigned unique ID for this managed resource.
    unacknowledgedWarnings Boolean
    Used to distinguish whether there are unacknowledged warnings for a certificate
    id string
    The provider-assigned unique ID for this managed resource.
    unacknowledgedWarnings boolean
    Used to distinguish whether there are unacknowledged warnings for a certificate
    id str
    The provider-assigned unique ID for this managed resource.
    unacknowledged_warnings bool
    Used to distinguish whether there are unacknowledged warnings for a certificate
    id String
    The provider-assigned unique ID for this managed resource.
    unacknowledgedWarnings Boolean
    Used to distinguish whether there are unacknowledged warnings for a certificate

    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,
            unacknowledged_warnings: Optional[bool] = None,
            wait_for_deployment: Optional[bool] = None) -> CpsUploadCertificate
    func 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)
    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:
    AcknowledgeChangeManagement bool
    Whether to acknowledge change management
    AcknowledgePostVerificationWarnings bool
    Whether to acknowledge post-verification warnings
    AutoApproveWarnings List<string>
    List of post-verification warnings to be automatically acknowledged
    CertificateEcdsaPem string
    ECDSA certificate in pem format to be uploaded
    CertificateRsaPem string
    RSA certificate in pem format to be uploaded
    EnrollmentId int
    The unique identifier of the enrollment
    Timeouts CpsUploadCertificateTimeouts
    Enables to set timeout for processing
    TrustChainEcdsaPem string
    Trust chain in pem format for provided ECDSA certificate
    TrustChainRsaPem string
    Trust chain in pem format for provided RSA certificate
    UnacknowledgedWarnings bool
    Used to distinguish whether there are unacknowledged warnings for a certificate
    WaitForDeployment bool
    Whether to wait for certificate to be deployed
    AcknowledgeChangeManagement bool
    Whether to acknowledge change management
    AcknowledgePostVerificationWarnings bool
    Whether to acknowledge post-verification warnings
    AutoApproveWarnings []string
    List of post-verification warnings to be automatically acknowledged
    CertificateEcdsaPem string
    ECDSA certificate in pem format to be uploaded
    CertificateRsaPem string
    RSA certificate in pem format to be uploaded
    EnrollmentId int
    The unique identifier of the enrollment
    Timeouts CpsUploadCertificateTimeoutsArgs
    Enables to set timeout for processing
    TrustChainEcdsaPem string
    Trust chain in pem format for provided ECDSA certificate
    TrustChainRsaPem string
    Trust chain in pem format for provided RSA certificate
    UnacknowledgedWarnings bool
    Used to distinguish whether there are unacknowledged warnings for a certificate
    WaitForDeployment bool
    Whether to wait for certificate to be deployed
    acknowledgeChangeManagement Boolean
    Whether to acknowledge change management
    acknowledgePostVerificationWarnings Boolean
    Whether to acknowledge post-verification warnings
    autoApproveWarnings List<String>
    List of post-verification warnings to be automatically acknowledged
    certificateEcdsaPem String
    ECDSA certificate in pem format to be uploaded
    certificateRsaPem String
    RSA certificate in pem format to be uploaded
    enrollmentId Integer
    The unique identifier of the enrollment
    timeouts CpsUploadCertificateTimeouts
    Enables to set timeout for processing
    trustChainEcdsaPem String
    Trust chain in pem format for provided ECDSA certificate
    trustChainRsaPem String
    Trust chain in pem format for provided RSA certificate
    unacknowledgedWarnings Boolean
    Used to distinguish whether there are unacknowledged warnings for a certificate
    waitForDeployment Boolean
    Whether to wait for certificate to be deployed
    acknowledgeChangeManagement boolean
    Whether to acknowledge change management
    acknowledgePostVerificationWarnings boolean
    Whether to acknowledge post-verification warnings
    autoApproveWarnings string[]
    List of post-verification warnings to be automatically acknowledged
    certificateEcdsaPem string
    ECDSA certificate in pem format to be uploaded
    certificateRsaPem string
    RSA certificate in pem format to be uploaded
    enrollmentId number
    The unique identifier of the enrollment
    timeouts CpsUploadCertificateTimeouts
    Enables to set timeout for processing
    trustChainEcdsaPem string
    Trust chain in pem format for provided ECDSA certificate
    trustChainRsaPem string
    Trust chain in pem format for provided RSA certificate
    unacknowledgedWarnings boolean
    Used to distinguish whether there are unacknowledged warnings for a certificate
    waitForDeployment boolean
    Whether to wait for certificate to be deployed
    acknowledge_change_management bool
    Whether to acknowledge change management
    acknowledge_post_verification_warnings bool
    Whether to acknowledge post-verification warnings
    auto_approve_warnings Sequence[str]
    List of post-verification warnings to be automatically acknowledged
    certificate_ecdsa_pem str
    ECDSA certificate in pem format to be uploaded
    certificate_rsa_pem str
    RSA certificate in pem format to be uploaded
    enrollment_id int
    The unique identifier of the enrollment
    timeouts CpsUploadCertificateTimeoutsArgs
    Enables to set timeout for processing
    trust_chain_ecdsa_pem str
    Trust chain in pem format for provided ECDSA certificate
    trust_chain_rsa_pem str
    Trust chain in pem format for provided RSA certificate
    unacknowledged_warnings bool
    Used to distinguish whether there are unacknowledged warnings for a certificate
    wait_for_deployment bool
    Whether to wait for certificate to be deployed
    acknowledgeChangeManagement Boolean
    Whether to acknowledge change management
    acknowledgePostVerificationWarnings Boolean
    Whether to acknowledge post-verification warnings
    autoApproveWarnings List<String>
    List of post-verification warnings to be automatically acknowledged
    certificateEcdsaPem String
    ECDSA certificate in pem format to be uploaded
    certificateRsaPem String
    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
    trustChainEcdsaPem String
    Trust chain in pem format for provided ECDSA certificate
    trustChainRsaPem String
    Trust chain in pem format for provided RSA certificate
    unacknowledgedWarnings Boolean
    Used to distinguish whether there are unacknowledged warnings for a certificate
    waitForDeployment Boolean
    Whether to wait for certificate to be deployed

    Supporting Types

    CpsUploadCertificateTimeouts, CpsUploadCertificateTimeoutsArgs

    Default string
    Default string
    default_ String
    default string
    default String

    Package Details

    Repository
    Akamai pulumi/pulumi-akamai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the akamai Terraform Provider.
    akamai logo
    Akamai v7.1.0 published on Wednesday, Apr 24, 2024 by Pulumi