Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws.msk.getBrokerNodes
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
Get information on an Amazon MSK Broker Nodes.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.msk.getBrokerNodes({
clusterArn: exampleAwsMskCluster.arn,
});
import pulumi
import pulumi_aws as aws
example = aws.msk.get_broker_nodes(cluster_arn=example_aws_msk_cluster["arn"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/msk"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := msk.GetBrokerNodes(ctx, &msk.GetBrokerNodesArgs{
ClusterArn: exampleAwsMskCluster.Arn,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Msk.GetBrokerNodes.Invoke(new()
{
ClusterArn = exampleAwsMskCluster.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.msk.MskFunctions;
import com.pulumi.aws.msk.inputs.GetBrokerNodesArgs;
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 = MskFunctions.getBrokerNodes(GetBrokerNodesArgs.builder()
.clusterArn(exampleAwsMskCluster.arn())
.build());
}
}
variables:
example:
fn::invoke:
Function: aws:msk:getBrokerNodes
Arguments:
clusterArn: ${exampleAwsMskCluster.arn}
Using getBrokerNodes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBrokerNodes(args: GetBrokerNodesArgs, opts?: InvokeOptions): Promise<GetBrokerNodesResult>
function getBrokerNodesOutput(args: GetBrokerNodesOutputArgs, opts?: InvokeOptions): Output<GetBrokerNodesResult>
def get_broker_nodes(cluster_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBrokerNodesResult
def get_broker_nodes_output(cluster_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBrokerNodesResult]
func GetBrokerNodes(ctx *Context, args *GetBrokerNodesArgs, opts ...InvokeOption) (*GetBrokerNodesResult, error)
func GetBrokerNodesOutput(ctx *Context, args *GetBrokerNodesOutputArgs, opts ...InvokeOption) GetBrokerNodesResultOutput
> Note: This function is named GetBrokerNodes
in the Go SDK.
public static class GetBrokerNodes
{
public static Task<GetBrokerNodesResult> InvokeAsync(GetBrokerNodesArgs args, InvokeOptions? opts = null)
public static Output<GetBrokerNodesResult> Invoke(GetBrokerNodesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBrokerNodesResult> getBrokerNodes(GetBrokerNodesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:msk/getBrokerNodes:getBrokerNodes
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Arn string - ARN of the cluster the nodes belong to.
- Cluster
Arn string - ARN of the cluster the nodes belong to.
- cluster
Arn String - ARN of the cluster the nodes belong to.
- cluster
Arn string - ARN of the cluster the nodes belong to.
- cluster_
arn str - ARN of the cluster the nodes belong to.
- cluster
Arn String - ARN of the cluster the nodes belong to.
getBrokerNodes Result
The following output properties are available:
- Cluster
Arn string - Id string
- The provider-assigned unique ID for this managed resource.
- Node
Info List<GetLists Broker Nodes Node Info List>
- Cluster
Arn string - Id string
- The provider-assigned unique ID for this managed resource.
- Node
Info []GetLists Broker Nodes Node Info List
- cluster
Arn String - id String
- The provider-assigned unique ID for this managed resource.
- node
Info List<GetLists Broker Nodes Node Info List>
- cluster
Arn string - id string
- The provider-assigned unique ID for this managed resource.
- node
Info GetLists Broker Nodes Node Info List[]
- cluster_
arn str - id str
- The provider-assigned unique ID for this managed resource.
- node_
info_ Sequence[Getlists Broker Nodes Node Info List]
- cluster
Arn String - id String
- The provider-assigned unique ID for this managed resource.
- node
Info List<Property Map>Lists
Supporting Types
GetBrokerNodesNodeInfoList
- Attached
Eni stringId - Attached elastic network interface of the broker
- Broker
Id double - ID of the broker
- Client
Subnet string - Client subnet to which this broker node belongs
- Client
Vpc stringIp Address - The client virtual private cloud (VPC) IP address
- Endpoints List<string>
- Set of endpoints for accessing the broker. This does not include ports
- Node
Arn string - ARN of the node
- Attached
Eni stringId - Attached elastic network interface of the broker
- Broker
Id float64 - ID of the broker
- Client
Subnet string - Client subnet to which this broker node belongs
- Client
Vpc stringIp Address - The client virtual private cloud (VPC) IP address
- Endpoints []string
- Set of endpoints for accessing the broker. This does not include ports
- Node
Arn string - ARN of the node
- attached
Eni StringId - Attached elastic network interface of the broker
- broker
Id Double - ID of the broker
- client
Subnet String - Client subnet to which this broker node belongs
- client
Vpc StringIp Address - The client virtual private cloud (VPC) IP address
- endpoints List<String>
- Set of endpoints for accessing the broker. This does not include ports
- node
Arn String - ARN of the node
- attached
Eni stringId - Attached elastic network interface of the broker
- broker
Id number - ID of the broker
- client
Subnet string - Client subnet to which this broker node belongs
- client
Vpc stringIp Address - The client virtual private cloud (VPC) IP address
- endpoints string[]
- Set of endpoints for accessing the broker. This does not include ports
- node
Arn string - ARN of the node
- attached_
eni_ strid - Attached elastic network interface of the broker
- broker_
id float - ID of the broker
- client_
subnet str - Client subnet to which this broker node belongs
- client_
vpc_ strip_ address - The client virtual private cloud (VPC) IP address
- endpoints Sequence[str]
- Set of endpoints for accessing the broker. This does not include ports
- node_
arn str - ARN of the node
- attached
Eni StringId - Attached elastic network interface of the broker
- broker
Id Number - ID of the broker
- client
Subnet String - Client subnet to which this broker node belongs
- client
Vpc StringIp Address - The client virtual private cloud (VPC) IP address
- endpoints List<String>
- Set of endpoints for accessing the broker. This does not include ports
- node
Arn String - ARN of the node
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi