Skip to content
v2.275.0

CfnElasticLoadBalancerAttachmentProps Struct ​

Properties for defining a CfnElasticLoadBalancerAttachment.

Example ​

ts
// 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 ​

elasticLoadBalancerNamestringelastic_load_balancer_namestrelasticLoadBalancerNameStringElasticLoadBalancerNamestringElasticLoadBalancerName*stringrequired#
The Elastic Load Balancing instance name.
layerIdstringlayer_idstrlayerIdStringLayerIdstringLayerId*stringrequired#
The OpsWorks layer ID to which the Elastic Load Balancing load balancer is attached.