dlm

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 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.

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

func (r *LifecyclePolicy) ID() *pulumi.IDOutput

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

func (*LifecyclePolicy) PolicyDetails

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

See the `policy_details` 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) 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 `policy_details` 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{}
}

The set of arguments for constructing a LifecyclePolicy resource.

type LifecyclePolicyState

type LifecyclePolicyState 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 `policy_details` 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{}
}

Input properties used for looking up and filtering LifecyclePolicy resources.

type Policy

type Policy 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.

func GetPolicy

func GetPolicy(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PolicyState, opts ...pulumi.ResourceOpt) (*Policy, error)

GetPolicy gets an existing Policy 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 NewPolicy

func NewPolicy(ctx *pulumi.Context,
	name string, args *PolicyArgs, opts ...pulumi.ResourceOpt) (*Policy, error)

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

func (*Policy) Description

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

A description for the DLM lifecycle policy.

func (*Policy) ExecutionRoleArn

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

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

func (*Policy) ID

func (r *Policy) ID() *pulumi.IDOutput

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

func (*Policy) PolicyDetails

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

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

func (*Policy) State

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

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

func (*Policy) URN

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

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

type PolicyArgs

type PolicyArgs 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 `policy_details` 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{}
}

The set of arguments for constructing a Policy resource.

type PolicyState

type PolicyState 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 `policy_details` 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{}
}

Input properties used for looking up and filtering Policy resources.

Jump to

Keyboard shortcuts

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