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.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import 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.

See:

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

layer_id

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

See:

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