-
Notifications
You must be signed in to change notification settings - Fork 17
/
awss3_IntelligentTieringConfiguration.go
42 lines (39 loc) · 1.73 KB
/
awss3_IntelligentTieringConfiguration.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
37
38
39
40
41
package awss3
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// The intelligent tiering configuration.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import cdk "github.com/aws/aws-cdk-go/awscdk"
// import "github.com/aws/aws-cdk-go/awscdk"
//
// intelligentTieringConfiguration := &intelligentTieringConfiguration{
// name: jsii.String("name"),
//
// // the properties below are optional
// archiveAccessTierTime: cdk.duration.minutes(jsii.Number(30)),
// deepArchiveAccessTierTime: cdk.*duration.minutes(jsii.Number(30)),
// prefix: jsii.String("prefix"),
// tags: []tag{
// &tag{
// key: jsii.String("key"),
// value: jsii.String("value"),
// },
// },
// }
//
type IntelligentTieringConfiguration struct {
// Configuration name.
Name *string `field:"required" json:"name" yaml:"name"`
// When enabled, Intelligent-Tiering will automatically move objects that haven’t been accessed for a minimum of 90 days to the Archive Access tier.
ArchiveAccessTierTime awscdk.Duration `field:"optional" json:"archiveAccessTierTime" yaml:"archiveAccessTierTime"`
// When enabled, Intelligent-Tiering will automatically move objects that haven’t been accessed for a minimum of 180 days to the Deep Archive Access tier.
DeepArchiveAccessTierTime awscdk.Duration `field:"optional" json:"deepArchiveAccessTierTime" yaml:"deepArchiveAccessTierTime"`
// Add a filter to limit the scope of this configuration to a single prefix.
Prefix *string `field:"optional" json:"prefix" yaml:"prefix"`
// You can limit the scope of this rule to the key value pairs added below.
Tags *[]*Tag `field:"optional" json:"tags" yaml:"tags"`
}