-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTrustAnchor_SourceDataProperty.go
34 lines (31 loc) · 1.55 KB
/
CfnTrustAnchor_SourceDataProperty.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
package awsrolesanywhere
// A union object representing the data field of the TrustAnchor depending on its type.
//
// 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"
//
// sourceDataProperty := &SourceDataProperty{
// AcmPcaArn: jsii.String("acmPcaArn"),
// X509CertificateData: jsii.String("x509CertificateData"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-sourcedata.html
//
type CfnTrustAnchor_SourceDataProperty struct {
// The root certificate of the AWS Private Certificate Authority specified by this ARN is used in trust validation for temporary credential requests.
//
// Included for trust anchors of type `AWS_ACM_PCA` .
//
// > This field is not supported in your region.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-sourcedata.html#cfn-rolesanywhere-trustanchor-sourcedata-acmpcaarn
//
AcmPcaArn *string `field:"optional" json:"acmPcaArn" yaml:"acmPcaArn"`
// The PEM-encoded data for the certificate anchor.
//
// Included for trust anchors of type `CERTIFICATE_BUNDLE` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-sourcedata.html#cfn-rolesanywhere-trustanchor-sourcedata-x509certificatedata
//
X509CertificateData *string `field:"optional" json:"x509CertificateData" yaml:"x509CertificateData"`
}