Class: AWSCDK::Route53::SvcbRecordValue
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::Route53::SvcbRecordValue
- Defined in:
- route53/svcb_record_value.rb
Overview
Represents an SVCB record value.
Class Method Summary collapse
-
._alias(target_name) ⇒ AWSCDK::Route53::SvcbRecordValue
An SVCB AliasMode record value.
- .jsii_overridable_methods ⇒ Object
-
.service(props = nil) ⇒ AWSCDK::Route53::SvcbRecordValue
An SVCB ServiceMode record value.
Instance Method Summary collapse
-
#initialize(*args) ⇒ SvcbRecordValue
constructor
A new instance of SvcbRecordValue.
-
#to_string ⇒ String
Returns the string representation of SVCB and HTTPS record value.
Constructor Details
#initialize(*args) ⇒ SvcbRecordValue
Returns a new instance of SvcbRecordValue.
8 9 10 |
# File 'route53/svcb_record_value.rb', line 8 def initialize(*args) raise NoMethodError, "aws-cdk-lib.aws_route53.SvcbRecordValue does not have a visible constructor; use the provided factory methods" end |
Class Method Details
._alias(target_name) ⇒ AWSCDK::Route53::SvcbRecordValue
An SVCB AliasMode record value.
22 23 24 25 |
# File 'route53/svcb_record_value.rb', line 22 def self._alias(target_name) Jsii::Type.check_type(target_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "targetName") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_route53.SvcbRecordValue", "alias", [target_name]) end |
.jsii_overridable_methods ⇒ Object
12 13 14 15 16 |
# File 'route53/svcb_record_value.rb', line 12 def self.jsii_overridable_methods { :to_string => { kind: :method, name: "toString", is_optional: false }, } end |
.service(props = nil) ⇒ AWSCDK::Route53::SvcbRecordValue
An SVCB ServiceMode record value.
31 32 33 34 35 |
# File 'route53/svcb_record_value.rb', line 31 def self.service(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::Route53::SvcbRecordServiceModeProps.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfcm91dGU1My5TdmNiUmVjb3JkU2VydmljZU1vZGVQcm9wcyJ9")), "props") unless props.nil? Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_route53.SvcbRecordValue", "service", [props]) end |
Instance Method Details
#to_string ⇒ String
Returns the string representation of SVCB and HTTPS record value.
40 41 42 |
# File 'route53/svcb_record_value.rb', line 40 def to_string() jsii_call_method("toString", []) end |