/
pulumiTypes.go
115 lines (88 loc) · 4.63 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
// *** 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 s3outposts
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type EndpointNetworkInterface struct {
// Identifier of the Elastic Network Interface (ENI).
NetworkInterfaceId *string `pulumi:"networkInterfaceId"`
}
// EndpointNetworkInterfaceInput is an input type that accepts EndpointNetworkInterfaceArgs and EndpointNetworkInterfaceOutput values.
// You can construct a concrete instance of `EndpointNetworkInterfaceInput` via:
//
// EndpointNetworkInterfaceArgs{...}
type EndpointNetworkInterfaceInput interface {
pulumi.Input
ToEndpointNetworkInterfaceOutput() EndpointNetworkInterfaceOutput
ToEndpointNetworkInterfaceOutputWithContext(context.Context) EndpointNetworkInterfaceOutput
}
type EndpointNetworkInterfaceArgs struct {
// Identifier of the Elastic Network Interface (ENI).
NetworkInterfaceId pulumi.StringPtrInput `pulumi:"networkInterfaceId"`
}
func (EndpointNetworkInterfaceArgs) ElementType() reflect.Type {
return reflect.TypeOf((*EndpointNetworkInterface)(nil)).Elem()
}
func (i EndpointNetworkInterfaceArgs) ToEndpointNetworkInterfaceOutput() EndpointNetworkInterfaceOutput {
return i.ToEndpointNetworkInterfaceOutputWithContext(context.Background())
}
func (i EndpointNetworkInterfaceArgs) ToEndpointNetworkInterfaceOutputWithContext(ctx context.Context) EndpointNetworkInterfaceOutput {
return pulumi.ToOutputWithContext(ctx, i).(EndpointNetworkInterfaceOutput)
}
// EndpointNetworkInterfaceArrayInput is an input type that accepts EndpointNetworkInterfaceArray and EndpointNetworkInterfaceArrayOutput values.
// You can construct a concrete instance of `EndpointNetworkInterfaceArrayInput` via:
//
// EndpointNetworkInterfaceArray{ EndpointNetworkInterfaceArgs{...} }
type EndpointNetworkInterfaceArrayInput interface {
pulumi.Input
ToEndpointNetworkInterfaceArrayOutput() EndpointNetworkInterfaceArrayOutput
ToEndpointNetworkInterfaceArrayOutputWithContext(context.Context) EndpointNetworkInterfaceArrayOutput
}
type EndpointNetworkInterfaceArray []EndpointNetworkInterfaceInput
func (EndpointNetworkInterfaceArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]EndpointNetworkInterface)(nil)).Elem()
}
func (i EndpointNetworkInterfaceArray) ToEndpointNetworkInterfaceArrayOutput() EndpointNetworkInterfaceArrayOutput {
return i.ToEndpointNetworkInterfaceArrayOutputWithContext(context.Background())
}
func (i EndpointNetworkInterfaceArray) ToEndpointNetworkInterfaceArrayOutputWithContext(ctx context.Context) EndpointNetworkInterfaceArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(EndpointNetworkInterfaceArrayOutput)
}
type EndpointNetworkInterfaceOutput struct{ *pulumi.OutputState }
func (EndpointNetworkInterfaceOutput) ElementType() reflect.Type {
return reflect.TypeOf((*EndpointNetworkInterface)(nil)).Elem()
}
func (o EndpointNetworkInterfaceOutput) ToEndpointNetworkInterfaceOutput() EndpointNetworkInterfaceOutput {
return o
}
func (o EndpointNetworkInterfaceOutput) ToEndpointNetworkInterfaceOutputWithContext(ctx context.Context) EndpointNetworkInterfaceOutput {
return o
}
// Identifier of the Elastic Network Interface (ENI).
func (o EndpointNetworkInterfaceOutput) NetworkInterfaceId() pulumi.StringPtrOutput {
return o.ApplyT(func(v EndpointNetworkInterface) *string { return v.NetworkInterfaceId }).(pulumi.StringPtrOutput)
}
type EndpointNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }
func (EndpointNetworkInterfaceArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]EndpointNetworkInterface)(nil)).Elem()
}
func (o EndpointNetworkInterfaceArrayOutput) ToEndpointNetworkInterfaceArrayOutput() EndpointNetworkInterfaceArrayOutput {
return o
}
func (o EndpointNetworkInterfaceArrayOutput) ToEndpointNetworkInterfaceArrayOutputWithContext(ctx context.Context) EndpointNetworkInterfaceArrayOutput {
return o
}
func (o EndpointNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) EndpointNetworkInterfaceOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) EndpointNetworkInterface {
return vs[0].([]EndpointNetworkInterface)[vs[1].(int)]
}).(EndpointNetworkInterfaceOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*EndpointNetworkInterfaceInput)(nil)).Elem(), EndpointNetworkInterfaceArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*EndpointNetworkInterfaceArrayInput)(nil)).Elem(), EndpointNetworkInterfaceArray{})
pulumi.RegisterOutputType(EndpointNetworkInterfaceOutput{})
pulumi.RegisterOutputType(EndpointNetworkInterfaceArrayOutput{})
}