1. Packages
  2. AWS Native
  3. API Docs
  4. msk
  5. getClusterPolicy

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

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.msk.getClusterPolicy

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    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.

    Search the CloudFormation User Guide for AWS::MSK::ClusterPolicy for more information about the expected schema for this property.

    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.

    Search the CloudFormation User Guide for AWS::MSK::ClusterPolicy for more information about the expected schema for this property.

    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.

    Search the CloudFormation User Guide for AWS::MSK::ClusterPolicy for more information about the expected schema for this property.

    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.

    Search the CloudFormation User Guide for AWS::MSK::ClusterPolicy for 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::ClusterPolicy for more information about the expected schema for this property.

    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.

    Search the CloudFormation User Guide for AWS::MSK::ClusterPolicy for more information about the expected schema for this property.

    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.102.0 published on Tuesday, Apr 16, 2024 by Pulumi