Certificate class
Describes the full details of an Amazon Lightsail SSL/TLS certificate.
Constructors
-
Certificate({String? arn, DateTime? createdAt, String? domainName, List<
DomainValidationRecord> ? domainValidationRecords, String? eligibleToRenew, int? inUseResourceCount, DateTime? issuedAt, String? issuerCA, String? keyAlgorithm, String? name, DateTime? notAfter, DateTime? notBefore, RenewalSummary? renewalSummary, String? requestFailureReason, String? revocationReason, DateTime? revokedAt, String? serialNumber, CertificateStatus? status, List<String> ? subjectAlternativeNames, String? supportCode, List<Tag> ? tags}) -
Certificate.fromJson(Map<
String, dynamic> json) -
factory
Properties
- arn → String?
-
The Amazon Resource Name (ARN) of the certificate.
final
- createdAt → DateTime?
-
The timestamp when the certificate was created.
final
- domainName → String?
-
The domain name of the certificate.
final
-
domainValidationRecords
→ List<
DomainValidationRecord> ? -
An array of objects that describe the domain validation records of the
certificate.
final
- eligibleToRenew → String?
-
The renewal eligibility of the certificate.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inUseResourceCount → int?
-
The number of Lightsail resources that the certificate is attached to.
final
- issuedAt → DateTime?
-
The timestamp when the certificate was issued.
final
- issuerCA → String?
-
The certificate authority that issued the certificate.
final
- keyAlgorithm → String?
-
The algorithm used to generate the key pair (the public and private key) of
the certificate.
final
- name → String?
-
The name of the certificate (e.g.,
my-certificate
).final - notAfter → DateTime?
-
The timestamp when the certificate expires.
final
- notBefore → DateTime?
-
The timestamp when the certificate is first valid.
final
- renewalSummary → RenewalSummary?
-
An object that describes the status of the certificate renewal managed by
Lightsail.
final
- requestFailureReason → String?
-
The validation failure reason, if any, of the certificate.
final
- revocationReason → String?
-
The reason the certificate was revoked. This value is present only when the
certificate status is
REVOKED
.final - revokedAt → DateTime?
-
The timestamp when the certificate was revoked. This value is present only
when the certificate status is
REVOKED
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serialNumber → String?
-
The serial number of the certificate.
final
- status → CertificateStatus?
-
The validation status of the certificate.
final
-
subjectAlternativeNames
→ List<
String> ? -
An array of strings that specify the alternate domains (e.g.,
example2.com
) and subdomains (e.g.,blog.example.com
) of the certificate.final - supportCode → 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.
final
-
The tag keys and optional values for the resource. For more information
about tags in Lightsail, see the Lightsail
Dev Guide.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited