SvcbRecordValue

class aws_cdk.aws_route53.SvcbRecordValue(*args: Any, **kwargs)

Bases: object

Represents an SVCB record value.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_route53 as route53

svcb_record_value = route53.SvcbRecordValue.alias("targetName")

Methods

to_string()

Returns the string representation of SVCB and HTTPS record value.

Return type:

str

Static Methods

classmethod alias(target_name)

An SVCB AliasMode record value.

Parameters:

target_name (str) – The domain name of the alternative endpoint.

Return type:

SvcbRecordValue

classmethod service(*, alpn=None, ipv4hint=None, ipv6hint=None, mandatory=None, no_default_alpn=None, port=None, priority=None, target_name=None)

An SVCB ServiceMode record value.

Parameters:
  • alpn (Optional[Sequence[Alpn]]) – Indicates the set of Application-Layer Protocol Negotiation (ALPN) protocol identifiers and associated transport protocols supported by this service endpoint. Default: - No ALPN protocol identifiers

  • ipv4hint (Optional[Sequence[str]]) – Conveys that clients may use to reach the service. Default: - No hints.

  • ipv6hint (Optional[Sequence[str]]) – Conveys that clients may use to reach the service. Default: - No hints.

  • mandatory (Optional[Sequence[str]]) – Indicates mandatory keys. Default: - No mandatory keys

  • no_default_alpn (Optional[bool]) – Indicates no default ALPN protocol identifiers. The alpn parameter must be supplied together. Default: false

  • port (Union[int, float, None]) – The alternative port number. Default: - Use the default port

  • priority (Union[int, float, None]) – The priority. Default: 1

  • target_name (Optional[str]) – The domain name of the alternative endpoint. Default: ‘.’ - The record name of the record itself

Return type:

SvcbRecordValue