get Listener
Data source for managing an AWS VPC Lattice Listener.
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.vpclattice.VpclatticeFunctions;
import com.pulumi.aws.vpclattice.inputs.GetListenerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = VpclatticeFunctions.getListener();
}
}
Content copied to clipboard
Return
A collection of values returned by getListener.
Parameters
argument
A collection of arguments for invoking getListener.
suspend fun getListener(listenerIdentifier: String, serviceIdentifier: String, tags: Map<String, String>? = null): GetListenerResult
Return
A collection of values returned by getListener.
Parameters
listener Identifier
ID or Amazon Resource Name (ARN) of the listener
service Identifier
ID or Amazon Resource Name (ARN) of the service network
tags
List of tags associated with the listener.
See also
suspend fun getListener(argument: suspend GetListenerPlainArgsBuilder.() -> Unit): GetListenerResult
Return
A collection of values returned by getListener.
Parameters
argument
Builder for com.pulumi.aws.vpclattice.kotlin.inputs.GetListenerPlainArgs.