Class: AWSCDK::Route53RecoveryReadiness::CfnResourceSet::NLBResourceProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn: nil) ⇒ NLBResourceProperty

Returns a new instance of NLBResourceProperty.

Parameters:

  • arn (String, nil) (defaults to: nil)

    The Network Load Balancer resource Amazon Resource Name (ARN).



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

#arnString? (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_propertiesObject



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_jsiiObject



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