ACMPCA.Certificate
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-customattribute.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-validity.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-qualifier.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-edipartyname.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-extendedkeyusage.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-othername.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-customextension.html
and key_usage = {
key_encipherment : bool option;
data_encipherment : bool option;
digital_signature : bool option;
key_cert_sign : bool option;
decipher_only : bool option;
key_agreement : bool option;
non_repudiation : bool option;
crl_sign : bool option;
encipher_only : bool option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-keyusage.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-policyqualifierinfo.html
and subject = {
organization : string option;
organizational_unit : string option;
locality : string option;
title : string option;
given_name : string option;
generation_qualifier : string option;
initials : string option;
custom_attributes : custom_attribute list option;
serial_number : string option;
state : string option;
country : string option;
surname : string option;
distinguished_name_qualifier : string option;
common_name : string option;
pseudonym : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html
and policy_information = {
cert_policy_id : string;
policy_qualifiers : policy_qualifier_info list option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-policyinformation.html
and general_name = {
uniform_resource_identifier : string option;
dns_name : string option;
edi_party_name : edi_party_name option;
registered_id : string option;
rfc822_name : string option;
other_name : other_name option;
ip_address : string option;
directory_name : subject option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-generalname.html
and extensions = {
custom_extensions : custom_extension list option;
certificate_policies : policy_information list option;
key_usage : key_usage option;
subject_alternative_names : general_name list option;
extended_key_usage : extended_key_usage list option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-extensions.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-apipassthrough.html
type properties = {
template_arn : string option;
validity : validity;
certificate_signing_request : string;
signing_algorithm : string;
api_passthrough : api_passthrough option;
validity_not_before : validity option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html;
val make_properties :
?template_arn:string ->
certificate_authority_arn:string ->
validity:validity ->
certificate_signing_request:string ->
signing_algorithm:string ->
?api_passthrough:api_passthrough ->
?validity_not_before:validity ->
unit ->
properties
val make_custom_attribute :
value:string ->
object_identifier:string ->
unit ->
custom_attribute
val make_validity : type_:string -> value:float -> unit -> validity
val make_qualifier : cps_uri:string -> unit -> qualifier
val make_edi_party_name :
party_name:string ->
name_assigner:string ->
unit ->
edi_party_name
val make_extended_key_usage :
?extended_key_usage_type:string ->
?extended_key_usage_object_identifier:string ->
unit ->
extended_key_usage
val make_other_name : type_id:string -> value:string -> unit -> other_name
val make_custom_extension :
value:string ->
?critical:bool ->
object_identifier:string ->
unit ->
custom_extension
val make_key_usage :
?key_encipherment:bool ->
?data_encipherment:bool ->
?digital_signature:bool ->
?key_cert_sign:bool ->
?decipher_only:bool ->
?key_agreement:bool ->
?non_repudiation:bool ->
?crl_sign:bool ->
?encipher_only:bool ->
unit ->
key_usage
val make_policy_qualifier_info :
qualifier:qualifier ->
policy_qualifier_id:string ->
unit ->
policy_qualifier_info
val make_subject :
?organization:string ->
?organizational_unit:string ->
?locality:string ->
?title:string ->
?given_name:string ->
?generation_qualifier:string ->
?initials:string ->
?custom_attributes:custom_attribute list ->
?serial_number:string ->
?state:string ->
?country:string ->
?surname:string ->
?distinguished_name_qualifier:string ->
?common_name:string ->
?pseudonym:string ->
unit ->
subject
val make_policy_information :
cert_policy_id:string ->
?policy_qualifiers:policy_qualifier_info list ->
unit ->
policy_information
val make_general_name :
?uniform_resource_identifier:string ->
?dns_name:string ->
?edi_party_name:edi_party_name ->
?registered_id:string ->
?rfc822_name:string ->
?other_name:other_name ->
?ip_address:string ->
?directory_name:subject ->
unit ->
general_name
val make_extensions :
?custom_extensions:custom_extension list ->
?certificate_policies:policy_information list ->
?key_usage:key_usage ->
?subject_alternative_names:general_name list ->
?extended_key_usage:extended_key_usage list ->
unit ->
extensions
val make_api_passthrough :
?extensions:extensions ->
?subject:subject ->
unit ->
api_passthrough
val yojson_of_custom_attribute : custom_attribute -> Yojson.Safe.t
val yojson_of_validity :
validity ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_qualifier : qualifier -> Yojson.Safe.t
val yojson_of_edi_party_name : edi_party_name -> Yojson.Safe.t
val yojson_of_extended_key_usage : extended_key_usage -> Yojson.Safe.t
val yojson_of_other_name : other_name -> Yojson.Safe.t
val yojson_of_custom_extension : custom_extension -> Yojson.Safe.t
val yojson_of_key_usage : key_usage -> Yojson.Safe.t
val yojson_of_policy_qualifier_info : policy_qualifier_info -> Yojson.Safe.t
val yojson_of_subject : subject -> Yojson.Safe.t
val yojson_of_policy_information : policy_information -> Yojson.Safe.t
val yojson_of_general_name : general_name -> Yojson.Safe.t
val yojson_of_extensions : extensions -> Yojson.Safe.t
val yojson_of_api_passthrough :
api_passthrough ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes