-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnProfilePermissionProps.go
47 lines (44 loc) · 2.24 KB
/
CfnProfilePermissionProps.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
package awssigner
// Properties for defining a `CfnProfilePermission`.
//
// 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"
//
// cfnProfilePermissionProps := &CfnProfilePermissionProps{
// Action: jsii.String("action"),
// Principal: jsii.String("principal"),
// ProfileName: jsii.String("profileName"),
// StatementId: jsii.String("statementId"),
//
// // the properties below are optional
// ProfileVersion: jsii.String("profileVersion"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html
//
type CfnProfilePermissionProps struct {
// The AWS Signer action permitted as part of cross-account permissions.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-action
//
Action *string `field:"required" json:"action" yaml:"action"`
// The AWS principal receiving cross-account permissions.
//
// This may be an IAM role or another AWS account ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-principal
//
Principal *string `field:"required" json:"principal" yaml:"principal"`
// The human-readable name of the signing profile.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-profilename
//
ProfileName *string `field:"required" json:"profileName" yaml:"profileName"`
// A unique identifier for the cross-account permission statement.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-statementid
//
StatementId *string `field:"required" json:"statementId" yaml:"statementId"`
// The version of the signing profile.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-profileversion
//
ProfileVersion *string `field:"optional" json:"profileVersion" yaml:"profileVersion"`
}