Akamai v7.4.1 published on Tuesday, Sep 24, 2024 by Pulumi
akamai.CpsUploadCertificate
Explore with Pulumi AI
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=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:
- 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 List<string>Warnings - List of post-verification warnings to be automatically acknowledged
- Certificate
Ecdsa stringPem - ECDSA certificate in pem format to be uploaded
- Certificate
Rsa stringPem - RSA certificate in pem format to be uploaded
- Timeouts
Cps
Upload Certificate Timeouts - Enables to set timeout for processing
- Trust
Chain stringEcdsa Pem - Trust chain in pem format for provided ECDSA certificate
- Trust
Chain stringRsa Pem - Trust chain in pem format for provided RSA certificate
- Wait
For boolDeployment - 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 []stringWarnings - List of post-verification warnings to be automatically acknowledged
- Certificate
Ecdsa stringPem - ECDSA certificate in pem format to be uploaded
- Certificate
Rsa stringPem - RSA certificate in pem format to be uploaded
- Timeouts
Cps
Upload Certificate Timeouts Args - Enables to set timeout for processing
- Trust
Chain stringEcdsa Pem - Trust chain in pem format for provided ECDSA certificate
- Trust
Chain stringRsa Pem - Trust chain in pem format for provided RSA certificate
- Wait
For boolDeployment - Whether to wait for certificate to be deployed
- enrollment
Id Integer - The unique identifier of the enrollment
- acknowledge
Change BooleanManagement - Whether to acknowledge change management
- acknowledge
Post BooleanVerification Warnings - Whether to acknowledge post-verification warnings
- auto
Approve List<String>Warnings - List of post-verification warnings to be automatically acknowledged
- certificate
Ecdsa StringPem - ECDSA certificate in pem format to be uploaded
- certificate
Rsa StringPem - RSA certificate in pem format to be uploaded
- timeouts
Cps
Upload Certificate Timeouts - Enables to set timeout for processing
- trust
Chain StringEcdsa Pem - Trust chain in pem format for provided ECDSA certificate
- trust
Chain StringRsa Pem - Trust chain in pem format for provided RSA certificate
- wait
For BooleanDeployment - Whether to wait for certificate to be deployed
- enrollment
Id number - The unique identifier of the enrollment
- acknowledge
Change booleanManagement - Whether to acknowledge change management
- acknowledge
Post booleanVerification Warnings - Whether to acknowledge post-verification warnings
- auto
Approve string[]Warnings - List of post-verification warnings to be automatically acknowledged
- certificate
Ecdsa stringPem - ECDSA certificate in pem format to be uploaded
- certificate
Rsa stringPem - RSA certificate in pem format to be uploaded
- timeouts
Cps
Upload Certificate Timeouts - Enables to set timeout for processing
- trust
Chain stringEcdsa Pem - Trust chain in pem format for provided ECDSA certificate
- trust
Chain stringRsa Pem - Trust chain in pem format for provided RSA certificate
- wait
For 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
Cps
Upload 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
- enrollment
Id Number - The unique identifier of the enrollment
- acknowledge
Change BooleanManagement - Whether to acknowledge change management
- acknowledge
Post BooleanVerification Warnings - Whether to acknowledge post-verification warnings
- auto
Approve List<String>Warnings - List of post-verification warnings to be automatically acknowledged
- certificate
Ecdsa StringPem - ECDSA certificate in pem format to be uploaded
- certificate
Rsa StringPem - RSA certificate in pem format to be uploaded
- timeouts Property Map
- Enables to set timeout for processing
- trust
Chain StringEcdsa Pem - Trust chain in pem format for provided ECDSA certificate
- trust
Chain StringRsa Pem - Trust chain in pem format for provided RSA certificate
- wait
For 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.
- 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.
- 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.
- unacknowledged
Warnings Boolean - Used to distinguish whether there are unacknowledged warnings for a certificate
- id string
- The provider-assigned unique ID for this managed resource.
- unacknowledged
Warnings 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.
- unacknowledged
Warnings 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.
- Acknowledge
Change boolManagement - Whether to acknowledge change management
- Acknowledge
Post boolVerification Warnings - Whether to acknowledge post-verification warnings
- Auto
Approve List<string>Warnings - List of post-verification warnings to be automatically acknowledged
- Certificate
Ecdsa stringPem - ECDSA certificate in pem format to be uploaded
- Certificate
Rsa stringPem - RSA certificate in pem format to be uploaded
- Enrollment
Id int - The unique identifier of the enrollment
- Timeouts
Cps
Upload Certificate Timeouts - Enables to set timeout for processing
- Trust
Chain stringEcdsa Pem - Trust chain in pem format for provided ECDSA certificate
- Trust
Chain stringRsa Pem - 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 boolDeployment - 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 []stringWarnings - List of post-verification warnings to be automatically acknowledged
- Certificate
Ecdsa stringPem - ECDSA certificate in pem format to be uploaded
- Certificate
Rsa stringPem - RSA certificate in pem format to be uploaded
- Enrollment
Id int - The unique identifier of the enrollment
- Timeouts
Cps
Upload Certificate Timeouts Args - Enables to set timeout for processing
- Trust
Chain stringEcdsa Pem - Trust chain in pem format for provided ECDSA certificate
- Trust
Chain stringRsa Pem - 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 boolDeployment - Whether to wait for certificate to be deployed
- acknowledge
Change BooleanManagement - Whether to acknowledge change management
- acknowledge
Post BooleanVerification Warnings - Whether to acknowledge post-verification warnings
- auto
Approve List<String>Warnings - List of post-verification warnings to be automatically acknowledged
- certificate
Ecdsa StringPem - ECDSA certificate in pem format to be uploaded
- certificate
Rsa StringPem - RSA certificate in pem format to be uploaded
- enrollment
Id Integer - The unique identifier of the enrollment
- timeouts
Cps
Upload Certificate Timeouts - Enables to set timeout for processing
- trust
Chain StringEcdsa Pem - Trust chain in pem format for provided ECDSA certificate
- trust
Chain StringRsa Pem - Trust chain in pem format for provided RSA certificate
- unacknowledged
Warnings Boolean - Used to distinguish whether there are unacknowledged warnings for a certificate
- wait
For BooleanDeployment - Whether to wait for certificate to be deployed
- acknowledge
Change booleanManagement - Whether to acknowledge change management
- acknowledge
Post booleanVerification Warnings - Whether to acknowledge post-verification warnings
- auto
Approve string[]Warnings - List of post-verification warnings to be automatically acknowledged
- certificate
Ecdsa stringPem - ECDSA certificate in pem format to be uploaded
- certificate
Rsa stringPem - RSA certificate in pem format to be uploaded
- enrollment
Id number - The unique identifier of the enrollment
- timeouts
Cps
Upload Certificate Timeouts - Enables to set timeout for processing
- trust
Chain stringEcdsa Pem - Trust chain in pem format for provided ECDSA certificate
- trust
Chain stringRsa Pem - Trust chain in pem format for provided RSA certificate
- unacknowledged
Warnings boolean - Used to distinguish whether there are unacknowledged warnings for a certificate
- wait
For 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
Cps
Upload 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
- unacknowledged_
warnings bool - Used to distinguish whether there are unacknowledged warnings for a certificate
- wait_
for_ booldeployment - Whether to wait for certificate to be deployed
- acknowledge
Change BooleanManagement - Whether to acknowledge change management
- acknowledge
Post BooleanVerification Warnings - Whether to acknowledge post-verification warnings
- auto
Approve List<String>Warnings - List of post-verification warnings to be automatically acknowledged
- certificate
Ecdsa StringPem - ECDSA certificate in pem format to be uploaded
- certificate
Rsa StringPem - RSA certificate in pem format to be uploaded
- enrollment
Id Number - The unique identifier of the enrollment
- timeouts Property Map
- Enables to set timeout for processing
- trust
Chain StringEcdsa Pem - Trust chain in pem format for provided ECDSA certificate
- trust
Chain StringRsa Pem - Trust chain in pem format for provided RSA certificate
- unacknowledged
Warnings Boolean - Used to distinguish whether there are unacknowledged warnings for a certificate
- wait
For 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
akamai
Terraform Provider.