Class: AWSCDK::Route53RecoveryReadiness::CfnResourceSet::NLBResourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Route53RecoveryReadiness::CfnResourceSet::NLBResourceProperty
- Defined in:
- route53_recovery_readiness/cfn_resource_set.rb
Overview
The Network Load Balancer resource that a DNS target resource points to.
Instance Attribute Summary collapse
-
#arn ⇒ String?
readonly
The Network Load Balancer resource Amazon Resource Name (ARN).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil) ⇒ NLBResourceProperty
constructor
A new instance of NLBResourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil) ⇒ NLBResourceProperty
Returns a new instance of NLBResourceProperty.
639 640 641 642 |
# File 'route53_recovery_readiness/cfn_resource_set.rb', line 639 def initialize(arn: nil) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil? end |
Instance Attribute Details
#arn ⇒ String? (readonly)
The Network Load Balancer resource Amazon Resource Name (ARN).
648 649 650 |
# File 'route53_recovery_readiness/cfn_resource_set.rb', line 648 def arn @arn end |
Class Method Details
.jsii_properties ⇒ Object
650 651 652 653 654 |
# File 'route53_recovery_readiness/cfn_resource_set.rb', line 650 def self.jsii_properties { :arn => "arn", } end |
Instance Method Details
#to_jsii ⇒ Object
656 657 658 659 660 661 662 |
# File 'route53_recovery_readiness/cfn_resource_set.rb', line 656 def to_jsii result = {} result.merge!({ "arn" => @arn, }) result.compact end |