interface CfnElasticLoadBalancerAttachmentProps
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.OpsWorks.CfnElasticLoadBalancerAttachmentProps | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsopsworks#CfnElasticLoadBalancerAttachmentProps | 
  Java | software.amazon.awscdk.services.opsworks.CfnElasticLoadBalancerAttachmentProps | 
  Python | aws_cdk.aws_opsworks.CfnElasticLoadBalancerAttachmentProps | 
  TypeScript  | aws-cdk-lib » aws_opsworks » CfnElasticLoadBalancerAttachmentProps | 
Properties for defining a CfnElasticLoadBalancerAttachment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opsworks as opsworks } from 'aws-cdk-lib';
const cfnElasticLoadBalancerAttachmentProps: opsworks.CfnElasticLoadBalancerAttachmentProps = {
  elasticLoadBalancerName: 'elasticLoadBalancerName',
  layerId: 'layerId',
};
Properties
| Name | Type | Description | 
|---|---|---|
| elastic | string | The Elastic Load Balancing instance name. | 
| layer | string | The OpsWorks layer ID to which the Elastic Load Balancing load balancer is attached. | 
elasticLoadBalancerName
Type:
string
The Elastic Load Balancing instance name.
layerId
Type:
string
The OpsWorks layer ID to which the Elastic Load Balancing load balancer is attached.

 .NET
 Go
 Java
 Python
 TypeScript