Module dlm

@pulumi/aws > dlm

Index

dlm/lifecyclePolicy.ts

class LifecyclePolicy

Provides a Data Lifecycle Manager (DLM) lifecycle policy for managing snapshots.

constructor

new LifecyclePolicy(name: string, args: LifecyclePolicyArgs, opts?: pulumi.CustomResourceOptions)

Create a LifecyclePolicy resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LifecyclePolicyState): LifecyclePolicy

Get an existing LifecyclePolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property description

public description: pulumi.Output<string>;

A description for the DLM lifecycle policy.

property executionRoleArn

public executionRoleArn: pulumi.Output<string>;

The ARN of an IAM role that is able to be assumed by the DLM service.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property policyDetails

public policyDetails: pulumi.Output<{ ... }>;

See the policy_details configuration block. Max of 1.

property state

public state: pulumi.Output<string | undefined>;

Whether the lifecycle policy should be enabled or disabled. ENABLED or DISABLED are valid values. Defaults to ENABLED.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface LifecyclePolicyArgs

The set of arguments for constructing a LifecyclePolicy resource.

property description

description: pulumi.Input<string>;

A description for the DLM lifecycle policy.

property executionRoleArn

executionRoleArn: pulumi.Input<string>;

The ARN of an IAM role that is able to be assumed by the DLM service.

property policyDetails

policyDetails: pulumi.Input<{ ... }>;

See the policy_details configuration block. Max of 1.

property state

state?: pulumi.Input<string>;

Whether the lifecycle policy should be enabled or disabled. ENABLED or DISABLED are valid values. Defaults to ENABLED.

interface LifecyclePolicyState

Input properties used for looking up and filtering LifecyclePolicy resources.

property description

description?: pulumi.Input<string>;

A description for the DLM lifecycle policy.

property executionRoleArn

executionRoleArn?: pulumi.Input<string>;

The ARN of an IAM role that is able to be assumed by the DLM service.

property policyDetails

policyDetails?: pulumi.Input<{ ... }>;

See the policy_details configuration block. Max of 1.

property state

state?: pulumi.Input<string>;

Whether the lifecycle policy should be enabled or disabled. ENABLED or DISABLED are valid values. Defaults to ENABLED.