awsdlm

package
v1.124.0-devpreview Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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. Experimental.

func CfnLifecyclePolicy_IsCfnResource

func CfnLifecyclePolicy_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnLifecyclePolicy_IsConstruct

func CfnLifecyclePolicy_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func NewCfnLifecyclePolicy_Override

func NewCfnLifecyclePolicy_Override(c CfnLifecyclePolicy, scope awscdk.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() awscdk.ConstructNode
	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)
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	OverrideLogicalId(newLogicalId *string)
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	ShouldSynthesize() *bool
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::DLM::LifecyclePolicy`.

func NewCfnLifecyclePolicy

func NewCfnLifecyclePolicy(scope awscdk.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`.

type CfnLifecyclePolicy_ActionProperty

type CfnLifecyclePolicy_ActionProperty struct {
	// `CfnLifecyclePolicy.ActionProperty.CrossRegionCopy`.
	CrossRegionCopy interface{} `json:"crossRegionCopy"`
	// `CfnLifecyclePolicy.ActionProperty.Name`.
	Name *string `json:"name"`
}

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"`
}

type CfnLifecyclePolicy_CrossRegionCopyActionProperty

type CfnLifecyclePolicy_CrossRegionCopyActionProperty struct {
	// `CfnLifecyclePolicy.CrossRegionCopyActionProperty.EncryptionConfiguration`.
	EncryptionConfiguration interface{} `json:"encryptionConfiguration"`
	// `CfnLifecyclePolicy.CrossRegionCopyActionProperty.Target`.
	Target *string `json:"target"`
	// `CfnLifecyclePolicy.CrossRegionCopyActionProperty.RetainRule`.
	RetainRule interface{} `json:"retainRule"`
}

type CfnLifecyclePolicy_CrossRegionCopyDeprecateRuleProperty

type CfnLifecyclePolicy_CrossRegionCopyDeprecateRuleProperty struct {
	// `CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty.Interval`.
	Interval *float64 `json:"interval"`
	// `CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty.IntervalUnit`.
	IntervalUnit *string `json:"intervalUnit"`
}

type CfnLifecyclePolicy_CrossRegionCopyRetainRuleProperty

type CfnLifecyclePolicy_CrossRegionCopyRetainRuleProperty struct {
	// `CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Interval`.
	Interval *float64 `json:"interval"`
	// `CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.IntervalUnit`.
	IntervalUnit *string `json:"intervalUnit"`
}

type CfnLifecyclePolicy_CrossRegionCopyRuleProperty

type CfnLifecyclePolicy_CrossRegionCopyRuleProperty struct {
	// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.Encrypted`.
	Encrypted interface{} `json:"encrypted"`
	// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.CmkArn`.
	CmkArn *string `json:"cmkArn"`
	// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.CopyTags`.
	CopyTags interface{} `json:"copyTags"`
	// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.DeprecateRule`.
	DeprecateRule interface{} `json:"deprecateRule"`
	// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.RetainRule`.
	RetainRule interface{} `json:"retainRule"`
	// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.Target`.
	Target *string `json:"target"`
	// `CfnLifecyclePolicy.CrossRegionCopyRuleProperty.TargetRegion`.
	TargetRegion *string `json:"targetRegion"`
}

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"`
}

type CfnLifecyclePolicy_EncryptionConfigurationProperty

type CfnLifecyclePolicy_EncryptionConfigurationProperty struct {
	// `CfnLifecyclePolicy.EncryptionConfigurationProperty.Encrypted`.
	Encrypted interface{} `json:"encrypted"`
	// `CfnLifecyclePolicy.EncryptionConfigurationProperty.CmkArn`.
	CmkArn *string `json:"cmkArn"`
}

type CfnLifecyclePolicy_EventParametersProperty

type CfnLifecyclePolicy_EventParametersProperty struct {
	// `CfnLifecyclePolicy.EventParametersProperty.EventType`.
	EventType *string `json:"eventType"`
	// `CfnLifecyclePolicy.EventParametersProperty.SnapshotOwner`.
	SnapshotOwner *[]*string `json:"snapshotOwner"`
	// `CfnLifecyclePolicy.EventParametersProperty.DescriptionRegex`.
	DescriptionRegex *string `json:"descriptionRegex"`
}

type CfnLifecyclePolicy_EventSourceProperty

type CfnLifecyclePolicy_EventSourceProperty struct {
	// `CfnLifecyclePolicy.EventSourceProperty.Type`.
	Type *string `json:"type"`
	// `CfnLifecyclePolicy.EventSourceProperty.Parameters`.
	Parameters interface{} `json:"parameters"`
}

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"`
}

type CfnLifecyclePolicy_ParametersProperty

type CfnLifecyclePolicy_ParametersProperty struct {
	// `CfnLifecyclePolicy.ParametersProperty.ExcludeBootVolume`.
	ExcludeBootVolume interface{} `json:"excludeBootVolume"`
	// `CfnLifecyclePolicy.ParametersProperty.NoReboot`.
	NoReboot interface{} `json:"noReboot"`
}

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"`
}

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"`
}

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"`
	// `CfnLifecyclePolicy.ScheduleProperty.ShareRules`.
	ShareRules interface{} `json:"shareRules"`
	// `CfnLifecyclePolicy.ScheduleProperty.TagsToAdd`.
	TagsToAdd interface{} `json:"tagsToAdd"`
	// `CfnLifecyclePolicy.ScheduleProperty.VariableTags`.
	VariableTags interface{} `json:"variableTags"`
}

type CfnLifecyclePolicy_ShareRuleProperty

type CfnLifecyclePolicy_ShareRuleProperty struct {
	// `CfnLifecyclePolicy.ShareRuleProperty.TargetAccounts`.
	TargetAccounts *[]*string `json:"targetAccounts"`
	// `CfnLifecyclePolicy.ShareRuleProperty.UnshareInterval`.
	UnshareInterval *float64 `json:"unshareInterval"`
	// `CfnLifecyclePolicy.ShareRuleProperty.UnshareIntervalUnit`.
	UnshareIntervalUnit *string `json:"unshareIntervalUnit"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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