-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTrustAnchor_SourceProperty.go
31 lines (28 loc) · 1.32 KB
/
CfnTrustAnchor_SourceProperty.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
package awsrolesanywhere
// Object representing the TrustAnchor type and its related certificate data.
//
// 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"
//
// sourceProperty := &SourceProperty{
// SourceData: &SourceDataProperty{
// AcmPcaArn: jsii.String("acmPcaArn"),
// X509CertificateData: jsii.String("x509CertificateData"),
// },
// SourceType: jsii.String("sourceType"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html
//
type CfnTrustAnchor_SourceProperty struct {
// A union object representing the data field of the TrustAnchor depending on its type.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html#cfn-rolesanywhere-trustanchor-source-sourcedata
//
SourceData interface{} `field:"optional" json:"sourceData" yaml:"sourceData"`
// The type of the TrustAnchor.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html#cfn-rolesanywhere-trustanchor-source-sourcetype
//
SourceType *string `field:"optional" json:"sourceType" yaml:"sourceType"`
}