Module: AWSCDK::ElasticLoadBalancingv2::ITargetGroup
- Includes:
- Interfaces::AWSElasticloadbalancingv2::ITargetGroupRef, Constructs::IConstruct
- Included in:
- IApplicationTargetGroup, INetworkTargetGroup, TargetGroupBase
- Defined in:
- elastic_load_balancingv2/i_target_group.rb
Overview
A target group.
Class Method Summary collapse
Instance Method Summary collapse
-
#env ⇒ AWSCDK::Interfaces::ResourceEnvironment
The environment this resource belongs to.
-
#load_balancer_arns ⇒ String
A token representing a list of ARNs of the load balancers that route traffic to this target group.
-
#load_balancer_attached ⇒ Constructs::IDependable
Return an object to depend on the listeners added to this target group.
-
#node ⇒ Constructs::Node
The tree node.
-
#target_group_arn ⇒ String
ARN of the target group.
-
#target_group_name ⇒ String
The name of the target group.
-
#target_group_ref ⇒ AWSCDK::Interfaces::AWSElasticloadbalancingv2::TargetGroupReference
A reference to a TargetGroup resource.
-
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Class Method Details
.jsii_overridable_methods ⇒ Object
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'elastic_load_balancingv2/i_target_group.rb', line 80 def self.jsii_overridable_methods { :node => { kind: :property, name: "node", is_optional: false }, :env => { kind: :property, name: "env", is_optional: false }, :target_group_ref => { kind: :property, name: "targetGroupRef", is_optional: false }, :load_balancer_arns => { kind: :property, name: "loadBalancerArns", is_optional: false }, :load_balancer_attached => { kind: :property, name: "loadBalancerAttached", is_optional: false }, :target_group_arn => { kind: :property, name: "targetGroupArn", is_optional: false }, :target_group_name => { kind: :property, name: "targetGroupName", is_optional: false }, :with => { kind: :method, name: "with", is_optional: false }, } end |
Instance Method Details
#env ⇒ AWSCDK::Interfaces::ResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed in a Stack (those created by
creating new class instances like new Role(), new Bucket(), etc.), this
is always the same as the environment of the stack they belong to.
For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be
different than the stack they were imported into.
27 28 29 |
# File 'elastic_load_balancingv2/i_target_group.rb', line 27 def env() jsii_get_property("env") end |
#load_balancer_arns ⇒ String
A token representing a list of ARNs of the load balancers that route traffic to this target group.
41 42 43 |
# File 'elastic_load_balancingv2/i_target_group.rb', line 41 def load_balancer_arns() jsii_get_property("loadBalancerArns") end |
#load_balancer_attached ⇒ Constructs::IDependable
Return an object to depend on the listeners added to this target group.
48 49 50 |
# File 'elastic_load_balancingv2/i_target_group.rb', line 48 def load_balancer_attached() jsii_get_property("loadBalancerAttached") end |
#node ⇒ Constructs::Node
The tree node.
12 13 14 |
# File 'elastic_load_balancingv2/i_target_group.rb', line 12 def node() jsii_get_property("node") end |
#target_group_arn ⇒ String
ARN of the target group.
55 56 57 |
# File 'elastic_load_balancingv2/i_target_group.rb', line 55 def target_group_arn() jsii_get_property("targetGroupArn") end |
#target_group_name ⇒ String
The name of the target group.
62 63 64 |
# File 'elastic_load_balancingv2/i_target_group.rb', line 62 def target_group_name() jsii_get_property("targetGroupName") end |
#target_group_ref ⇒ AWSCDK::Interfaces::AWSElasticloadbalancingv2::TargetGroupReference
A reference to a TargetGroup resource.
34 35 36 |
# File 'elastic_load_balancingv2/i_target_group.rb', line 34 def target_group_ref() jsii_get_property("targetGroupRef") end |
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.
73 74 75 76 77 78 |
# File 'elastic_load_balancingv2/i_target_group.rb', line 73 def with(*mixins) mixins.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLklNaXhpbiJ9")), "mixins[#{index}]") end jsii_call_method("with", [*mixins]) end |