Documentation
¶
Index ¶
- func CfnLifecyclePolicy_CFN_RESOURCE_TYPE_NAME() *string
- func CfnLifecyclePolicy_IsCfnElement(x interface{}) *bool
- func CfnLifecyclePolicy_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnLifecyclePolicy_IsConstruct(x interface{}) *bool
- func NewCfnLifecyclePolicy_Override(c CfnLifecyclePolicy, scope constructs.Construct, id *string, ...)
- type CfnLifecyclePolicy
- type CfnLifecyclePolicyProps
- type CfnLifecyclePolicy_ActionProperty
- type CfnLifecyclePolicy_CreateRuleProperty
- type CfnLifecyclePolicy_CrossRegionCopyActionProperty
- type CfnLifecyclePolicy_CrossRegionCopyDeprecateRuleProperty
- type CfnLifecyclePolicy_CrossRegionCopyRetainRuleProperty
- type CfnLifecyclePolicy_CrossRegionCopyRuleProperty
- type CfnLifecyclePolicy_DeprecateRuleProperty
- type CfnLifecyclePolicy_EncryptionConfigurationProperty
- type CfnLifecyclePolicy_EventParametersProperty
- type CfnLifecyclePolicy_EventSourceProperty
- type CfnLifecyclePolicy_FastRestoreRuleProperty
- type CfnLifecyclePolicy_ParametersProperty
- type CfnLifecyclePolicy_PolicyDetailsProperty
- type CfnLifecyclePolicy_RetainRuleProperty
- type CfnLifecyclePolicy_ScheduleProperty
- type CfnLifecyclePolicy_ShareRuleProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnLifecyclePolicy_CFN_RESOURCE_TYPE_NAME ¶
func CfnLifecyclePolicy_CFN_RESOURCE_TYPE_NAME() *string
func CfnLifecyclePolicy_IsCfnElement ¶
func CfnLifecyclePolicy_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnLifecyclePolicy_IsCfnResource ¶
func CfnLifecyclePolicy_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnLifecyclePolicy_IsConstruct ¶
func CfnLifecyclePolicy_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func NewCfnLifecyclePolicy_Override ¶
func NewCfnLifecyclePolicy_Override(c CfnLifecyclePolicy, scope constructs.Construct, id *string, props *CfnLifecyclePolicyProps)
Create a new `AWS::DLM::LifecyclePolicy`.
Types ¶
type CfnLifecyclePolicy ¶
type CfnLifecyclePolicy interface {
awscdk.CfnResource
awscdk.IInspectable
AttrArn() *string
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnResourceType() *string
CreationStack() *[]*string
Description() *string
SetDescription(val *string)
ExecutionRoleArn() *string
SetExecutionRoleArn(val *string)
LogicalId() *string
Node() constructs.Node
PolicyDetails() interface{}
SetPolicyDetails(val interface{})
Ref() *string
Stack() awscdk.Stack
State() *string
SetState(val *string)
Tags() awscdk.TagManager
UpdatedProperites() *map[string]interface{}
AddDeletionOverride(path *string)
AddDependsOn(target awscdk.CfnResource)
AddMetadata(key *string, value interface{})
AddOverride(path *string, value interface{})
AddPropertyDeletionOverride(propertyPath *string)
AddPropertyOverride(propertyPath *string, value interface{})
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
GetAtt(attributeName *string) awscdk.Reference
GetMetadata(key *string) interface{}
Inspect(inspector awscdk.TreeInspector)
OverrideLogicalId(newLogicalId *string)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
ShouldSynthesize() *bool
ToString() *string
ValidateProperties(_properties interface{})
}
A CloudFormation `AWS::DLM::LifecyclePolicy`.
TODO: EXAMPLE
func NewCfnLifecyclePolicy ¶
func NewCfnLifecyclePolicy(scope constructs.Construct, id *string, props *CfnLifecyclePolicyProps) CfnLifecyclePolicy
Create a new `AWS::DLM::LifecyclePolicy`.
type CfnLifecyclePolicyProps ¶
type CfnLifecyclePolicyProps struct {
// `AWS::DLM::LifecyclePolicy.Description`.
Description *string `json:"description"`
// `AWS::DLM::LifecyclePolicy.ExecutionRoleArn`.
ExecutionRoleArn *string `json:"executionRoleArn"`
// `AWS::DLM::LifecyclePolicy.PolicyDetails`.
PolicyDetails interface{} `json:"policyDetails"`
// `AWS::DLM::LifecyclePolicy.State`.
State *string `json:"state"`
// `AWS::DLM::LifecyclePolicy.Tags`.
Tags *[]*awscdk.CfnTag `json:"tags"`
}
Properties for defining a `AWS::DLM::LifecyclePolicy`.
TODO: EXAMPLE
type CfnLifecyclePolicy_ActionProperty ¶
type CfnLifecyclePolicy_ActionProperty struct {
// `CfnLifecyclePolicy.ActionProperty.CrossRegionCopy`.
CrossRegionCopy interface{} `json:"crossRegionCopy"`
// `CfnLifecyclePolicy.ActionProperty.Name`.
Name *string `json:"name"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_CreateRuleProperty ¶
type CfnLifecyclePolicy_CreateRuleProperty struct {
// `CfnLifecyclePolicy.CreateRuleProperty.CronExpression`.
CronExpression *string `json:"cronExpression"`
// `CfnLifecyclePolicy.CreateRuleProperty.Interval`.
Interval *float64 `json:"interval"`
// `CfnLifecyclePolicy.CreateRuleProperty.IntervalUnit`.
IntervalUnit *string `json:"intervalUnit"`
// `CfnLifecyclePolicy.CreateRuleProperty.Location`.
Location *string `json:"location"`
// `CfnLifecyclePolicy.CreateRuleProperty.Times`.
Times *[]*string `json:"times"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_CrossRegionCopyActionProperty ¶
type CfnLifecyclePolicy_CrossRegionCopyActionProperty struct {
// `CfnLifecyclePolicy.CrossRegionCopyActionProperty.EncryptionConfiguration`.
EncryptionConfiguration interface{} `json:"encryptionConfiguration"`
// `CfnLifecyclePolicy.CrossRegionCopyActionProperty.RetainRule`.
RetainRule interface{} `json:"retainRule"`
// `CfnLifecyclePolicy.CrossRegionCopyActionProperty.Target`.
Target *string `json:"target"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_CrossRegionCopyDeprecateRuleProperty ¶
type CfnLifecyclePolicy_CrossRegionCopyDeprecateRuleProperty struct {
// `CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty.Interval`.
Interval *float64 `json:"interval"`
// `CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty.IntervalUnit`.
IntervalUnit *string `json:"intervalUnit"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_CrossRegionCopyRetainRuleProperty ¶
type CfnLifecyclePolicy_CrossRegionCopyRetainRuleProperty struct {
// `CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Interval`.
Interval *float64 `json:"interval"`
// `CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.IntervalUnit`.
IntervalUnit *string `json:"intervalUnit"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_CrossRegionCopyRuleProperty ¶
type CfnLifecyclePolicy_CrossRegionCopyRuleProperty struct {
// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.CmkArn`.
CmkArn *string `json:"cmkArn"`
// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.CopyTags`.
CopyTags interface{} `json:"copyTags"`
// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.DeprecateRule`.
DeprecateRule interface{} `json:"deprecateRule"`
// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.Encrypted`.
Encrypted interface{} `json:"encrypted"`
// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.RetainRule`.
RetainRule interface{} `json:"retainRule"`
// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.Target`.
Target *string `json:"target"`
// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.TargetRegion`.
TargetRegion *string `json:"targetRegion"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_DeprecateRuleProperty ¶
type CfnLifecyclePolicy_DeprecateRuleProperty struct {
// `CfnLifecyclePolicy.DeprecateRuleProperty.Count`.
Count *float64 `json:"count"`
// `CfnLifecyclePolicy.DeprecateRuleProperty.Interval`.
Interval *float64 `json:"interval"`
// `CfnLifecyclePolicy.DeprecateRuleProperty.IntervalUnit`.
IntervalUnit *string `json:"intervalUnit"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_EncryptionConfigurationProperty ¶
type CfnLifecyclePolicy_EncryptionConfigurationProperty struct {
// `CfnLifecyclePolicy.EncryptionConfigurationProperty.CmkArn`.
CmkArn *string `json:"cmkArn"`
// `CfnLifecyclePolicy.EncryptionConfigurationProperty.Encrypted`.
Encrypted interface{} `json:"encrypted"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_EventParametersProperty ¶
type CfnLifecyclePolicy_EventParametersProperty struct {
// `CfnLifecyclePolicy.EventParametersProperty.DescriptionRegex`.
DescriptionRegex *string `json:"descriptionRegex"`
// `CfnLifecyclePolicy.EventParametersProperty.EventType`.
EventType *string `json:"eventType"`
// `CfnLifecyclePolicy.EventParametersProperty.SnapshotOwner`.
SnapshotOwner *[]*string `json:"snapshotOwner"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_EventSourceProperty ¶
type CfnLifecyclePolicy_EventSourceProperty struct {
// `CfnLifecyclePolicy.EventSourceProperty.Parameters`.
Parameters interface{} `json:"parameters"`
// `CfnLifecyclePolicy.EventSourceProperty.Type`.
Type *string `json:"type"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_FastRestoreRuleProperty ¶
type CfnLifecyclePolicy_FastRestoreRuleProperty struct {
// `CfnLifecyclePolicy.FastRestoreRuleProperty.AvailabilityZones`.
AvailabilityZones *[]*string `json:"availabilityZones"`
// `CfnLifecyclePolicy.FastRestoreRuleProperty.Count`.
Count *float64 `json:"count"`
// `CfnLifecyclePolicy.FastRestoreRuleProperty.Interval`.
Interval *float64 `json:"interval"`
// `CfnLifecyclePolicy.FastRestoreRuleProperty.IntervalUnit`.
IntervalUnit *string `json:"intervalUnit"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_ParametersProperty ¶
type CfnLifecyclePolicy_ParametersProperty struct {
// `CfnLifecyclePolicy.ParametersProperty.ExcludeBootVolume`.
ExcludeBootVolume interface{} `json:"excludeBootVolume"`
// `CfnLifecyclePolicy.ParametersProperty.NoReboot`.
NoReboot interface{} `json:"noReboot"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_PolicyDetailsProperty ¶
type CfnLifecyclePolicy_PolicyDetailsProperty struct {
// `CfnLifecyclePolicy.PolicyDetailsProperty.Actions`.
Actions interface{} `json:"actions"`
// `CfnLifecyclePolicy.PolicyDetailsProperty.EventSource`.
EventSource interface{} `json:"eventSource"`
// `CfnLifecyclePolicy.PolicyDetailsProperty.Parameters`.
Parameters interface{} `json:"parameters"`
// `CfnLifecyclePolicy.PolicyDetailsProperty.PolicyType`.
PolicyType *string `json:"policyType"`
// `CfnLifecyclePolicy.PolicyDetailsProperty.ResourceLocations`.
ResourceLocations *[]*string `json:"resourceLocations"`
// `CfnLifecyclePolicy.PolicyDetailsProperty.ResourceTypes`.
ResourceTypes *[]*string `json:"resourceTypes"`
// `CfnLifecyclePolicy.PolicyDetailsProperty.Schedules`.
Schedules interface{} `json:"schedules"`
// `CfnLifecyclePolicy.PolicyDetailsProperty.TargetTags`.
TargetTags interface{} `json:"targetTags"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_RetainRuleProperty ¶
type CfnLifecyclePolicy_RetainRuleProperty struct {
// `CfnLifecyclePolicy.RetainRuleProperty.Count`.
Count *float64 `json:"count"`
// `CfnLifecyclePolicy.RetainRuleProperty.Interval`.
Interval *float64 `json:"interval"`
// `CfnLifecyclePolicy.RetainRuleProperty.IntervalUnit`.
IntervalUnit *string `json:"intervalUnit"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_ScheduleProperty ¶
type CfnLifecyclePolicy_ScheduleProperty struct {
// `CfnLifecyclePolicy.ScheduleProperty.CopyTags`.
CopyTags interface{} `json:"copyTags"`
// `CfnLifecyclePolicy.ScheduleProperty.CreateRule`.
CreateRule interface{} `json:"createRule"`
// `CfnLifecyclePolicy.ScheduleProperty.CrossRegionCopyRules`.
CrossRegionCopyRules interface{} `json:"crossRegionCopyRules"`
// `CfnLifecyclePolicy.ScheduleProperty.DeprecateRule`.
DeprecateRule interface{} `json:"deprecateRule"`
// `CfnLifecyclePolicy.ScheduleProperty.FastRestoreRule`.
FastRestoreRule interface{} `json:"fastRestoreRule"`
// `CfnLifecyclePolicy.ScheduleProperty.Name`.
Name *string `json:"name"`
// `CfnLifecyclePolicy.ScheduleProperty.RetainRule`.
RetainRule interface{} `json:"retainRule"`
ShareRules interface{} `json:"shareRules"`
// `CfnLifecyclePolicy.ScheduleProperty.TagsToAdd`.
TagsToAdd interface{} `json:"tagsToAdd"`
// `CfnLifecyclePolicy.ScheduleProperty.VariableTags`.
VariableTags interface{} `json:"variableTags"`
}
TODO: EXAMPLE
type CfnLifecyclePolicy_ShareRuleProperty ¶
type CfnLifecyclePolicy_ShareRuleProperty struct {
TargetAccounts *[]*string `json:"targetAccounts"`
UnshareInterval *float64 `json:"unshareInterval"`
UnshareIntervalUnit *string `json:"unshareIntervalUnit"`
}
TODO: EXAMPLE