interface LoadBalancerContextQuery
Language | Type name |
---|---|
.NET | Amazon.CDK.CloudAssembly.Schema.LoadBalancerContextQuery |
Java | software.amazon.awscdk.cloudassembly.schema.LoadBalancerContextQuery |
Python | aws_cdk.cloud_assembly_schema.LoadBalancerContextQuery |
TypeScript (source) | @aws-cdk/cloud-assembly-schema » LoadBalancerContextQuery |
Query input for looking up a load balancer.
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 loadBalancerContextQuery: cloud_assembly_schema.LoadBalancerContextQuery = {
account: 'account',
loadBalancerType: cloud_assembly_schema.LoadBalancerType.NETWORK,
region: 'region',
// the properties below are optional
loadBalancerArn: 'loadBalancerArn',
loadBalancerTags: [{
key: 'key',
value: 'value',
}],
lookupRoleArn: 'lookupRoleArn',
};
Properties
Name | Type | Description |
---|---|---|
account | string | Query account. |
load | Load | Filter load balancers by their type. |
region | string | Query region. |
load | string | Find by load balancer's ARN. |
load | Tag [] | Match load balancer tags. |
lookup | string | The ARN of the role that should be used to look up the missing values. |
account
Type:
string
Query account.
loadBalancerType
Type:
Load
Filter load balancers by their type.
region
Type:
string
Query region.
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.