CfnLoadBalancerProps

class aws_cdk.aws_elasticloadbalancing.CfnLoadBalancerProps(*, listeners, access_logging_policy=None, app_cookie_stickiness_policy=None, availability_zones=None, connection_draining_policy=None, connection_settings=None, cross_zone=None, health_check=None, instances=None, lb_cookie_stickiness_policy=None, load_balancer_name=None, policies=None, scheme=None, security_groups=None, subnets=None, tags=None)

Bases: object

Properties for defining a AWS::ElasticLoadBalancing::LoadBalancer.

Parameters
  • listeners (Union[IResolvable, List[Union[ListenersProperty, IResolvable]]]) – AWS::ElasticLoadBalancing::LoadBalancer.Listeners.

  • access_logging_policy (Union[IResolvable, AccessLoggingPolicyProperty, None]) – AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy.

  • app_cookie_stickiness_policy (Union[IResolvable, List[Union[IResolvable, AppCookieStickinessPolicyProperty]], None]) – AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy.

  • availability_zones (Optional[List[str]]) – AWS::ElasticLoadBalancing::LoadBalancer.AvailabilityZones.

  • connection_draining_policy (Union[IResolvable, ConnectionDrainingPolicyProperty, None]) – AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy.

  • connection_settings (Union[IResolvable, ConnectionSettingsProperty, None]) – AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings.

  • cross_zone (Union[bool, IResolvable, None]) – AWS::ElasticLoadBalancing::LoadBalancer.CrossZone.

  • health_check (Union[IResolvable, HealthCheckProperty, None]) – AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck.

  • instances (Optional[List[str]]) – AWS::ElasticLoadBalancing::LoadBalancer.Instances.

  • lb_cookie_stickiness_policy (Union[IResolvable, List[Union[IResolvable, LBCookieStickinessPolicyProperty]], None]) – AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy.

  • load_balancer_name (Optional[str]) – AWS::ElasticLoadBalancing::LoadBalancer.LoadBalancerName.

  • policies (Union[IResolvable, List[Union[IResolvable, PoliciesProperty]], None]) – AWS::ElasticLoadBalancing::LoadBalancer.Policies.

  • scheme (Optional[str]) – AWS::ElasticLoadBalancing::LoadBalancer.Scheme.

  • security_groups (Optional[List[str]]) – AWS::ElasticLoadBalancing::LoadBalancer.SecurityGroups.

  • subnets (Optional[List[str]]) – AWS::ElasticLoadBalancing::LoadBalancer.Subnets.

  • tags (Optional[List[CfnTag]]) – AWS::ElasticLoadBalancing::LoadBalancer.Tags.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html

Attributes

access_logging_policy

AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-accessloggingpolicy

Return type

Union[IResolvable, AccessLoggingPolicyProperty, None]

AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-appcookiestickinesspolicy

Return type

Union[IResolvable, List[Union[IResolvable, AppCookieStickinessPolicyProperty]], None]

availability_zones

AWS::ElasticLoadBalancing::LoadBalancer.AvailabilityZones.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-availabilityzones

Return type

Optional[List[str]]

connection_draining_policy

AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-connectiondrainingpolicy

Return type

Union[IResolvable, ConnectionDrainingPolicyProperty, None]

connection_settings

AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-connectionsettings

Return type

Union[IResolvable, ConnectionSettingsProperty, None]

cross_zone

AWS::ElasticLoadBalancing::LoadBalancer.CrossZone.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-crosszone

Return type

Union[bool, IResolvable, None]

health_check

AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-healthcheck

Return type

Union[IResolvable, HealthCheckProperty, None]

instances

AWS::ElasticLoadBalancing::LoadBalancer.Instances.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-instances

Return type

Optional[List[str]]

AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-lbcookiestickinesspolicy

Return type

Union[IResolvable, List[Union[IResolvable, LBCookieStickinessPolicyProperty]], None]

listeners

AWS::ElasticLoadBalancing::LoadBalancer.Listeners.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-listeners

Return type

Union[IResolvable, List[Union[ListenersProperty, IResolvable]]]

load_balancer_name

AWS::ElasticLoadBalancing::LoadBalancer.LoadBalancerName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-elbname

Return type

Optional[str]

policies

AWS::ElasticLoadBalancing::LoadBalancer.Policies.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-policies

Return type

Union[IResolvable, List[Union[IResolvable, PoliciesProperty]], None]

scheme

AWS::ElasticLoadBalancing::LoadBalancer.Scheme.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-scheme

Return type

Optional[str]

security_groups

AWS::ElasticLoadBalancing::LoadBalancer.SecurityGroups.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-securitygroups

Return type

Optional[List[str]]

subnets

AWS::ElasticLoadBalancing::LoadBalancer.Subnets.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-ec2-elb-subnets

Return type

Optional[List[str]]

tags

AWS::ElasticLoadBalancing::LoadBalancer.Tags.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb.html#cfn-elasticloadbalancing-loadbalancer-tags

Return type

Optional[List[CfnTag]]