AlbListenerSchema
Hierarchy
- BaseResourceSchema
- AlbListenerSchema
Index
Properties
inheritedlocalResourceId
The ID the resource was created with, unique within its scope.
inheritedparents
The resources this one is built on top of.
properties
Input properties.
properties.awsAccountId- The AWS account ID.properties.awsRegionId- The AWS region ID.properties.DefaultActions- Specify an action to run when none of the conditions are met. See IAlbListenerActionTypes for options.properties.Port- The port on which the listener is listening.properties.Protocol- The protocol to use. Valid values areHTTP.properties.rules- Specify the rules for the listener. A rule must contain conditions as per IAlbListenerRuleTypes, a set of actions to perform if the conditions are met as per IAlbListenerActionTypes, and a priority which determines the order in which the rules are evaluated.
Type declaration
awsAccountId: string
awsRegionId: string
DefaultActions: ({ action: AlbListenerActionFixedResponseActionSchema; actionType: fixed-response } | { action: AlbListenerActionForwardConfigSchema; actionType: forward } | { action: AlbListenerActionRedirectActionSchema; actionType: redirect })[]
Port: number
Protocol: HTTP
rules: { actions: ({ action: AlbListenerActionFixedResponseActionSchema; actionType: fixed-response } | { action: AlbListenerActionForwardConfigSchema; actionType: forward } | { action: AlbListenerActionRedirectActionSchema; actionType: redirect })[]; conditions: ({ condition: AlbListenerRuleHostHeaderConditionSchema; conditionType: host-header } | { condition: AlbListenerRuleHttpHeaderConditionSchema; conditionType: http-header } | { condition: AlbListenerRuleHttpRequestMethodConditionSchema; conditionType: http-request-method } | { condition: AlbListenerRulePathPatternConditionSchema; conditionType: path-pattern } | { condition: AlbListenerRuleQueryStringConditionSchema; conditionType: query-string } | { condition: AlbListenerRuleSourceIpConditionSchema; conditionType: source-ip })[]; Priority: number }[]
inheritedresourceId
The ID of the resource, unique across the infrastructure: its localResourceId, followed by a hash
of its scope when it has one.
response
Saved response.
response.ListenerArn- ALB Listener ARN.
Type declaration
optionalListenerArn?: string
inheritedscope
The contexts of the models the resource is placed under, derived from where the node creating it sits in the model graph. Octo sets it; a resource created outside a model action has none.
inheritedtags
The tags applied to the resource.
Type declaration
[key string]: string
AlbListenerSchemais the schema of theAlbListenerresource: a port an Application Load Balancer listens on, and the rules routing each request it receives. Terraform provisions it asaws_lb_listenerandaws_lb_listener_rule.Resources/AlbListener
parents - This resource has parents.
resourceId - The resource id is of format
alb-listener-<alb-name>-<port>