HealthMonitorProps
- class aws_rfdk.HealthMonitorProps(*, vpc, deletion_protection=None, elb_account_limits=None, encryption_key=None, security_group=None, vpc_subnets=None)
Bases:
object
Properties for the Health Monitor.
- Parameters:
vpc (
IVpc
) – VPC to launch the Health Monitor in.deletion_protection (
Optional
[bool
]) – Indicates whether deletion protection is enabled for the LoadBalancer. Default: true Note: This value is true by default which means that the deletion protection is enabled for the load balancer. Hence, user needs to disable it using AWS Console or CLI before deleting the stack.elb_account_limits (
Optional
[Sequence
[Union
[Limit
,Dict
[str
,Any
]]]]) – Describes the current Elastic Load Balancing resource limits for your AWS account. This object should be the output of ‘describeAccountLimits’ API. Default: default account limits for ALB is usedencryption_key (
Optional
[IKey
]) – A KMS Key, either managed by this CDK app, or imported. Default: A new Key will be created and used.security_group (
Optional
[ISecurityGroup
]) – Security group for the health monitor. This is security group is associated with the health monitor’s load balancer. Default: : A security group is createdvpc_subnets (
Union
[SubnetSelection
,Dict
[str
,Any
],None
]) – Any load balancers that get created by calls to registerFleet() will be created in these subnets. Default: : The VPC default strategy
Attributes
- deletion_protection
Indicates whether deletion protection is enabled for the LoadBalancer.
- Default:
true
Note: This value is true by default which means that the deletion protection is enabled for the load balancer. Hence, user needs to disable it using AWS Console or CLI before deleting the stack.
- elb_account_limits
Describes the current Elastic Load Balancing resource limits for your AWS account.
This object should be the output of ‘describeAccountLimits’ API.
- Default:
default account limits for ALB is used
- See:
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ELBv2.html#describeAccountLimits-property
- encryption_key
A KMS Key, either managed by this CDK app, or imported.
- Default:
A new Key will be created and used.
- security_group
Security group for the health monitor.
This is security group is associated with the health monitor’s load balancer.
- Default:
: A security group is created
- vpc
VPC to launch the Health Monitor in.
- vpc_subnets
Any load balancers that get created by calls to registerFleet() will be created in these subnets.
- Default:
: The VPC default strategy