UNPKG

@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)

61 lines (60 loc) 1.91 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::Rbin::Rule */ export declare function getRule(args: GetRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetRuleResult>; export interface GetRuleArgs { /** * Rule Arn is unique for each rule. */ arn: string; } export interface GetRuleResult { /** * Rule Arn is unique for each rule. */ readonly arn?: string; /** * The description of the retention rule. */ readonly description?: string; /** * Information about the exclude resource tags used to identify resources that are excluded by the retention rule. */ readonly excludeResourceTags?: outputs.rbin.RuleResourceTag[]; /** * The unique ID of the retention rule. */ readonly identifier?: string; /** * The lock state for the retention rule. */ readonly lockState?: string; /** * Information about the resource tags used to identify resources that are retained by the retention rule. */ readonly resourceTags?: outputs.rbin.RuleResourceTag[]; /** * Information about the retention period for which the retention rule is to retain resources. */ readonly retentionPeriod?: outputs.rbin.RuleRetentionPeriod; /** * The state of the retention rule. Only retention rules that are in the available state retain resources. */ readonly status?: string; /** * Information about the tags assigned to the retention rule. */ readonly tags?: outputs.Tag[]; } /** * Resource Type definition for AWS::Rbin::Rule */ export declare function getRuleOutput(args: GetRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRuleResult>; export interface GetRuleOutputArgs { /** * Rule Arn is unique for each rule. */ arn: pulumi.Input<string>; }