-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsiot_CfnRoleAliasProps.go
40 lines (37 loc) · 1.29 KB
/
awsiot_CfnRoleAliasProps.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
package awsiot
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnRoleAlias`.
//
// 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"
//
// cfnRoleAliasProps := &cfnRoleAliasProps{
// roleArn: jsii.String("roleArn"),
//
// // the properties below are optional
// credentialDurationSeconds: jsii.Number(123),
// roleAlias: jsii.String("roleAlias"),
// tags: []cfnTag{
// &cfnTag{
// key: jsii.String("key"),
// value: jsii.String("value"),
// },
// },
// }
//
type CfnRoleAliasProps struct {
// The role ARN.
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// The number of seconds for which the credential is valid.
CredentialDurationSeconds *float64 `field:"optional" json:"credentialDurationSeconds" yaml:"credentialDurationSeconds"`
// The role alias.
RoleAlias *string `field:"optional" json:"roleAlias" yaml:"roleAlias"`
// An array of key-value pairs to apply to this resource.
//
// For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}