CfnElasticLoadBalancerAttachmentProps

class aws_cdk.aws_opsworks.CfnElasticLoadBalancerAttachmentProps(*, elastic_load_balancer_name, layer_id)

Bases: object

Properties for defining a CfnElasticLoadBalancerAttachment.

Parameters:
  • elastic_load_balancer_name (str) – The Elastic Load Balancing instance name.

  • layer_id (str) – The AWS OpsWorks layer ID to which the Elastic Load Balancing load balancer is attached.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-elbattachment.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_opsworks as opsworks

cfn_elastic_load_balancer_attachment_props = opsworks.CfnElasticLoadBalancerAttachmentProps(
    elastic_load_balancer_name="elasticLoadBalancerName",
    layer_id="layerId"
)

Attributes

elastic_load_balancer_name

The Elastic Load Balancing instance name.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-elbattachment.html#cfn-opsworks-elbattachment-elbname

layer_id

The AWS OpsWorks layer ID to which the Elastic Load Balancing load balancer is attached.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-elbattachment.html#cfn-opsworks-elbattachment-layerid