Documentation
¶
Index ¶
- type LifecyclePolicy
- func (r *LifecyclePolicy) Arn() pulumi.StringOutput
- func (r *LifecyclePolicy) Description() pulumi.StringOutput
- func (r *LifecyclePolicy) ExecutionRoleArn() pulumi.StringOutput
- func (r *LifecyclePolicy) ID() pulumi.IDOutput
- func (r *LifecyclePolicy) PolicyDetails() pulumi.Output
- func (r *LifecyclePolicy) State() pulumi.StringOutput
- func (r *LifecyclePolicy) Tags() pulumi.MapOutput
- func (r *LifecyclePolicy) URN() pulumi.URNOutput
- type LifecyclePolicyArgs
- type LifecyclePolicyState
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
func (r *LifecyclePolicy) Arn() pulumi.StringOutput
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 ¶
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 `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.