-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTrustAnchorProps.go
68 lines (65 loc) · 2.68 KB
/
CfnTrustAnchorProps.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
package awsrolesanywhere
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnTrustAnchor`.
//
// 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"
//
// cfnTrustAnchorProps := &CfnTrustAnchorProps{
// Name: jsii.String("name"),
// Source: &SourceProperty{
// SourceData: &SourceDataProperty{
// AcmPcaArn: jsii.String("acmPcaArn"),
// X509CertificateData: jsii.String("x509CertificateData"),
// },
// SourceType: jsii.String("sourceType"),
// },
//
// // the properties below are optional
// Enabled: jsii.Boolean(false),
// NotificationSettings: []interface{}{
// &NotificationSettingProperty{
// Enabled: jsii.Boolean(false),
// Event: jsii.String("event"),
//
// // the properties below are optional
// Channel: jsii.String("channel"),
// Threshold: jsii.Number(123),
// },
// },
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html
//
type CfnTrustAnchorProps struct {
// The name of the trust anchor.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html#cfn-rolesanywhere-trustanchor-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The trust anchor type and its related certificate data.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html#cfn-rolesanywhere-trustanchor-source
//
Source interface{} `field:"required" json:"source" yaml:"source"`
// Indicates whether the trust anchor is enabled.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html#cfn-rolesanywhere-trustanchor-enabled
//
Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"`
// A list of notification settings to be associated to the trust anchor.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html#cfn-rolesanywhere-trustanchor-notificationsettings
//
NotificationSettings interface{} `field:"optional" json:"notificationSettings" yaml:"notificationSettings"`
// The tags to attach to the trust anchor.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html#cfn-rolesanywhere-trustanchor-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}