Class: AWSCDK::CXAPI::LoadBalancerContextResponse Deprecated
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CXAPI::LoadBalancerContextResponse
- Defined in:
- cxapi/load_balancer_context_response.rb
Overview
Deprecated.
The definition of this type has moved to @aws-cdk/cloud-assembly-api.
Properties of a discovered load balancer.
Instance Attribute Summary collapse
-
#ip_address_type ⇒ AWSCDK::CXAPI::LoadBalancerIPAddressType
readonly
Type of IP address.
-
#load_balancer_arn ⇒ String
readonly
The ARN of the load balancer.
-
#load_balancer_canonical_hosted_zone_id ⇒ String
readonly
The hosted zone ID of the load balancer's name.
-
#load_balancer_dns_name ⇒ String
readonly
Load balancer's DNS name.
-
#security_group_ids ⇒ Array<String>
readonly
Load balancer's security groups.
-
#vpc_id ⇒ String
readonly
Load balancer's VPC.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ip_address_type:, load_balancer_arn:, load_balancer_canonical_hosted_zone_id:, load_balancer_dns_name:, security_group_ids:, vpc_id:) ⇒ LoadBalancerContextResponse
constructor
A new instance of LoadBalancerContextResponse.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ip_address_type:, load_balancer_arn:, load_balancer_canonical_hosted_zone_id:, load_balancer_dns_name:, security_group_ids:, vpc_id:) ⇒ LoadBalancerContextResponse
Returns a new instance of LoadBalancerContextResponse.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'cxapi/load_balancer_context_response.rb', line 15 def initialize(ip_address_type:, load_balancer_arn:, load_balancer_canonical_hosted_zone_id:, load_balancer_dns_name:, security_group_ids:, vpc_id:) @ip_address_type = ip_address_type Jsii::Type.check_type(@ip_address_type, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5jeF9hcGkuTG9hZEJhbGFuY2VySXBBZGRyZXNzVHlwZSJ9")), "ipAddressType") @load_balancer_arn = load_balancer_arn Jsii::Type.check_type(@load_balancer_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "loadBalancerArn") @load_balancer_canonical_hosted_zone_id = load_balancer_canonical_hosted_zone_id Jsii::Type.check_type(@load_balancer_canonical_hosted_zone_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "loadBalancerCanonicalHostedZoneId") @load_balancer_dns_name = load_balancer_dns_name Jsii::Type.check_type(@load_balancer_dns_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "loadBalancerDnsName") @security_group_ids = security_group_ids Jsii::Type.check_type(@security_group_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "securityGroupIds") @vpc_id = vpc_id Jsii::Type.check_type(@vpc_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcId") end |
Instance Attribute Details
#ip_address_type ⇒ AWSCDK::CXAPI::LoadBalancerIPAddressType (readonly)
Type of IP address.
33 34 35 |
# File 'cxapi/load_balancer_context_response.rb', line 33 def ip_address_type @ip_address_type end |
#load_balancer_arn ⇒ String (readonly)
The ARN of the load balancer.
37 38 39 |
# File 'cxapi/load_balancer_context_response.rb', line 37 def load_balancer_arn @load_balancer_arn end |
#load_balancer_canonical_hosted_zone_id ⇒ String (readonly)
The hosted zone ID of the load balancer's name.
41 42 43 |
# File 'cxapi/load_balancer_context_response.rb', line 41 def load_balancer_canonical_hosted_zone_id @load_balancer_canonical_hosted_zone_id end |
#load_balancer_dns_name ⇒ String (readonly)
Load balancer's DNS name.
45 46 47 |
# File 'cxapi/load_balancer_context_response.rb', line 45 def load_balancer_dns_name @load_balancer_dns_name end |
#security_group_ids ⇒ Array<String> (readonly)
Load balancer's security groups.
49 50 51 |
# File 'cxapi/load_balancer_context_response.rb', line 49 def security_group_ids @security_group_ids end |
#vpc_id ⇒ String (readonly)
Load balancer's VPC.
53 54 55 |
# File 'cxapi/load_balancer_context_response.rb', line 53 def vpc_id @vpc_id end |
Class Method Details
.jsii_properties ⇒ Object
55 56 57 58 59 60 61 62 63 64 |
# File 'cxapi/load_balancer_context_response.rb', line 55 def self.jsii_properties { :ip_address_type => "ipAddressType", :load_balancer_arn => "loadBalancerArn", :load_balancer_canonical_hosted_zone_id => "loadBalancerCanonicalHostedZoneId", :load_balancer_dns_name => "loadBalancerDnsName", :security_group_ids => "securityGroupIds", :vpc_id => "vpcId", } end |
Instance Method Details
#to_jsii ⇒ Object
66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'cxapi/load_balancer_context_response.rb', line 66 def to_jsii result = {} result.merge!({ "ipAddressType" => @ip_address_type, "loadBalancerArn" => @load_balancer_arn, "loadBalancerCanonicalHostedZoneId" => @load_balancer_canonical_hosted_zone_id, "loadBalancerDnsName" => @load_balancer_dns_name, "securityGroupIds" => @security_group_ids, "vpcId" => @vpc_id, }) result.compact end |