1. Packages
  2. AWS Native
  3. API Docs
  4. vpclattice
  5. Listener

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 logo

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:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Listener resource produces the following output properties:

    Arn string
    AwsId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceArn string
    ServiceId string
    Arn string
    AwsId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceArn string
    ServiceId string
    arn String
    awsId String
    id String
    The provider-assigned unique ID for this managed resource.
    serviceArn String
    serviceId String
    arn string
    awsId string
    id string
    The provider-assigned unique ID for this managed resource.
    serviceArn string
    serviceId 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
    awsId String
    id String
    The provider-assigned unique ID for this managed resource.
    serviceArn String
    serviceId String

    Supporting Types

    ListenerDefaultAction, ListenerDefaultActionArgs

    ListenerFixedResponse, ListenerFixedResponseArgs

    statusCode Integer
    statusCode number
    statusCode Number

    ListenerForward, ListenerForwardArgs

    ListenerProtocol, ListenerProtocolArgs

    Http
    HTTP
    Https
    HTTPS
    ListenerProtocolHttp
    HTTP
    ListenerProtocolHttps
    HTTPS
    Http
    HTTP
    Https
    HTTPS
    Http
    HTTP
    Https
    HTTPS
    HTTP
    HTTP
    HTTPS
    HTTPS
    "HTTP"
    HTTP
    "HTTPS"
    HTTPS

    ListenerWeightedTargetGroup, ListenerWeightedTargetGroupArgs

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi