-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnRoleAliasProps.go
52 lines (49 loc) · 1.96 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
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"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-rolealias.html
//
type CfnRoleAliasProps struct {
// The role ARN.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-rolealias.html#cfn-iot-rolealias-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// The number of seconds for which the credential is valid.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-rolealias.html#cfn-iot-rolealias-credentialdurationseconds
//
// Default: - 3600.
//
CredentialDurationSeconds *float64 `field:"optional" json:"credentialDurationSeconds" yaml:"credentialDurationSeconds"`
// The role alias.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-rolealias.html#cfn-iot-rolealias-rolealias
//
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) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-rolealias.html#cfn-iot-rolealias-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}