AWS Native is in preview. AWS Classic is fully supported.
aws-native.msk.getClusterPolicy
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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 dictionaryThe following arguments are supported:
- Cluster
Arn string - The arn of the cluster for the resource policy.
 
- Cluster
Arn string - The arn of the cluster for the resource policy.
 
- cluster
Arn String - The arn of the cluster for the resource policy.
 
- cluster
Arn string - The arn of the cluster for the resource policy.
 
- cluster_
arn str - The arn of the cluster for the resource policy.
 
- cluster
Arn String - The arn of the cluster for the resource policy.
 
getClusterPolicy Result
The following output properties are available:
- Current
Version 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.
Search the CloudFormation User Guide for
AWS::MSK::ClusterPolicyfor more information about the expected schema for this property.
- Current
Version 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.
Search the CloudFormation User Guide for
AWS::MSK::ClusterPolicyfor more information about the expected schema for this property.
- current
Version 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.
Search the CloudFormation User Guide for
AWS::MSK::ClusterPolicyfor more information about the expected schema for this property.
- current
Version 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.
Search the CloudFormation User Guide for
AWS::MSK::ClusterPolicyfor more information about the expected schema for this property.
- 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.
Search the CloudFormation User Guide for
AWS::MSK::ClusterPolicyfor more information about the expected schema for this property.
- current
Version 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.
Search the CloudFormation User Guide for
AWS::MSK::ClusterPolicyfor more information about the expected schema for this property.
Package Details
- Repository
 - AWS Native pulumi/pulumi-aws-native
 - License
 - Apache-2.0
 
AWS Native is in preview. AWS Classic is fully supported.