@aws-cdk_cloud-assembly-schema.LoadBalancerListenerContextQuery

interface LoadBalancerListenerContextQuery

LanguageType name
.NETAmazon.CDK.CloudAssembly.Schema.LoadBalancerListenerContextQuery
Javasoftware.amazon.awscdk.cloudassembly.schema.LoadBalancerListenerContextQuery
Pythonaws_cdk.cloud_assembly_schema.LoadBalancerListenerContextQuery
TypeScript (source)@aws-cdk/cloud-assembly-schema » LoadBalancerListenerContextQuery

Query input for looking up a load balancer listener.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';
const loadBalancerListenerContextQuery: cloud_assembly_schema.LoadBalancerListenerContextQuery = {
  account: 'account',
  loadBalancerType: cloud_assembly_schema.LoadBalancerType.NETWORK,
  region: 'region',

  // the properties below are optional
  listenerArn: 'listenerArn',
  listenerPort: 123,
  listenerProtocol: cloud_assembly_schema.LoadBalancerListenerProtocol.HTTP,
  loadBalancerArn: 'loadBalancerArn',
  loadBalancerTags: [{
    key: 'key',
    value: 'value',
  }],
  lookupRoleArn: 'lookupRoleArn',
};

Properties

NameTypeDescription
accountstringQuery account.
loadBalancerTypeLoadBalancerTypeFilter load balancers by their type.
regionstringQuery region.
listenerArn?stringFind by listener's arn.
listenerPort?numberFilter listeners by listener port.
listenerProtocol?LoadBalancerListenerProtocolFilter by listener protocol.
loadBalancerArn?stringFind by load balancer's ARN.
loadBalancerTags?Tag[]Match load balancer tags.
lookupRoleArn?stringThe ARN of the role that should be used to look up the missing values.

account

Type: string

Query account.


loadBalancerType

Type: LoadBalancerType

Filter load balancers by their type.


region

Type: string

Query region.


listenerArn?

Type: string (optional, default: does not find by listener arn)

Find by listener's arn.


listenerPort?

Type: number (optional, default: does not filter by a listener port)

Filter listeners by listener port.


listenerProtocol?

Type: LoadBalancerListenerProtocol (optional, default: does not filter by listener protocol)

Filter by listener protocol.


loadBalancerArn?

Type: string (optional, default: does not search by load balancer arn)

Find by load balancer's ARN.


loadBalancerTags?

Type: Tag[] (optional, default: does not match load balancers by tags)

Match load balancer tags.


lookupRoleArn?

Type: string (optional, default: None)

The ARN of the role that should be used to look up the missing values.