aws-native logo
AWS Native v0.64.0, Jun 2 23

aws-native.msk.getClusterPolicy

Explore with Pulumi AI

Resource Type definition for AWS::MSK::ClusterPolicy

Using getClusterPolicy

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 getClusterPolicy(args: GetClusterPolicyArgs, opts?: InvokeOptions): Promise<GetClusterPolicyResult>
function getClusterPolicyOutput(args: GetClusterPolicyOutputArgs, opts?: InvokeOptions): Output<GetClusterPolicyResult>
def get_cluster_policy(cluster_arn: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetClusterPolicyResult
def get_cluster_policy_output(cluster_arn: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetClusterPolicyResult]
func LookupClusterPolicy(ctx *Context, args *LookupClusterPolicyArgs, opts ...InvokeOption) (*LookupClusterPolicyResult, error)
func LookupClusterPolicyOutput(ctx *Context, args *LookupClusterPolicyOutputArgs, opts ...InvokeOption) LookupClusterPolicyResultOutput

> Note: This function is named LookupClusterPolicy in the Go SDK.

public static class GetClusterPolicy 
{
    public static Task<GetClusterPolicyResult> InvokeAsync(GetClusterPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetClusterPolicyResult> Invoke(GetClusterPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClusterPolicyResult> getClusterPolicy(GetClusterPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:msk:getClusterPolicy
  arguments:
    # arguments dictionary

The following arguments are supported:

ClusterArn string

The arn of the cluster for the resource policy.

ClusterArn string

The arn of the cluster for the resource policy.

clusterArn String

The arn of the cluster for the resource policy.

clusterArn string

The arn of the cluster for the resource policy.

cluster_arn str

The arn of the cluster for the resource policy.

clusterArn String

The arn of the cluster for the resource policy.

getClusterPolicy Result

The following output properties are available:

CurrentVersion string

The current version of the policy attached to the specified cluster

Policy object

A policy document containing permissions to add to the specified cluster.

CurrentVersion string

The current version of the policy attached to the specified cluster

Policy interface{}

A policy document containing permissions to add to the specified cluster.

currentVersion String

The current version of the policy attached to the specified cluster

policy Object

A policy document containing permissions to add to the specified cluster.

currentVersion string

The current version of the policy attached to the specified cluster

policy any

A policy document containing permissions to add to the specified cluster.

current_version str

The current version of the policy attached to the specified cluster

policy Any

A policy document containing permissions to add to the specified cluster.

currentVersion String

The current version of the policy attached to the specified cluster

policy Any

A policy document containing permissions to add to the specified cluster.

Package Details

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