-
Notifications
You must be signed in to change notification settings - Fork 17
/
IInstanceProfile.go
55 lines (47 loc) · 1.01 KB
/
IInstanceProfile.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
package awsiam
import (
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
"github.com/aws/aws-cdk-go/awscdk/v2"
"github.com/aws/aws-cdk-go/awscdk/v2/awsiam/internal"
)
// Represents an IAM Instance Profile.
type IInstanceProfile interface {
awscdk.IResource
// The InstanceProfile's ARN.
InstanceProfileArn() *string
// The InstanceProfile's name.
InstanceProfileName() *string
// The role associated with the InstanceProfile.
Role() IRole
}
// The jsii proxy for IInstanceProfile
type jsiiProxy_IInstanceProfile struct {
internal.Type__awscdkIResource
}
func (j *jsiiProxy_IInstanceProfile) InstanceProfileArn() *string {
var returns *string
_jsii_.Get(
j,
"instanceProfileArn",
&returns,
)
return returns
}
func (j *jsiiProxy_IInstanceProfile) InstanceProfileName() *string {
var returns *string
_jsii_.Get(
j,
"instanceProfileName",
&returns,
)
return returns
}
func (j *jsiiProxy_IInstanceProfile) Role() IRole {
var returns IRole
_jsii_.Get(
j,
"role",
&returns,
)
return returns
}