@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
34 lines (33 loc) • 1.24 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Resource Type definition for AWS::MSK::ClusterPolicy
*/
export declare function getClusterPolicy(args: GetClusterPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterPolicyResult>;
export interface GetClusterPolicyArgs {
/**
* The arn of the cluster for the resource policy.
*/
clusterArn: string;
}
export interface GetClusterPolicyResult {
/**
* The current version of the policy attached to the specified cluster
*/
readonly currentVersion?: string;
/**
* A policy document containing permissions to add to the specified cluster.
*
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::MSK::ClusterPolicy` for more information about the expected schema for this property.
*/
readonly policy?: any;
}
/**
* Resource Type definition for AWS::MSK::ClusterPolicy
*/
export declare function getClusterPolicyOutput(args: GetClusterPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClusterPolicyResult>;
export interface GetClusterPolicyOutputArgs {
/**
* The arn of the cluster for the resource policy.
*/
clusterArn: pulumi.Input<string>;
}