/
pulumiTypes.go
135 lines (104 loc) · 5.68 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
// Code generated by pulumi-language-go DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package systemsmanagersap
import (
"context"
"reflect"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
var _ = internal.GetEnvOrDefault
type ApplicationCredential struct {
CredentialType *ApplicationCredentialCredentialType `pulumi:"credentialType"`
DatabaseName *string `pulumi:"databaseName"`
SecretId *string `pulumi:"secretId"`
}
// ApplicationCredentialInput is an input type that accepts ApplicationCredentialArgs and ApplicationCredentialOutput values.
// You can construct a concrete instance of `ApplicationCredentialInput` via:
//
// ApplicationCredentialArgs{...}
type ApplicationCredentialInput interface {
pulumi.Input
ToApplicationCredentialOutput() ApplicationCredentialOutput
ToApplicationCredentialOutputWithContext(context.Context) ApplicationCredentialOutput
}
type ApplicationCredentialArgs struct {
CredentialType ApplicationCredentialCredentialTypePtrInput `pulumi:"credentialType"`
DatabaseName pulumi.StringPtrInput `pulumi:"databaseName"`
SecretId pulumi.StringPtrInput `pulumi:"secretId"`
}
func (ApplicationCredentialArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ApplicationCredential)(nil)).Elem()
}
func (i ApplicationCredentialArgs) ToApplicationCredentialOutput() ApplicationCredentialOutput {
return i.ToApplicationCredentialOutputWithContext(context.Background())
}
func (i ApplicationCredentialArgs) ToApplicationCredentialOutputWithContext(ctx context.Context) ApplicationCredentialOutput {
return pulumi.ToOutputWithContext(ctx, i).(ApplicationCredentialOutput)
}
// ApplicationCredentialArrayInput is an input type that accepts ApplicationCredentialArray and ApplicationCredentialArrayOutput values.
// You can construct a concrete instance of `ApplicationCredentialArrayInput` via:
//
// ApplicationCredentialArray{ ApplicationCredentialArgs{...} }
type ApplicationCredentialArrayInput interface {
pulumi.Input
ToApplicationCredentialArrayOutput() ApplicationCredentialArrayOutput
ToApplicationCredentialArrayOutputWithContext(context.Context) ApplicationCredentialArrayOutput
}
type ApplicationCredentialArray []ApplicationCredentialInput
func (ApplicationCredentialArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ApplicationCredential)(nil)).Elem()
}
func (i ApplicationCredentialArray) ToApplicationCredentialArrayOutput() ApplicationCredentialArrayOutput {
return i.ToApplicationCredentialArrayOutputWithContext(context.Background())
}
func (i ApplicationCredentialArray) ToApplicationCredentialArrayOutputWithContext(ctx context.Context) ApplicationCredentialArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ApplicationCredentialArrayOutput)
}
type ApplicationCredentialOutput struct{ *pulumi.OutputState }
func (ApplicationCredentialOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ApplicationCredential)(nil)).Elem()
}
func (o ApplicationCredentialOutput) ToApplicationCredentialOutput() ApplicationCredentialOutput {
return o
}
func (o ApplicationCredentialOutput) ToApplicationCredentialOutputWithContext(ctx context.Context) ApplicationCredentialOutput {
return o
}
func (o ApplicationCredentialOutput) CredentialType() ApplicationCredentialCredentialTypePtrOutput {
return o.ApplyT(func(v ApplicationCredential) *ApplicationCredentialCredentialType { return v.CredentialType }).(ApplicationCredentialCredentialTypePtrOutput)
}
func (o ApplicationCredentialOutput) DatabaseName() pulumi.StringPtrOutput {
return o.ApplyT(func(v ApplicationCredential) *string { return v.DatabaseName }).(pulumi.StringPtrOutput)
}
func (o ApplicationCredentialOutput) SecretId() pulumi.StringPtrOutput {
return o.ApplyT(func(v ApplicationCredential) *string { return v.SecretId }).(pulumi.StringPtrOutput)
}
type ApplicationCredentialArrayOutput struct{ *pulumi.OutputState }
func (ApplicationCredentialArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ApplicationCredential)(nil)).Elem()
}
func (o ApplicationCredentialArrayOutput) ToApplicationCredentialArrayOutput() ApplicationCredentialArrayOutput {
return o
}
func (o ApplicationCredentialArrayOutput) ToApplicationCredentialArrayOutputWithContext(ctx context.Context) ApplicationCredentialArrayOutput {
return o
}
func (o ApplicationCredentialArrayOutput) Index(i pulumi.IntInput) ApplicationCredentialOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApplicationCredential {
return vs[0].([]ApplicationCredential)[vs[1].(int)]
}).(ApplicationCredentialOutput)
}
// A key-value pair to associate with a resource.
type ApplicationTag struct {
// The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Key string `pulumi:"key"`
// The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value string `pulumi:"value"`
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*ApplicationCredentialInput)(nil)).Elem(), ApplicationCredentialArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*ApplicationCredentialArrayInput)(nil)).Elem(), ApplicationCredentialArray{})
pulumi.RegisterOutputType(ApplicationCredentialOutput{})
pulumi.RegisterOutputType(ApplicationCredentialArrayOutput{})
}