import * as core from "@terrascript/core"; export interface CertificateArgs extends core.ResourceArgs { /** * (Required) The certificate identifier. */ certificateId: string | core.StringOut; /** * (Optional) The contents of the .pem X.509 certificate file for the certificate. Either `certificate_ * pem` or `certificate_wallet` must be set. */ certificatePem?: string | core.StringOut; /** * (Optional) The contents of the Oracle Wallet certificate for use with SSL, provided as a base64-enco * ded String. Either `certificate_pem` or `certificate_wallet` must be set. */ certificateWallet?: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class Certificate extends core.Resource { /** * The Amazon Resource Name (ARN) for the certificate. */ @core.attr(String, { computed: true }) public certificateArn!: string | core.StringOut; /** * (Required) The certificate identifier. */ @core.attr(String) public certificateId!: string | core.StringOut; /** * (Optional) The contents of the .pem X.509 certificate file for the certificate. Either `certificate_ * pem` or `certificate_wallet` must be set. */ @core.attr(String) public certificatePem?: string | core.StringOut; /** * (Optional) The contents of the Oracle Wallet certificate for use with SSL, provided as a base64-enco * ded String. Either `certificate_pem` or `certificate_wallet` must be set. */ @core.attr(String) public certificateWallet?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: CertificateArgs) { super(name, "aws_dms_certificate", args); } public override getNamespace(): string { return "aws_dms"; } }