pub struct AutomatedDnsCreationSpec {
pub dns_suffix: Option<String>,
pub hostname: Option<String>,
pub ttl: Option<Duration>,
}Expand description
The specification for automatically creating a DNS record.
This type is not used in any activity, and only used as part of another schema.
Fields§
§dns_suffix: Option<String>Required. The DNS suffix to use for the DNS record. Must end with a dot. This should be a valid DNS domain name as per RFC 1035. Each label (between dots) can contain letters, digits, and hyphens, and must not start or end with a hyphen. Example: “my-service.example.com.”, “internal.”
hostname: Option<String>Required. The hostname (the first label of the FQDN) to use for the DNS record. This should be a valid DNS label as per RFC 1035. Generally, this means the hostname can contain letters, digits, and hyphens, and must not start or end with a hyphen. Example: “my-instance”, “db-1”
ttl: Option<Duration>Optional. The Time To Live for the DNS record, in seconds. If not provided, a default of 30 seconds will be used.
Trait Implementations§
Source§impl Clone for AutomatedDnsCreationSpec
impl Clone for AutomatedDnsCreationSpec
Source§fn clone(&self) -> AutomatedDnsCreationSpec
fn clone(&self) -> AutomatedDnsCreationSpec
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more