import * as core from "@terrascript/core"; export interface DsCertificateArgs { /** * (Optional) Certificate identifier. For example, `rds-ca-2019`. */ id?: string | core.StringOut; /** * (Optional) When enabled, returns the certificate with the latest `ValidTill`. */ latestValidTill?: boolean | core.BooleanOut; } export class DsCertificate extends core.Data { /** * Amazon Resource Name (ARN) of the certificate. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Type of certificate. For example, `CA`. */ @core.attr(String, { computed: true }) public certificateType!: string | core.StringOut; /** * Boolean whether there is an override for the default certificate identifier. */ @core.attr(Boolean, { computed: true }) public customerOverride!: boolean | core.BooleanOut; /** * If there is an override for the default certificate identifier, when the override expires. */ @core.attr(String, { computed: true }) public customerOverrideValidTill!: string | core.StringOut; /** * (Optional) Certificate identifier. For example, `rds-ca-2019`. */ @core.attr(String, { computed: true }) public id?: string | core.StringOut; /** * (Optional) When enabled, returns the certificate with the latest `ValidTill`. */ @core.attr(Boolean) public latestValidTill?: boolean | core.BooleanOut; /** * Thumbprint of the certificate. */ @core.attr(String, { computed: true }) public thumbprint!: string | core.StringOut; /** * [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of certificate starting validity d * ate. */ @core.attr(String, { computed: true }) public validFrom!: string | core.StringOut; /** * [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of certificate ending validity dat * e. */ @core.attr(String, { computed: true }) public validTill!: string | core.StringOut; constructor(name: string, args?: DsCertificateArgs) { super(name, "aws_rds_certificate", args); } public override getNamespace(): string { return "aws_rds"; } }