dlm

package
v1.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LifecyclePolicy

type LifecyclePolicy struct {
	// contains filtered or unexported fields
}

Provides a [Data Lifecycle Manager (DLM) lifecycle policy](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-lifecycle.html) for managing snapshots.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/dlm_lifecycle_policy.html.markdown.

func GetLifecyclePolicy

func GetLifecyclePolicy(ctx *pulumi.Context,
	name string, id pulumi.ID, state *LifecyclePolicyState, opts ...pulumi.ResourceOpt) (*LifecyclePolicy, error)

GetLifecyclePolicy gets an existing LifecyclePolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLifecyclePolicy

func NewLifecyclePolicy(ctx *pulumi.Context,
	name string, args *LifecyclePolicyArgs, opts ...pulumi.ResourceOpt) (*LifecyclePolicy, error)

NewLifecyclePolicy registers a new resource with the given unique name, arguments, and options.

func (*LifecyclePolicy) Arn added in v1.10.0

Amazon Resource Name (ARN) of the DLM Lifecycle Policy.

func (*LifecyclePolicy) Description

func (r *LifecyclePolicy) Description() pulumi.StringOutput

A description for the DLM lifecycle policy.

func (*LifecyclePolicy) ExecutionRoleArn

func (r *LifecyclePolicy) ExecutionRoleArn() pulumi.StringOutput

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

func (*LifecyclePolicy) ID

ID is this resource's unique identifier assigned by its provider.

func (*LifecyclePolicy) PolicyDetails

func (r *LifecyclePolicy) PolicyDetails() pulumi.Output

See the `policyDetails` configuration block. Max of 1.

func (*LifecyclePolicy) State

func (r *LifecyclePolicy) State() pulumi.StringOutput

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

func (*LifecyclePolicy) Tags added in v1.10.0

func (r *LifecyclePolicy) Tags() pulumi.MapOutput

Key-value mapping of resource tags.

func (*LifecyclePolicy) URN

func (r *LifecyclePolicy) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type LifecyclePolicyArgs

type LifecyclePolicyArgs struct {
	// A description for the DLM lifecycle policy.
	Description interface{}
	// The ARN of an IAM role that is able to be assumed by the DLM service.
	ExecutionRoleArn interface{}
	// See the `policyDetails` configuration block. Max of 1.
	PolicyDetails interface{}
	// Whether the lifecycle policy should be enabled or disabled. `ENABLED` or `DISABLED` are valid values. Defaults to `ENABLED`.
	State interface{}
	// Key-value mapping of resource tags.
	Tags interface{}
}

The set of arguments for constructing a LifecyclePolicy resource.

type LifecyclePolicyState

type LifecyclePolicyState struct {
	// Amazon Resource Name (ARN) of the DLM Lifecycle Policy.
	Arn interface{}
	// A description for the DLM lifecycle policy.
	Description interface{}
	// The ARN of an IAM role that is able to be assumed by the DLM service.
	ExecutionRoleArn interface{}
	// See the `policyDetails` configuration block. Max of 1.
	PolicyDetails interface{}
	// Whether the lifecycle policy should be enabled or disabled. `ENABLED` or `DISABLED` are valid values. Defaults to `ENABLED`.
	State interface{}
	// Key-value mapping of resource tags.
	Tags interface{}
}

Input properties used for looking up and filtering LifecyclePolicy resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL