@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)
60 lines (59 loc) • 1.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource schema for AWS::ImageBuilder::LifecyclePolicy
*/
export declare function getLifecyclePolicy(args: GetLifecyclePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetLifecyclePolicyResult>;
export interface GetLifecyclePolicyArgs {
/**
* The Amazon Resource Name (ARN) of the lifecycle policy.
*/
arn: string;
}
export interface GetLifecyclePolicyResult {
/**
* The Amazon Resource Name (ARN) of the lifecycle policy.
*/
readonly arn?: string;
/**
* The description of the lifecycle policy.
*/
readonly description?: string;
/**
* The execution role of the lifecycle policy.
*/
readonly executionRole?: string;
/**
* The policy details of the lifecycle policy.
*/
readonly policyDetails?: outputs.imagebuilder.LifecyclePolicyPolicyDetail[];
/**
* The resource selection of the lifecycle policy.
*/
readonly resourceSelection?: outputs.imagebuilder.LifecyclePolicyResourceSelection;
/**
* The resource type of the lifecycle policy.
*/
readonly resourceType?: enums.imagebuilder.LifecyclePolicyResourceType;
/**
* The status of the lifecycle policy.
*/
readonly status?: enums.imagebuilder.LifecyclePolicyStatus;
/**
* The tags associated with the lifecycle policy.
*/
readonly tags?: {
[key: string]: string;
};
}
/**
* Resource schema for AWS::ImageBuilder::LifecyclePolicy
*/
export declare function getLifecyclePolicyOutput(args: GetLifecyclePolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLifecyclePolicyResult>;
export interface GetLifecyclePolicyOutputArgs {
/**
* The Amazon Resource Name (ARN) of the lifecycle policy.
*/
arn: pulumi.Input<string>;
}