Struct aws_sdk_lightsail::model::Certificate [−][src]
#[non_exhaustive]pub struct Certificate {Show 21 fields
pub arn: Option<String>,
pub name: Option<String>,
pub domain_name: Option<String>,
pub status: Option<CertificateStatus>,
pub serial_number: Option<String>,
pub subject_alternative_names: Option<Vec<String>>,
pub domain_validation_records: Option<Vec<DomainValidationRecord>>,
pub request_failure_reason: Option<String>,
pub in_use_resource_count: i32,
pub key_algorithm: Option<String>,
pub created_at: Option<DateTime>,
pub issued_at: Option<DateTime>,
pub issuer_ca: Option<String>,
pub not_before: Option<DateTime>,
pub not_after: Option<DateTime>,
pub eligible_to_renew: Option<String>,
pub renewal_summary: Option<RenewalSummary>,
pub revoked_at: Option<DateTime>,
pub revocation_reason: Option<String>,
pub tags: Option<Vec<Tag>>,
pub support_code: Option<String>,
}
Expand description
Describes the full details of an Amazon Lightsail SSL/TLS certificate.
To get a summary of a certificate, use the GetCertificates
action and ommit
includeCertificateDetails
from your request. The response will include only
the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
The Amazon Resource Name (ARN) of the certificate.
name: Option<String>
The name of the certificate (e.g., my-certificate
).
domain_name: Option<String>
The domain name of the certificate.
status: Option<CertificateStatus>
The validation status of the certificate.
serial_number: Option<String>
The serial number of the certificate.
subject_alternative_names: Option<Vec<String>>
An array of strings that specify the alternate domains (e.g., example2.com
)
and subdomains (e.g., blog.example.com
) of the certificate.
domain_validation_records: Option<Vec<DomainValidationRecord>>
An array of objects that describe the domain validation records of the certificate.
request_failure_reason: Option<String>
The validation failure reason, if any, of the certificate.
The following failure reasons are possible:
-
NO_AVAILABLE_CONTACTS
- This failure applies to email validation, which is not available for Lightsail certificates. -
ADDITIONAL_VERIFICATION_REQUIRED
- Lightsail requires additional information to process this certificate request. This can happen as a fraud-protection measure, such as when the domain ranks within the Alexa top 1000 websites. To provide the required information, use the AWS Support Center to contact AWS Support.You cannot request a certificate for Amazon-owned domain names such as those ending in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.
-
DOMAIN_NOT_ALLOWED
- One or more of the domain names in the certificate request was reported as an unsafe domain by VirusTotal. To correct the problem, search for your domain name on the VirusTotal website. If your domain is reported as suspicious, see Google Help for Hacked Websites to learn what you can do.If you believe that the result is a false positive, notify the organization that is reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and cannot remove your domain from a block list itself. After you correct the problem and the VirusTotal registry has been updated, request a new certificate.
If you see this error and your domain is not included in the VirusTotal list, visit the AWS Support Center and create a case.
-
INVALID_PUBLIC_DOMAIN
- One or more of the domain names in the certificate request is not valid. Typically, this is because a domain name in the request is not a valid top-level domain. Try to request a certificate again, correcting any spelling errors or typos that were in the failed request, and ensure that all domain names in the request are for valid top-level domains. For example, you cannot request a certificate forexample.invalidpublicdomain
becauseinvalidpublicdomain
is not a valid top-level domain. -
OTHER
- Typically, this failure occurs when there is a typographical error in one or more of the domain names in the certificate request. Try to request a certificate again, correcting any spelling errors or typos that were in the failed request.
in_use_resource_count: i32
The number of Lightsail resources that the certificate is attached to.
key_algorithm: Option<String>
The algorithm used to generate the key pair (the public and private key) of the certificate.
created_at: Option<DateTime>
The timestamp when the certificate was created.
issued_at: Option<DateTime>
The timestamp when the certificate was issued.
issuer_ca: Option<String>
The certificate authority that issued the certificate.
not_before: Option<DateTime>
The timestamp when the certificate is first valid.
not_after: Option<DateTime>
The timestamp when the certificate expires.
eligible_to_renew: Option<String>
The renewal eligibility of the certificate.
renewal_summary: Option<RenewalSummary>
An object that describes the status of the certificate renewal managed by Lightsail.
revoked_at: Option<DateTime>
The timestamp when the certificate was revoked. This value is present only when the
certificate status is REVOKED
.
revocation_reason: Option<String>
The reason the certificate was revoked. This value is present only when the certificate
status is REVOKED
.
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
support_code: Option<String>
The support code. Include this code in your email to support when you have questions about your Lightsail certificate. This code enables our support team to look up your Lightsail information more easily.
Implementations
The domain name of the certificate.
The validation status of the certificate.
The serial number of the certificate.
An array of strings that specify the alternate domains (e.g., example2.com
)
and subdomains (e.g., blog.example.com
) of the certificate.
An array of objects that describe the domain validation records of the certificate.
The validation failure reason, if any, of the certificate.
The following failure reasons are possible:
-
NO_AVAILABLE_CONTACTS
- This failure applies to email validation, which is not available for Lightsail certificates. -
ADDITIONAL_VERIFICATION_REQUIRED
- Lightsail requires additional information to process this certificate request. This can happen as a fraud-protection measure, such as when the domain ranks within the Alexa top 1000 websites. To provide the required information, use the AWS Support Center to contact AWS Support.You cannot request a certificate for Amazon-owned domain names such as those ending in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.
-
DOMAIN_NOT_ALLOWED
- One or more of the domain names in the certificate request was reported as an unsafe domain by VirusTotal. To correct the problem, search for your domain name on the VirusTotal website. If your domain is reported as suspicious, see Google Help for Hacked Websites to learn what you can do.If you believe that the result is a false positive, notify the organization that is reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and cannot remove your domain from a block list itself. After you correct the problem and the VirusTotal registry has been updated, request a new certificate.
If you see this error and your domain is not included in the VirusTotal list, visit the AWS Support Center and create a case.
-
INVALID_PUBLIC_DOMAIN
- One or more of the domain names in the certificate request is not valid. Typically, this is because a domain name in the request is not a valid top-level domain. Try to request a certificate again, correcting any spelling errors or typos that were in the failed request, and ensure that all domain names in the request are for valid top-level domains. For example, you cannot request a certificate forexample.invalidpublicdomain
becauseinvalidpublicdomain
is not a valid top-level domain. -
OTHER
- Typically, this failure occurs when there is a typographical error in one or more of the domain names in the certificate request. Try to request a certificate again, correcting any spelling errors or typos that were in the failed request.
The number of Lightsail resources that the certificate is attached to.
The algorithm used to generate the key pair (the public and private key) of the certificate.
The timestamp when the certificate was created.
The timestamp when the certificate is first valid.
The renewal eligibility of the certificate.
An object that describes the status of the certificate renewal managed by Lightsail.
The timestamp when the certificate was revoked. This value is present only when the
certificate status is REVOKED
.
The reason the certificate was revoked. This value is present only when the certificate
status is REVOKED
.
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
The support code. Include this code in your email to support when you have questions about your Lightsail certificate. This code enables our support team to look up your Lightsail information more easily.
Creates a new builder-style object to manufacture Certificate
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Certificate
impl Send for Certificate
impl Sync for Certificate
impl Unpin for Certificate
impl UnwindSafe for Certificate
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more