AWS Native v0.49.0, Jan 26 23
AWS Native v0.49.0, Jan 26 23
aws-native.elasticloadbalancingv2.Listener
Resource Type definition for AWS::ElasticLoadBalancingV2::Listener
Create Listener Resource
new Listener(name: string, args: ListenerArgs, opts?: CustomResourceOptions);
@overload
def Listener(resource_name: str,
opts: Optional[ResourceOptions] = None,
alpn_policy: Optional[Sequence[str]] = None,
certificates: Optional[Sequence[ListenerCertificateArgs]] = None,
default_actions: Optional[Sequence[ListenerActionArgs]] = None,
load_balancer_arn: Optional[str] = None,
port: Optional[int] = None,
protocol: Optional[str] = None,
ssl_policy: Optional[str] = None)
@overload
def Listener(resource_name: str,
args: ListenerArgs,
opts: Optional[ResourceOptions] = None)
func NewListener(ctx *Context, name string, args ListenerArgs, opts ...ResourceOption) (*Listener, error)
public Listener(string name, ListenerArgs args, CustomResourceOptions? opts = null)
public Listener(String name, ListenerArgs args)
public Listener(String name, ListenerArgs args, CustomResourceOptions options)
type: aws-native:elasticloadbalancingv2:Listener
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ListenerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ListenerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ListenerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ListenerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ListenerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Listener Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Listener resource accepts the following input properties:
- Default
Actions []ListenerAction Args - Load
Balancer stringArn - Alpn
Policy []string - Certificates
[]Listener
Certificate Args - Port int
- Protocol string
- Ssl
Policy string
- default
Actions List<ListenerAction Args> - load
Balancer StringArn - alpn
Policy List<String> - certificates
List<Listener
Certificate Args> - port Integer
- protocol String
- ssl
Policy String
- default
Actions ListenerAction Args[] - load
Balancer stringArn - alpn
Policy string[] - certificates
Listener
Certificate Args[] - port number
- protocol string
- ssl
Policy string
- default
Actions List<Property Map> - load
Balancer StringArn - alpn
Policy List<String> - certificates List<Property Map>
- port Number
- protocol String
- ssl
Policy String
Outputs
All input properties are implicitly available as output properties. Additionally, the Listener resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Listener
Arn string
- Id string
The provider-assigned unique ID for this managed resource.
- Listener
Arn string
- id String
The provider-assigned unique ID for this managed resource.
- listener
Arn String
- id string
The provider-assigned unique ID for this managed resource.
- listener
Arn string
- id str
The provider-assigned unique ID for this managed resource.
- listener_
arn str
- id String
The provider-assigned unique ID for this managed resource.
- listener
Arn String
Supporting Types
ListenerAction
- Type string
- Authenticate
Cognito Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Authenticate Cognito Config - Authenticate
Oidc Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Authenticate Oidc Config - Fixed
Response Pulumi.Config Aws Native. Elastic Load Balancing V2. Inputs. Listener Fixed Response Config - Forward
Config Pulumi.Aws Native. Elastic Load Balancing V2. Inputs. Listener Forward Config - Order int
- Redirect
Config Pulumi.Aws Native. Elastic Load Balancing V2. Inputs. Listener Redirect Config - Target
Group stringArn
ListenerAuthenticateCognitoConfig
- User
Pool stringArn - User
Pool stringClient Id - User
Pool stringDomain - Authentication
Request objectExtra Params - On
Unauthenticated stringRequest - Scope string
- string
- Session
Timeout string
- User
Pool stringArn - User
Pool stringClient Id - User
Pool stringDomain - Authentication
Request interface{}Extra Params - On
Unauthenticated stringRequest - Scope string
- string
- Session
Timeout string
- user
Pool StringArn - user
Pool StringClient Id - user
Pool StringDomain - authentication
Request ObjectExtra Params - on
Unauthenticated StringRequest - scope String
- String
- session
Timeout String
- user
Pool stringArn - user
Pool stringClient Id - user
Pool stringDomain - authentication
Request anyExtra Params - on
Unauthenticated stringRequest - scope string
- string
- session
Timeout string
- user
Pool StringArn - user
Pool StringClient Id - user
Pool StringDomain - authentication
Request AnyExtra Params - on
Unauthenticated StringRequest - scope String
- String
- session
Timeout String
ListenerAuthenticateOidcConfig
- string
- Client
Id string - Issuer string
- Token
Endpoint string - User
Info stringEndpoint - Authentication
Request objectExtra Params - Client
Secret string - On
Unauthenticated stringRequest - Scope string
- string
- Session
Timeout string - Use
Existing boolClient Secret
- string
- Client
Id string - Issuer string
- Token
Endpoint string - User
Info stringEndpoint - Authentication
Request interface{}Extra Params - Client
Secret string - On
Unauthenticated stringRequest - Scope string
- string
- Session
Timeout string - Use
Existing boolClient Secret
- String
- client
Id String - issuer String
- token
Endpoint String - user
Info StringEndpoint - authentication
Request ObjectExtra Params - client
Secret String - on
Unauthenticated StringRequest - scope String
- String
- session
Timeout String - use
Existing BooleanClient Secret
- string
- client
Id string - issuer string
- token
Endpoint string - user
Info stringEndpoint - authentication
Request anyExtra Params - client
Secret string - on
Unauthenticated stringRequest - scope string
- string
- session
Timeout string - use
Existing booleanClient Secret
- str
- client_
id str - issuer str
- token_
endpoint str - user_
info_ strendpoint - authentication_
request_ Anyextra_ params - client_
secret str - on_
unauthenticated_ strrequest - scope str
- str
- session_
timeout str - use_
existing_ boolclient_ secret
- String
- client
Id String - issuer String
- token
Endpoint String - user
Info StringEndpoint - authentication
Request AnyExtra Params - client
Secret String - on
Unauthenticated StringRequest - scope String
- String
- session
Timeout String - use
Existing BooleanClient Secret
ListenerCertificate
- Certificate
Arn string
- Certificate
Arn string
- certificate
Arn String
- certificate
Arn string
- certificate_
arn str
- certificate
Arn String
ListenerFixedResponseConfig
- Status
Code string - Content
Type string - Message
Body string
- Status
Code string - Content
Type string - Message
Body string
- status
Code String - content
Type String - message
Body String
- status
Code string - content
Type string - message
Body string
- status_
code str - content_
type str - message_
body str
- status
Code String - content
Type String - message
Body String
ListenerForwardConfig
ListenerRedirectConfig
ListenerTargetGroupStickinessConfig
- Duration
Seconds int - Enabled bool
- Duration
Seconds int - Enabled bool
- duration
Seconds Integer - enabled Boolean
- duration
Seconds number - enabled boolean
- duration_
seconds int - enabled bool
- duration
Seconds Number - enabled Boolean
ListenerTargetGroupTuple
- Target
Group stringArn - Weight int
- Target
Group stringArn - Weight int
- target
Group StringArn - weight Integer
- target
Group stringArn - weight number
- target_
group_ strarn - weight int
- target
Group StringArn - weight Number
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0