@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)
45 lines (44 loc) • 1.67 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource Type definition for AWS::SecretsManager::RotationSchedule
*/
export declare function getRotationSchedule(args: GetRotationScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetRotationScheduleResult>;
export interface GetRotationScheduleArgs {
/**
* The ARN of the secret.
*/
id: string;
}
export interface GetRotationScheduleResult {
/**
* The list of metadata needed to successfully rotate a managed external secret.
*/
readonly externalSecretRotationMetadata?: outputs.secretsmanager.RotationScheduleExternalSecretRotationMetadataItem[];
/**
* The ARN of the IAM role that is used by Secrets Manager to rotate a managed external secret.
*/
readonly externalSecretRotationRoleArn?: string;
/**
* The ARN of the secret.
*/
readonly id?: string;
/**
* The ARN of an existing Lambda rotation function. To specify a rotation function that is also defined in this template, use the Ref function.
*/
readonly rotationLambdaArn?: string;
/**
* A structure that defines the rotation configuration for this secret.
*/
readonly rotationRules?: outputs.secretsmanager.RotationScheduleRotationRules;
}
/**
* Resource Type definition for AWS::SecretsManager::RotationSchedule
*/
export declare function getRotationScheduleOutput(args: GetRotationScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRotationScheduleResult>;
export interface GetRotationScheduleOutputArgs {
/**
* The ARN of the secret.
*/
id: pulumi.Input<string>;
}