-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsiotanalytics_CfnChannel_ChannelStorageProperty.go
36 lines (33 loc) · 1.42 KB
/
awsiotanalytics_CfnChannel_ChannelStorageProperty.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
package awsiotanalytics
// Where channel data is stored.
//
// You may choose one of `serviceManagedS3` , `customerManagedS3` storage. If not specified, the default is `serviceManagedS3` . This can't be changed after creation of the channel.
//
// 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"
//
// var serviceManagedS3 interface{}
//
// channelStorageProperty := &channelStorageProperty{
// customerManagedS3: &customerManagedS3Property{
// bucket: jsii.String("bucket"),
// roleArn: jsii.String("roleArn"),
//
// // the properties below are optional
// keyPrefix: jsii.String("keyPrefix"),
// },
// serviceManagedS3: serviceManagedS3,
// }
//
type CfnChannel_ChannelStorageProperty struct {
// Used to store channel data in an S3 bucket that you manage.
//
// If customer managed storage is selected, the `retentionPeriod` parameter is ignored. You can't change the choice of S3 storage after the data store is created.
CustomerManagedS3 interface{} `field:"optional" json:"customerManagedS3" yaml:"customerManagedS3"`
// Used to store channel data in an S3 bucket managed by AWS IoT Analytics .
//
// You can't change the choice of S3 storage after the data store is created.
ServiceManagedS3 interface{} `field:"optional" json:"serviceManagedS3" yaml:"serviceManagedS3"`
}