AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi
aws-native.vpclattice.Listener
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi
Creates a listener for a service. Before you start using your Amazon VPC Lattice service, you must add one or more listeners. A listener is a process that checks for connection requests to your services.
Create Listener Resource
new Listener(name: string, args: ListenerArgs, opts?: CustomResourceOptions);
@overload
def Listener(resource_name: str,
opts: Optional[ResourceOptions] = None,
default_action: Optional[ListenerDefaultActionArgs] = None,
name: Optional[str] = None,
port: Optional[int] = None,
protocol: Optional[ListenerProtocol] = None,
service_identifier: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = 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:vpclattice: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
Action ListenerDefault Action - protocol
Listener
Protocol - name String
- port Integer
- service
Identifier String - List<Tag>
- default
Action ListenerDefault Action - protocol
Listener
Protocol - name string
- port number
- service
Identifier string - Tag[]
- default
Action Property Map - protocol "HTTP" | "HTTPS"
- name String
- port Number
- service
Identifier String - List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Listener resource produces the following output properties:
- Arn string
- Aws
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Service
Arn string - Service
Id string
- Arn string
- Aws
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Service
Arn string - Service
Id string
- arn String
- aws
Id String - id String
- The provider-assigned unique ID for this managed resource.
- service
Arn String - service
Id String
- arn string
- aws
Id string - id string
- The provider-assigned unique ID for this managed resource.
- service
Arn string - service
Id string
- arn str
- aws_
id str - id str
- The provider-assigned unique ID for this managed resource.
- service_
arn str - service_
id str
- arn String
- aws
Id String - id String
- The provider-assigned unique ID for this managed resource.
- service
Arn String - service
Id String
Supporting Types
ListenerDefaultAction, ListenerDefaultActionArgs
ListenerFixedResponse, ListenerFixedResponseArgs
- Status
Code int
- Status
Code int
- status
Code Integer
- status
Code number
- status_
code int
- status
Code Number
ListenerForward, ListenerForwardArgs
ListenerProtocol, ListenerProtocolArgs
- Http
- HTTP
- Https
- HTTPS
- Listener
Protocol Http - HTTP
- Listener
Protocol Https - HTTPS
- Http
- HTTP
- Https
- HTTPS
- Http
- HTTP
- Https
- HTTPS
- HTTP
- HTTP
- HTTPS
- HTTPS
- "HTTP"
- HTTP
- "HTTPS"
- HTTPS
ListenerWeightedTargetGroup, ListenerWeightedTargetGroupArgs
- Target
Group stringIdentifier - Weight int
- Target
Group stringIdentifier - Weight int
- target
Group StringIdentifier - weight Integer
- target
Group stringIdentifier - weight number
- target_
group_ stridentifier - weight int
- target
Group StringIdentifier - weight Number
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi