-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnFileSystem_LifecyclePolicyProperty.go
37 lines (34 loc) · 2.3 KB
/
CfnFileSystem_LifecyclePolicyProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package awsefs
// Describes a policy used by EFS lifecycle management and EFS Intelligent-Tiering that specifies when to transition files into and out of the file system's Infrequent Access (IA) storage class.
//
// For more information, see [EFS Intelligent‐Tiering and EFS Lifecycle Management](https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html) .
//
// > - Each `LifecyclePolicy` object can have only a single transition. This means that in a request body, `LifecyclePolicies` must be structured as an array of `LifecyclePolicy` objects, one object for each transition, `TransitionToIA` , `TransitionToPrimaryStorageClass` .
// > - See the AWS::EFS::FileSystem examples for the correct `LifecyclePolicy` structure. Do not use the syntax shown on this page.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// lifecyclePolicyProperty := &LifecyclePolicyProperty{
// TransitionToIa: jsii.String("transitionToIa"),
// TransitionToPrimaryStorageClass: jsii.String("transitionToPrimaryStorageClass"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-lifecyclepolicy.html
//
type CfnFileSystem_LifecyclePolicyProperty struct {
// Describes the period of time that a file is not accessed, after which it transitions to IA storage.
//
// Metadata operations such as listing the contents of a directory don't count as file access events.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-lifecyclepolicy.html#cfn-efs-filesystem-lifecyclepolicy-transitiontoia
//
TransitionToIa *string `field:"optional" json:"transitionToIa" yaml:"transitionToIa"`
// Describes when to transition a file from IA storage to primary storage.
//
// Metadata operations such as listing the contents of a directory don't count as file access events.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-lifecyclepolicy.html#cfn-efs-filesystem-lifecyclepolicy-transitiontoprimarystorageclass
//
TransitionToPrimaryStorageClass *string `field:"optional" json:"transitionToPrimaryStorageClass" yaml:"transitionToPrimaryStorageClass"`
}