/
pulumiTypes.go
152 lines (117 loc) · 8.14 KB
/
pulumiTypes.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package macie
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/go/pulumi"
)
type S3BucketAssociationClassificationType struct {
// A string value indicating that Macie perform a one-time classification of all of the existing objects in the bucket.
// The only valid value is the default value, `FULL`.
Continuous *string `pulumi:"continuous"`
// A string value indicating whether or not Macie performs a one-time classification of all of the existing objects in the bucket.
// Valid values are `NONE` and `FULL`. Defaults to `NONE` indicating that Macie only classifies objects that are added after the association was created.
OneTime *string `pulumi:"oneTime"`
}
type S3BucketAssociationClassificationTypeInput interface {
pulumi.Input
ToS3BucketAssociationClassificationTypeOutput() S3BucketAssociationClassificationTypeOutput
ToS3BucketAssociationClassificationTypeOutputWithContext(context.Context) S3BucketAssociationClassificationTypeOutput
}
type S3BucketAssociationClassificationTypeArgs struct {
// A string value indicating that Macie perform a one-time classification of all of the existing objects in the bucket.
// The only valid value is the default value, `FULL`.
Continuous pulumi.StringPtrInput `pulumi:"continuous"`
// A string value indicating whether or not Macie performs a one-time classification of all of the existing objects in the bucket.
// Valid values are `NONE` and `FULL`. Defaults to `NONE` indicating that Macie only classifies objects that are added after the association was created.
OneTime pulumi.StringPtrInput `pulumi:"oneTime"`
}
func (S3BucketAssociationClassificationTypeArgs) ElementType() reflect.Type {
return reflect.TypeOf((*S3BucketAssociationClassificationType)(nil)).Elem()
}
func (i S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypeOutput() S3BucketAssociationClassificationTypeOutput {
return i.ToS3BucketAssociationClassificationTypeOutputWithContext(context.Background())
}
func (i S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypeOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypeOutput {
return pulumi.ToOutputWithContext(ctx, i).(S3BucketAssociationClassificationTypeOutput)
}
func (i S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypePtrOutput() S3BucketAssociationClassificationTypePtrOutput {
return i.ToS3BucketAssociationClassificationTypePtrOutputWithContext(context.Background())
}
func (i S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypePtrOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(S3BucketAssociationClassificationTypeOutput).ToS3BucketAssociationClassificationTypePtrOutputWithContext(ctx)
}
type S3BucketAssociationClassificationTypePtrInput interface {
pulumi.Input
ToS3BucketAssociationClassificationTypePtrOutput() S3BucketAssociationClassificationTypePtrOutput
ToS3BucketAssociationClassificationTypePtrOutputWithContext(context.Context) S3BucketAssociationClassificationTypePtrOutput
}
type s3bucketAssociationClassificationTypePtrType S3BucketAssociationClassificationTypeArgs
func S3BucketAssociationClassificationTypePtr(v *S3BucketAssociationClassificationTypeArgs) S3BucketAssociationClassificationTypePtrInput {
return (*s3bucketAssociationClassificationTypePtrType)(v)
}
func (*s3bucketAssociationClassificationTypePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**S3BucketAssociationClassificationType)(nil)).Elem()
}
func (i *s3bucketAssociationClassificationTypePtrType) ToS3BucketAssociationClassificationTypePtrOutput() S3BucketAssociationClassificationTypePtrOutput {
return i.ToS3BucketAssociationClassificationTypePtrOutputWithContext(context.Background())
}
func (i *s3bucketAssociationClassificationTypePtrType) ToS3BucketAssociationClassificationTypePtrOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(S3BucketAssociationClassificationTypePtrOutput)
}
type S3BucketAssociationClassificationTypeOutput struct{ *pulumi.OutputState }
func (S3BucketAssociationClassificationTypeOutput) ElementType() reflect.Type {
return reflect.TypeOf((*S3BucketAssociationClassificationType)(nil)).Elem()
}
func (o S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypeOutput() S3BucketAssociationClassificationTypeOutput {
return o
}
func (o S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypeOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypeOutput {
return o
}
func (o S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypePtrOutput() S3BucketAssociationClassificationTypePtrOutput {
return o.ToS3BucketAssociationClassificationTypePtrOutputWithContext(context.Background())
}
func (o S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypePtrOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypePtrOutput {
return o.ApplyT(func(v S3BucketAssociationClassificationType) *S3BucketAssociationClassificationType {
return &v
}).(S3BucketAssociationClassificationTypePtrOutput)
}
// A string value indicating that Macie perform a one-time classification of all of the existing objects in the bucket.
// The only valid value is the default value, `FULL`.
func (o S3BucketAssociationClassificationTypeOutput) Continuous() pulumi.StringPtrOutput {
return o.ApplyT(func(v S3BucketAssociationClassificationType) *string { return v.Continuous }).(pulumi.StringPtrOutput)
}
// A string value indicating whether or not Macie performs a one-time classification of all of the existing objects in the bucket.
// Valid values are `NONE` and `FULL`. Defaults to `NONE` indicating that Macie only classifies objects that are added after the association was created.
func (o S3BucketAssociationClassificationTypeOutput) OneTime() pulumi.StringPtrOutput {
return o.ApplyT(func(v S3BucketAssociationClassificationType) *string { return v.OneTime }).(pulumi.StringPtrOutput)
}
type S3BucketAssociationClassificationTypePtrOutput struct{ *pulumi.OutputState }
func (S3BucketAssociationClassificationTypePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**S3BucketAssociationClassificationType)(nil)).Elem()
}
func (o S3BucketAssociationClassificationTypePtrOutput) ToS3BucketAssociationClassificationTypePtrOutput() S3BucketAssociationClassificationTypePtrOutput {
return o
}
func (o S3BucketAssociationClassificationTypePtrOutput) ToS3BucketAssociationClassificationTypePtrOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypePtrOutput {
return o
}
func (o S3BucketAssociationClassificationTypePtrOutput) Elem() S3BucketAssociationClassificationTypeOutput {
return o.ApplyT(func(v *S3BucketAssociationClassificationType) S3BucketAssociationClassificationType { return *v }).(S3BucketAssociationClassificationTypeOutput)
}
// A string value indicating that Macie perform a one-time classification of all of the existing objects in the bucket.
// The only valid value is the default value, `FULL`.
func (o S3BucketAssociationClassificationTypePtrOutput) Continuous() pulumi.StringPtrOutput {
return o.ApplyT(func(v S3BucketAssociationClassificationType) *string { return v.Continuous }).(pulumi.StringPtrOutput)
}
// A string value indicating whether or not Macie performs a one-time classification of all of the existing objects in the bucket.
// Valid values are `NONE` and `FULL`. Defaults to `NONE` indicating that Macie only classifies objects that are added after the association was created.
func (o S3BucketAssociationClassificationTypePtrOutput) OneTime() pulumi.StringPtrOutput {
return o.ApplyT(func(v S3BucketAssociationClassificationType) *string { return v.OneTime }).(pulumi.StringPtrOutput)
}
func init() {
pulumi.RegisterOutputType(S3BucketAssociationClassificationTypeOutput{})
pulumi.RegisterOutputType(S3BucketAssociationClassificationTypePtrOutput{})
}