@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)
42 lines (41 loc) • 1.28 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Resource Type definition for AWS::EventSchemas::RegistryPolicy
*/
export declare function getRegistryPolicy(args: GetRegistryPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetRegistryPolicyResult>;
export interface GetRegistryPolicyArgs {
/**
* The ID of the policy.
*/
id: string;
}
export interface GetRegistryPolicyResult {
/**
* The ID of the policy.
*/
readonly id?: string;
/**
* A resource-based policy.
*
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::EventSchemas::RegistryPolicy` for more information about the expected schema for this property.
*/
readonly policy?: any;
/**
* The name of the registry.
*/
readonly registryName?: string;
/**
* The revision ID of the policy.
*/
readonly revisionId?: string;
}
/**
* Resource Type definition for AWS::EventSchemas::RegistryPolicy
*/
export declare function getRegistryPolicyOutput(args: GetRegistryPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRegistryPolicyResult>;
export interface GetRegistryPolicyOutputArgs {
/**
* The ID of the policy.
*/
id: pulumi.Input<string>;
}