Documentation ¶
Index ¶
- type LifecyclePolicy
- type LifecyclePolicyArgs
- type LifecyclePolicyPolicyDetails
- type LifecyclePolicyPolicyDetailsArgs
- func (LifecyclePolicyPolicyDetailsArgs) ElementType() reflect.Type
- func (i LifecyclePolicyPolicyDetailsArgs) ToLifecyclePolicyPolicyDetailsOutput() LifecyclePolicyPolicyDetailsOutput
- func (i LifecyclePolicyPolicyDetailsArgs) ToLifecyclePolicyPolicyDetailsOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsOutput
- func (i LifecyclePolicyPolicyDetailsArgs) ToLifecyclePolicyPolicyDetailsPtrOutput() LifecyclePolicyPolicyDetailsPtrOutput
- func (i LifecyclePolicyPolicyDetailsArgs) ToLifecyclePolicyPolicyDetailsPtrOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsPtrOutput
- type LifecyclePolicyPolicyDetailsInput
- type LifecyclePolicyPolicyDetailsOutput
- func (LifecyclePolicyPolicyDetailsOutput) ElementType() reflect.Type
- func (o LifecyclePolicyPolicyDetailsOutput) ResourceTypes() pulumi.StringArrayOutput
- func (o LifecyclePolicyPolicyDetailsOutput) Schedules() LifecyclePolicyPolicyDetailsScheduleArrayOutput
- func (o LifecyclePolicyPolicyDetailsOutput) TargetTags() pulumi.MapOutput
- func (o LifecyclePolicyPolicyDetailsOutput) ToLifecyclePolicyPolicyDetailsOutput() LifecyclePolicyPolicyDetailsOutput
- func (o LifecyclePolicyPolicyDetailsOutput) ToLifecyclePolicyPolicyDetailsOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsOutput
- func (o LifecyclePolicyPolicyDetailsOutput) ToLifecyclePolicyPolicyDetailsPtrOutput() LifecyclePolicyPolicyDetailsPtrOutput
- func (o LifecyclePolicyPolicyDetailsOutput) ToLifecyclePolicyPolicyDetailsPtrOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsPtrOutput
- type LifecyclePolicyPolicyDetailsPtrInput
- type LifecyclePolicyPolicyDetailsPtrOutput
- func (o LifecyclePolicyPolicyDetailsPtrOutput) Elem() LifecyclePolicyPolicyDetailsOutput
- func (LifecyclePolicyPolicyDetailsPtrOutput) ElementType() reflect.Type
- func (o LifecyclePolicyPolicyDetailsPtrOutput) ResourceTypes() pulumi.StringArrayOutput
- func (o LifecyclePolicyPolicyDetailsPtrOutput) Schedules() LifecyclePolicyPolicyDetailsScheduleArrayOutput
- func (o LifecyclePolicyPolicyDetailsPtrOutput) TargetTags() pulumi.MapOutput
- func (o LifecyclePolicyPolicyDetailsPtrOutput) ToLifecyclePolicyPolicyDetailsPtrOutput() LifecyclePolicyPolicyDetailsPtrOutput
- func (o LifecyclePolicyPolicyDetailsPtrOutput) ToLifecyclePolicyPolicyDetailsPtrOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsPtrOutput
- type LifecyclePolicyPolicyDetailsSchedule
- type LifecyclePolicyPolicyDetailsScheduleArgs
- func (LifecyclePolicyPolicyDetailsScheduleArgs) ElementType() reflect.Type
- func (i LifecyclePolicyPolicyDetailsScheduleArgs) ToLifecyclePolicyPolicyDetailsScheduleOutput() LifecyclePolicyPolicyDetailsScheduleOutput
- func (i LifecyclePolicyPolicyDetailsScheduleArgs) ToLifecyclePolicyPolicyDetailsScheduleOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleOutput
- type LifecyclePolicyPolicyDetailsScheduleArray
- func (LifecyclePolicyPolicyDetailsScheduleArray) ElementType() reflect.Type
- func (i LifecyclePolicyPolicyDetailsScheduleArray) ToLifecyclePolicyPolicyDetailsScheduleArrayOutput() LifecyclePolicyPolicyDetailsScheduleArrayOutput
- func (i LifecyclePolicyPolicyDetailsScheduleArray) ToLifecyclePolicyPolicyDetailsScheduleArrayOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleArrayOutput
- type LifecyclePolicyPolicyDetailsScheduleArrayInput
- type LifecyclePolicyPolicyDetailsScheduleArrayOutput
- func (LifecyclePolicyPolicyDetailsScheduleArrayOutput) ElementType() reflect.Type
- func (o LifecyclePolicyPolicyDetailsScheduleArrayOutput) Index(i pulumi.IntInput) LifecyclePolicyPolicyDetailsScheduleOutput
- func (o LifecyclePolicyPolicyDetailsScheduleArrayOutput) ToLifecyclePolicyPolicyDetailsScheduleArrayOutput() LifecyclePolicyPolicyDetailsScheduleArrayOutput
- func (o LifecyclePolicyPolicyDetailsScheduleArrayOutput) ToLifecyclePolicyPolicyDetailsScheduleArrayOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleArrayOutput
- type LifecyclePolicyPolicyDetailsScheduleCreateRule
- type LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs
- func (LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs) ElementType() reflect.Type
- func (i LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs) ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutput() LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput
- func (i LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs) ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput
- type LifecyclePolicyPolicyDetailsScheduleCreateRuleInput
- type LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput
- func (LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) ElementType() reflect.Type
- func (o LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) Interval() pulumi.IntOutput
- func (o LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) IntervalUnit() pulumi.StringPtrOutput
- func (o LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) Times() pulumi.StringPtrOutput
- func (o LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutput() LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput
- func (o LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput
- type LifecyclePolicyPolicyDetailsScheduleInput
- type LifecyclePolicyPolicyDetailsScheduleOutput
- func (o LifecyclePolicyPolicyDetailsScheduleOutput) CopyTags() pulumi.BoolPtrOutput
- func (o LifecyclePolicyPolicyDetailsScheduleOutput) CreateRule() LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput
- func (LifecyclePolicyPolicyDetailsScheduleOutput) ElementType() reflect.Type
- func (o LifecyclePolicyPolicyDetailsScheduleOutput) Name() pulumi.StringOutput
- func (o LifecyclePolicyPolicyDetailsScheduleOutput) RetainRule() LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput
- func (o LifecyclePolicyPolicyDetailsScheduleOutput) TagsToAdd() pulumi.MapOutput
- func (o LifecyclePolicyPolicyDetailsScheduleOutput) ToLifecyclePolicyPolicyDetailsScheduleOutput() LifecyclePolicyPolicyDetailsScheduleOutput
- func (o LifecyclePolicyPolicyDetailsScheduleOutput) ToLifecyclePolicyPolicyDetailsScheduleOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleOutput
- type LifecyclePolicyPolicyDetailsScheduleRetainRule
- type LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs
- func (LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs) ElementType() reflect.Type
- func (i LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs) ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutput() LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput
- func (i LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs) ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput
- type LifecyclePolicyPolicyDetailsScheduleRetainRuleInput
- type LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput
- func (o LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput) Count() pulumi.IntOutput
- func (LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput) ElementType() reflect.Type
- func (o LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput) ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutput() LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput
- func (o LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput) ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput
- type LifecyclePolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LifecyclePolicy ¶
type LifecyclePolicy struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the DLM Lifecycle Policy. Arn pulumi.StringOutput `pulumi:"arn"` // A description for the DLM lifecycle policy. Description pulumi.StringOutput `pulumi:"description"` // The ARN of an IAM role that is able to be assumed by the DLM service. ExecutionRoleArn pulumi.StringOutput `pulumi:"executionRoleArn"` // See the `policyDetails` configuration block. Max of 1. PolicyDetails LifecyclePolicyPolicyDetailsOutput `pulumi:"policyDetails"` // Whether the lifecycle policy should be enabled or disabled. `ENABLED` or `DISABLED` are valid values. Defaults to `ENABLED`. State pulumi.StringPtrOutput `pulumi:"state"` // Key-value mapping of resource tags. Tags pulumi.MapOutput `pulumi:"tags"` }
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.IDInput, state *LifecyclePolicyState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*LifecyclePolicy, error)
NewLifecyclePolicy registers a new resource with the given unique name, arguments, and options.
type LifecyclePolicyArgs ¶
type LifecyclePolicyArgs struct { // A description for the DLM lifecycle policy. Description pulumi.StringInput // The ARN of an IAM role that is able to be assumed by the DLM service. ExecutionRoleArn pulumi.StringInput // See the `policyDetails` configuration block. Max of 1. PolicyDetails LifecyclePolicyPolicyDetailsInput // Whether the lifecycle policy should be enabled or disabled. `ENABLED` or `DISABLED` are valid values. Defaults to `ENABLED`. State pulumi.StringPtrInput // Key-value mapping of resource tags. Tags pulumi.MapInput }
The set of arguments for constructing a LifecyclePolicy resource.
func (LifecyclePolicyArgs) ElementType ¶
func (LifecyclePolicyArgs) ElementType() reflect.Type
type LifecyclePolicyPolicyDetails ¶
type LifecyclePolicyPolicyDetails struct { // A list of resource types that should be targeted by the lifecycle policy. `VOLUME` is currently the only allowed value. ResourceTypes []string `pulumi:"resourceTypes"` // See the `schedule` configuration block. Schedules []LifecyclePolicyPolicyDetailsSchedule `pulumi:"schedules"` // A mapping of tag keys and their values. Any resources that match the `resourceTypes` and are tagged with _any_ of these tags will be targeted. TargetTags map[string]interface{} `pulumi:"targetTags"` }
type LifecyclePolicyPolicyDetailsArgs ¶
type LifecyclePolicyPolicyDetailsArgs struct { // A list of resource types that should be targeted by the lifecycle policy. `VOLUME` is currently the only allowed value. ResourceTypes pulumi.StringArrayInput `pulumi:"resourceTypes"` // See the `schedule` configuration block. Schedules LifecyclePolicyPolicyDetailsScheduleArrayInput `pulumi:"schedules"` // A mapping of tag keys and their values. Any resources that match the `resourceTypes` and are tagged with _any_ of these tags will be targeted. TargetTags pulumi.MapInput `pulumi:"targetTags"` }
func (LifecyclePolicyPolicyDetailsArgs) ElementType ¶
func (LifecyclePolicyPolicyDetailsArgs) ElementType() reflect.Type
func (LifecyclePolicyPolicyDetailsArgs) ToLifecyclePolicyPolicyDetailsOutput ¶
func (i LifecyclePolicyPolicyDetailsArgs) ToLifecyclePolicyPolicyDetailsOutput() LifecyclePolicyPolicyDetailsOutput
func (LifecyclePolicyPolicyDetailsArgs) ToLifecyclePolicyPolicyDetailsOutputWithContext ¶
func (i LifecyclePolicyPolicyDetailsArgs) ToLifecyclePolicyPolicyDetailsOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsOutput
func (LifecyclePolicyPolicyDetailsArgs) ToLifecyclePolicyPolicyDetailsPtrOutput ¶
func (i LifecyclePolicyPolicyDetailsArgs) ToLifecyclePolicyPolicyDetailsPtrOutput() LifecyclePolicyPolicyDetailsPtrOutput
func (LifecyclePolicyPolicyDetailsArgs) ToLifecyclePolicyPolicyDetailsPtrOutputWithContext ¶
func (i LifecyclePolicyPolicyDetailsArgs) ToLifecyclePolicyPolicyDetailsPtrOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsPtrOutput
type LifecyclePolicyPolicyDetailsInput ¶
type LifecyclePolicyPolicyDetailsInput interface { pulumi.Input ToLifecyclePolicyPolicyDetailsOutput() LifecyclePolicyPolicyDetailsOutput ToLifecyclePolicyPolicyDetailsOutputWithContext(context.Context) LifecyclePolicyPolicyDetailsOutput }
LifecyclePolicyPolicyDetailsInput is an input type that accepts LifecyclePolicyPolicyDetailsArgs and LifecyclePolicyPolicyDetailsOutput values. You can construct a concrete instance of `LifecyclePolicyPolicyDetailsInput` via:
LifecyclePolicyPolicyDetailsArgs{...}
type LifecyclePolicyPolicyDetailsOutput ¶
type LifecyclePolicyPolicyDetailsOutput struct{ *pulumi.OutputState }
func (LifecyclePolicyPolicyDetailsOutput) ElementType ¶
func (LifecyclePolicyPolicyDetailsOutput) ElementType() reflect.Type
func (LifecyclePolicyPolicyDetailsOutput) ResourceTypes ¶
func (o LifecyclePolicyPolicyDetailsOutput) ResourceTypes() pulumi.StringArrayOutput
A list of resource types that should be targeted by the lifecycle policy. `VOLUME` is currently the only allowed value.
func (LifecyclePolicyPolicyDetailsOutput) Schedules ¶
func (o LifecyclePolicyPolicyDetailsOutput) Schedules() LifecyclePolicyPolicyDetailsScheduleArrayOutput
See the `schedule` configuration block.
func (LifecyclePolicyPolicyDetailsOutput) TargetTags ¶
func (o LifecyclePolicyPolicyDetailsOutput) TargetTags() pulumi.MapOutput
A mapping of tag keys and their values. Any resources that match the `resourceTypes` and are tagged with _any_ of these tags will be targeted.
func (LifecyclePolicyPolicyDetailsOutput) ToLifecyclePolicyPolicyDetailsOutput ¶
func (o LifecyclePolicyPolicyDetailsOutput) ToLifecyclePolicyPolicyDetailsOutput() LifecyclePolicyPolicyDetailsOutput
func (LifecyclePolicyPolicyDetailsOutput) ToLifecyclePolicyPolicyDetailsOutputWithContext ¶
func (o LifecyclePolicyPolicyDetailsOutput) ToLifecyclePolicyPolicyDetailsOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsOutput
func (LifecyclePolicyPolicyDetailsOutput) ToLifecyclePolicyPolicyDetailsPtrOutput ¶
func (o LifecyclePolicyPolicyDetailsOutput) ToLifecyclePolicyPolicyDetailsPtrOutput() LifecyclePolicyPolicyDetailsPtrOutput
func (LifecyclePolicyPolicyDetailsOutput) ToLifecyclePolicyPolicyDetailsPtrOutputWithContext ¶
func (o LifecyclePolicyPolicyDetailsOutput) ToLifecyclePolicyPolicyDetailsPtrOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsPtrOutput
type LifecyclePolicyPolicyDetailsPtrInput ¶
type LifecyclePolicyPolicyDetailsPtrInput interface { pulumi.Input ToLifecyclePolicyPolicyDetailsPtrOutput() LifecyclePolicyPolicyDetailsPtrOutput ToLifecyclePolicyPolicyDetailsPtrOutputWithContext(context.Context) LifecyclePolicyPolicyDetailsPtrOutput }
LifecyclePolicyPolicyDetailsPtrInput is an input type that accepts LifecyclePolicyPolicyDetailsArgs, LifecyclePolicyPolicyDetailsPtr and LifecyclePolicyPolicyDetailsPtrOutput values. You can construct a concrete instance of `LifecyclePolicyPolicyDetailsPtrInput` via:
LifecyclePolicyPolicyDetailsArgs{...} or: nil
func LifecyclePolicyPolicyDetailsPtr ¶
func LifecyclePolicyPolicyDetailsPtr(v *LifecyclePolicyPolicyDetailsArgs) LifecyclePolicyPolicyDetailsPtrInput
type LifecyclePolicyPolicyDetailsPtrOutput ¶
type LifecyclePolicyPolicyDetailsPtrOutput struct{ *pulumi.OutputState }
func (LifecyclePolicyPolicyDetailsPtrOutput) ElementType ¶
func (LifecyclePolicyPolicyDetailsPtrOutput) ElementType() reflect.Type
func (LifecyclePolicyPolicyDetailsPtrOutput) ResourceTypes ¶
func (o LifecyclePolicyPolicyDetailsPtrOutput) ResourceTypes() pulumi.StringArrayOutput
A list of resource types that should be targeted by the lifecycle policy. `VOLUME` is currently the only allowed value.
func (LifecyclePolicyPolicyDetailsPtrOutput) Schedules ¶
func (o LifecyclePolicyPolicyDetailsPtrOutput) Schedules() LifecyclePolicyPolicyDetailsScheduleArrayOutput
See the `schedule` configuration block.
func (LifecyclePolicyPolicyDetailsPtrOutput) TargetTags ¶
func (o LifecyclePolicyPolicyDetailsPtrOutput) TargetTags() pulumi.MapOutput
A mapping of tag keys and their values. Any resources that match the `resourceTypes` and are tagged with _any_ of these tags will be targeted.
func (LifecyclePolicyPolicyDetailsPtrOutput) ToLifecyclePolicyPolicyDetailsPtrOutput ¶
func (o LifecyclePolicyPolicyDetailsPtrOutput) ToLifecyclePolicyPolicyDetailsPtrOutput() LifecyclePolicyPolicyDetailsPtrOutput
func (LifecyclePolicyPolicyDetailsPtrOutput) ToLifecyclePolicyPolicyDetailsPtrOutputWithContext ¶
func (o LifecyclePolicyPolicyDetailsPtrOutput) ToLifecyclePolicyPolicyDetailsPtrOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsPtrOutput
type LifecyclePolicyPolicyDetailsSchedule ¶
type LifecyclePolicyPolicyDetailsSchedule struct { // Copy all user-defined tags on a source volume to snapshots of the volume created by this policy. CopyTags *bool `pulumi:"copyTags"` // See the `createRule` block. Max of 1 per schedule. CreateRule LifecyclePolicyPolicyDetailsScheduleCreateRule `pulumi:"createRule"` // A name for the schedule. Name string `pulumi:"name"` // See the `retainRule` block. Max of 1 per schedule. RetainRule LifecyclePolicyPolicyDetailsScheduleRetainRule `pulumi:"retainRule"` // A mapping of tag keys and their values. DLM lifecycle policies will already tag the snapshot with the tags on the volume. This configuration adds extra tags on top of these. TagsToAdd map[string]interface{} `pulumi:"tagsToAdd"` }
type LifecyclePolicyPolicyDetailsScheduleArgs ¶
type LifecyclePolicyPolicyDetailsScheduleArgs struct { // Copy all user-defined tags on a source volume to snapshots of the volume created by this policy. CopyTags pulumi.BoolPtrInput `pulumi:"copyTags"` // See the `createRule` block. Max of 1 per schedule. CreateRule LifecyclePolicyPolicyDetailsScheduleCreateRuleInput `pulumi:"createRule"` // A name for the schedule. Name pulumi.StringInput `pulumi:"name"` // See the `retainRule` block. Max of 1 per schedule. RetainRule LifecyclePolicyPolicyDetailsScheduleRetainRuleInput `pulumi:"retainRule"` // A mapping of tag keys and their values. DLM lifecycle policies will already tag the snapshot with the tags on the volume. This configuration adds extra tags on top of these. TagsToAdd pulumi.MapInput `pulumi:"tagsToAdd"` }
func (LifecyclePolicyPolicyDetailsScheduleArgs) ElementType ¶
func (LifecyclePolicyPolicyDetailsScheduleArgs) ElementType() reflect.Type
func (LifecyclePolicyPolicyDetailsScheduleArgs) ToLifecyclePolicyPolicyDetailsScheduleOutput ¶
func (i LifecyclePolicyPolicyDetailsScheduleArgs) ToLifecyclePolicyPolicyDetailsScheduleOutput() LifecyclePolicyPolicyDetailsScheduleOutput
func (LifecyclePolicyPolicyDetailsScheduleArgs) ToLifecyclePolicyPolicyDetailsScheduleOutputWithContext ¶
func (i LifecyclePolicyPolicyDetailsScheduleArgs) ToLifecyclePolicyPolicyDetailsScheduleOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleOutput
type LifecyclePolicyPolicyDetailsScheduleArray ¶
type LifecyclePolicyPolicyDetailsScheduleArray []LifecyclePolicyPolicyDetailsScheduleInput
func (LifecyclePolicyPolicyDetailsScheduleArray) ElementType ¶
func (LifecyclePolicyPolicyDetailsScheduleArray) ElementType() reflect.Type
func (LifecyclePolicyPolicyDetailsScheduleArray) ToLifecyclePolicyPolicyDetailsScheduleArrayOutput ¶
func (i LifecyclePolicyPolicyDetailsScheduleArray) ToLifecyclePolicyPolicyDetailsScheduleArrayOutput() LifecyclePolicyPolicyDetailsScheduleArrayOutput
func (LifecyclePolicyPolicyDetailsScheduleArray) ToLifecyclePolicyPolicyDetailsScheduleArrayOutputWithContext ¶
func (i LifecyclePolicyPolicyDetailsScheduleArray) ToLifecyclePolicyPolicyDetailsScheduleArrayOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleArrayOutput
type LifecyclePolicyPolicyDetailsScheduleArrayInput ¶
type LifecyclePolicyPolicyDetailsScheduleArrayInput interface { pulumi.Input ToLifecyclePolicyPolicyDetailsScheduleArrayOutput() LifecyclePolicyPolicyDetailsScheduleArrayOutput ToLifecyclePolicyPolicyDetailsScheduleArrayOutputWithContext(context.Context) LifecyclePolicyPolicyDetailsScheduleArrayOutput }
LifecyclePolicyPolicyDetailsScheduleArrayInput is an input type that accepts LifecyclePolicyPolicyDetailsScheduleArray and LifecyclePolicyPolicyDetailsScheduleArrayOutput values. You can construct a concrete instance of `LifecyclePolicyPolicyDetailsScheduleArrayInput` via:
LifecyclePolicyPolicyDetailsScheduleArray{ LifecyclePolicyPolicyDetailsScheduleArgs{...} }
type LifecyclePolicyPolicyDetailsScheduleArrayOutput ¶
type LifecyclePolicyPolicyDetailsScheduleArrayOutput struct{ *pulumi.OutputState }
func (LifecyclePolicyPolicyDetailsScheduleArrayOutput) ElementType ¶
func (LifecyclePolicyPolicyDetailsScheduleArrayOutput) ElementType() reflect.Type
func (LifecyclePolicyPolicyDetailsScheduleArrayOutput) ToLifecyclePolicyPolicyDetailsScheduleArrayOutput ¶
func (o LifecyclePolicyPolicyDetailsScheduleArrayOutput) ToLifecyclePolicyPolicyDetailsScheduleArrayOutput() LifecyclePolicyPolicyDetailsScheduleArrayOutput
func (LifecyclePolicyPolicyDetailsScheduleArrayOutput) ToLifecyclePolicyPolicyDetailsScheduleArrayOutputWithContext ¶
func (o LifecyclePolicyPolicyDetailsScheduleArrayOutput) ToLifecyclePolicyPolicyDetailsScheduleArrayOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleArrayOutput
type LifecyclePolicyPolicyDetailsScheduleCreateRule ¶
type LifecyclePolicyPolicyDetailsScheduleCreateRule struct { // How often this lifecycle policy should be evaluated. `1`, `2`,`3`,`4`,`6`,`8`,`12` or `24` are valid values. Interval int `pulumi:"interval"` // The unit for how often the lifecycle policy should be evaluated. `HOURS` is currently the only allowed value and also the default value. IntervalUnit *string `pulumi:"intervalUnit"` // A list of times in 24 hour clock format that sets when the lifecycle policy should be evaluated. Max of 1. Times *string `pulumi:"times"` }
type LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs ¶
type LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs struct { // How often this lifecycle policy should be evaluated. `1`, `2`,`3`,`4`,`6`,`8`,`12` or `24` are valid values. Interval pulumi.IntInput `pulumi:"interval"` // The unit for how often the lifecycle policy should be evaluated. `HOURS` is currently the only allowed value and also the default value. IntervalUnit pulumi.StringPtrInput `pulumi:"intervalUnit"` // A list of times in 24 hour clock format that sets when the lifecycle policy should be evaluated. Max of 1. Times pulumi.StringPtrInput `pulumi:"times"` }
func (LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs) ElementType ¶
func (LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs) ElementType() reflect.Type
func (LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs) ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutput ¶
func (i LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs) ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutput() LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput
func (LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs) ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutputWithContext ¶
func (i LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs) ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput
type LifecyclePolicyPolicyDetailsScheduleCreateRuleInput ¶
type LifecyclePolicyPolicyDetailsScheduleCreateRuleInput interface { pulumi.Input ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutput() LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutputWithContext(context.Context) LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput }
LifecyclePolicyPolicyDetailsScheduleCreateRuleInput is an input type that accepts LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs and LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput values. You can construct a concrete instance of `LifecyclePolicyPolicyDetailsScheduleCreateRuleInput` via:
LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs{...}
type LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput ¶
type LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput struct{ *pulumi.OutputState }
func (LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) ElementType ¶
func (LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) ElementType() reflect.Type
func (LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) Interval ¶
func (o LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) Interval() pulumi.IntOutput
How often this lifecycle policy should be evaluated. `1`, `2`,`3`,`4`,`6`,`8`,`12` or `24` are valid values.
func (LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) IntervalUnit ¶
func (o LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) IntervalUnit() pulumi.StringPtrOutput
The unit for how often the lifecycle policy should be evaluated. `HOURS` is currently the only allowed value and also the default value.
func (LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) Times ¶
func (o LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) Times() pulumi.StringPtrOutput
A list of times in 24 hour clock format that sets when the lifecycle policy should be evaluated. Max of 1.
func (LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutput ¶
func (o LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutput() LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput
func (LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutputWithContext ¶
func (o LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput) ToLifecyclePolicyPolicyDetailsScheduleCreateRuleOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput
type LifecyclePolicyPolicyDetailsScheduleInput ¶
type LifecyclePolicyPolicyDetailsScheduleInput interface { pulumi.Input ToLifecyclePolicyPolicyDetailsScheduleOutput() LifecyclePolicyPolicyDetailsScheduleOutput ToLifecyclePolicyPolicyDetailsScheduleOutputWithContext(context.Context) LifecyclePolicyPolicyDetailsScheduleOutput }
LifecyclePolicyPolicyDetailsScheduleInput is an input type that accepts LifecyclePolicyPolicyDetailsScheduleArgs and LifecyclePolicyPolicyDetailsScheduleOutput values. You can construct a concrete instance of `LifecyclePolicyPolicyDetailsScheduleInput` via:
LifecyclePolicyPolicyDetailsScheduleArgs{...}
type LifecyclePolicyPolicyDetailsScheduleOutput ¶
type LifecyclePolicyPolicyDetailsScheduleOutput struct{ *pulumi.OutputState }
func (LifecyclePolicyPolicyDetailsScheduleOutput) CopyTags ¶
func (o LifecyclePolicyPolicyDetailsScheduleOutput) CopyTags() pulumi.BoolPtrOutput
Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.
func (LifecyclePolicyPolicyDetailsScheduleOutput) CreateRule ¶
func (o LifecyclePolicyPolicyDetailsScheduleOutput) CreateRule() LifecyclePolicyPolicyDetailsScheduleCreateRuleOutput
See the `createRule` block. Max of 1 per schedule.
func (LifecyclePolicyPolicyDetailsScheduleOutput) ElementType ¶
func (LifecyclePolicyPolicyDetailsScheduleOutput) ElementType() reflect.Type
func (LifecyclePolicyPolicyDetailsScheduleOutput) Name ¶
func (o LifecyclePolicyPolicyDetailsScheduleOutput) Name() pulumi.StringOutput
A name for the schedule.
func (LifecyclePolicyPolicyDetailsScheduleOutput) RetainRule ¶
func (o LifecyclePolicyPolicyDetailsScheduleOutput) RetainRule() LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput
See the `retainRule` block. Max of 1 per schedule.
func (LifecyclePolicyPolicyDetailsScheduleOutput) TagsToAdd ¶
func (o LifecyclePolicyPolicyDetailsScheduleOutput) TagsToAdd() pulumi.MapOutput
A mapping of tag keys and their values. DLM lifecycle policies will already tag the snapshot with the tags on the volume. This configuration adds extra tags on top of these.
func (LifecyclePolicyPolicyDetailsScheduleOutput) ToLifecyclePolicyPolicyDetailsScheduleOutput ¶
func (o LifecyclePolicyPolicyDetailsScheduleOutput) ToLifecyclePolicyPolicyDetailsScheduleOutput() LifecyclePolicyPolicyDetailsScheduleOutput
func (LifecyclePolicyPolicyDetailsScheduleOutput) ToLifecyclePolicyPolicyDetailsScheduleOutputWithContext ¶
func (o LifecyclePolicyPolicyDetailsScheduleOutput) ToLifecyclePolicyPolicyDetailsScheduleOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleOutput
type LifecyclePolicyPolicyDetailsScheduleRetainRule ¶
type LifecyclePolicyPolicyDetailsScheduleRetainRule struct { // How many snapshots to keep. Must be an integer between 1 and 1000. Count int `pulumi:"count"` }
type LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs ¶
type LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs struct { // How many snapshots to keep. Must be an integer between 1 and 1000. Count pulumi.IntInput `pulumi:"count"` }
func (LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs) ElementType ¶
func (LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs) ElementType() reflect.Type
func (LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs) ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutput ¶
func (i LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs) ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutput() LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput
func (LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs) ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutputWithContext ¶
func (i LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs) ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput
type LifecyclePolicyPolicyDetailsScheduleRetainRuleInput ¶
type LifecyclePolicyPolicyDetailsScheduleRetainRuleInput interface { pulumi.Input ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutput() LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutputWithContext(context.Context) LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput }
LifecyclePolicyPolicyDetailsScheduleRetainRuleInput is an input type that accepts LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs and LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput values. You can construct a concrete instance of `LifecyclePolicyPolicyDetailsScheduleRetainRuleInput` via:
LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs{...}
type LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput ¶
type LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput struct{ *pulumi.OutputState }
func (LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput) Count ¶
func (o LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput) Count() pulumi.IntOutput
How many snapshots to keep. Must be an integer between 1 and 1000.
func (LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput) ElementType ¶
func (LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput) ElementType() reflect.Type
func (LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput) ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutput ¶
func (o LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput) ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutput() LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput
func (LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput) ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutputWithContext ¶
func (o LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput) ToLifecyclePolicyPolicyDetailsScheduleRetainRuleOutputWithContext(ctx context.Context) LifecyclePolicyPolicyDetailsScheduleRetainRuleOutput
type LifecyclePolicyState ¶
type LifecyclePolicyState struct { // Amazon Resource Name (ARN) of the DLM Lifecycle Policy. Arn pulumi.StringPtrInput // A description for the DLM lifecycle policy. Description pulumi.StringPtrInput // The ARN of an IAM role that is able to be assumed by the DLM service. ExecutionRoleArn pulumi.StringPtrInput // See the `policyDetails` configuration block. Max of 1. PolicyDetails LifecyclePolicyPolicyDetailsPtrInput // Whether the lifecycle policy should be enabled or disabled. `ENABLED` or `DISABLED` are valid values. Defaults to `ENABLED`. State pulumi.StringPtrInput // Key-value mapping of resource tags. Tags pulumi.MapInput }
func (LifecyclePolicyState) ElementType ¶
func (LifecyclePolicyState) ElementType() reflect.Type