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={
"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:
- 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 List<string> - List of post-verification warnings to be automatically acknowledged
- Certificate
Ecdsa Pem string - ECDSA certificate in pem format to be uploaded
- Certificate
Rsa Pem string - RSA certificate in pem format to be uploaded
- Timeouts
Cps
Upload Certificate Timeouts - Enables to set timeout for processing
- Trust
Chain Ecdsa Pem string - Trust chain in pem format for provided ECDSA certificate
- Trust
Chain Rsa Pem string - Trust chain in pem format for provided RSA certificate
- Wait
For Deployment bool - 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 []string - List of post-verification warnings to be automatically acknowledged
- Certificate
Ecdsa Pem string - ECDSA certificate in pem format to be uploaded
- Certificate
Rsa Pem string - RSA certificate in pem format to be uploaded
- Timeouts
Cps
Upload Certificate Timeouts Args - Enables to set timeout for processing
- Trust
Chain Ecdsa Pem string - Trust chain in pem format for provided ECDSA certificate
- Trust
Chain Rsa Pem string - Trust chain in pem format for provided RSA certificate
- Wait
For Deployment bool - Whether to wait for certificate to be deployed
- enrollment
Id Integer - The unique identifier of the enrollment
- acknowledge
Change Management Boolean - Whether to acknowledge change management
- acknowledge
Post Verification Warnings Boolean - Whether to acknowledge post-verification warnings
- auto
Approve Warnings List<String> - List of post-verification warnings to be automatically acknowledged
- certificate
Ecdsa Pem String - ECDSA certificate in pem format to be uploaded
- certificate
Rsa Pem String - RSA certificate in pem format to be uploaded
- timeouts
Cps
Upload Certificate Timeouts - Enables to set timeout for processing
- trust
Chain Ecdsa Pem String - Trust chain in pem format for provided ECDSA certificate
- trust
Chain Rsa Pem String - Trust chain in pem format for provided RSA certificate
- wait
For Deployment Boolean - Whether to wait for certificate to be deployed
- enrollment
Id number - The unique identifier of the enrollment
- acknowledge
Change Management boolean - Whether to acknowledge change management
- acknowledge
Post Verification Warnings boolean - Whether to acknowledge post-verification warnings
- auto
Approve Warnings string[] - List of post-verification warnings to be automatically acknowledged
- certificate
Ecdsa Pem string - ECDSA certificate in pem format to be uploaded
- certificate
Rsa Pem string - RSA certificate in pem format to be uploaded
- timeouts
Cps
Upload Certificate Timeouts - Enables to set timeout for processing
- trust
Chain Ecdsa Pem string - Trust chain in pem format for provided ECDSA certificate
- trust
Chain Rsa Pem string - Trust chain in pem format for provided RSA certificate
- wait
For Deployment 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
Cps
Upload Certificate Timeouts Args - 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
- enrollment
Id Number - The unique identifier of the enrollment
- acknowledge
Change Management Boolean - Whether to acknowledge change management
- acknowledge
Post Verification Warnings Boolean - Whether to acknowledge post-verification warnings
- auto
Approve Warnings List<String> - List of post-verification warnings to be automatically acknowledged
- certificate
Ecdsa Pem String - ECDSA certificate in pem format to be uploaded
- certificate
Rsa Pem String - RSA certificate in pem format to be uploaded
- timeouts Property Map
- Enables to set timeout for processing
- trust
Chain Ecdsa Pem String - Trust chain in pem format for provided ECDSA certificate
- trust
Chain Rsa Pem String - Trust chain in pem format for provided RSA certificate
- wait
For Deployment 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.
- 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) -> 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)
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.
- Acknowledge
Change Management bool - Whether to acknowledge change management
- Acknowledge
Post Verification Warnings bool - Whether to acknowledge post-verification warnings
- Auto
Approve Warnings List<string> - List of post-verification warnings to be automatically acknowledged
- Certificate
Ecdsa Pem string - ECDSA certificate in pem format to be uploaded
- Certificate
Rsa Pem string - 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 Ecdsa Pem string - Trust chain in pem format for provided ECDSA certificate
- Trust
Chain Rsa Pem string - Trust chain in pem format for provided RSA certificate
- Wait
For Deployment bool - 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 []string - List of post-verification warnings to be automatically acknowledged
- Certificate
Ecdsa Pem string - ECDSA certificate in pem format to be uploaded
- Certificate
Rsa Pem string - 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 Ecdsa Pem string - Trust chain in pem format for provided ECDSA certificate
- Trust
Chain Rsa Pem string - Trust chain in pem format for provided RSA certificate
- Wait
For Deployment bool - Whether to wait for certificate to be deployed
- acknowledge
Change Management Boolean - Whether to acknowledge change management
- acknowledge
Post Verification Warnings Boolean - Whether to acknowledge post-verification warnings
- auto
Approve Warnings List<String> - List of post-verification warnings to be automatically acknowledged
- certificate
Ecdsa Pem String - ECDSA certificate in pem format to be uploaded
- certificate
Rsa Pem String - 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 Ecdsa Pem String - Trust chain in pem format for provided ECDSA certificate
- trust
Chain Rsa Pem String - Trust chain in pem format for provided RSA certificate
- wait
For Deployment Boolean - Whether to wait for certificate to be deployed
- acknowledge
Change Management boolean - Whether to acknowledge change management
- acknowledge
Post Verification Warnings boolean - Whether to acknowledge post-verification warnings
- auto
Approve Warnings string[] - List of post-verification warnings to be automatically acknowledged
- certificate
Ecdsa Pem string - ECDSA certificate in pem format to be uploaded
- certificate
Rsa Pem string - 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 Ecdsa Pem string - Trust chain in pem format for provided ECDSA certificate
- trust
Chain Rsa Pem string - Trust chain in pem format for provided RSA certificate
- wait
For Deployment 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
Cps
Upload Certificate Timeouts Args - 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
- acknowledge
Change Management Boolean - Whether to acknowledge change management
- acknowledge
Post Verification Warnings Boolean - Whether to acknowledge post-verification warnings
- auto
Approve Warnings List<String> - List of post-verification warnings to be automatically acknowledged
- certificate
Ecdsa Pem String - ECDSA certificate in pem format to be uploaded
- certificate
Rsa Pem String - 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 Ecdsa Pem String - Trust chain in pem format for provided ECDSA certificate
- trust
Chain Rsa Pem String - Trust chain in pem format for provided RSA certificate
- wait
For Deployment Boolean - Whether to wait for certificate to be deployed
Supporting Types
Cps Upload Certificate Timeouts, Cps Upload Certificate Timeouts Args
- 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.