-
Notifications
You must be signed in to change notification settings - Fork 17
/
awscdk_CfnHookTypeConfigProps.go
41 lines (38 loc) · 1.75 KB
/
awscdk_CfnHookTypeConfigProps.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
// An experiment to bundle the entire CDK into a single module
package awscdk
// Properties for defining a `CfnHookTypeConfig`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import monocdk "github.com/aws/aws-cdk-go/awscdk"
//
// cfnHookTypeConfigProps := &cfnHookTypeConfigProps{
// configuration: jsii.String("configuration"),
//
// // the properties below are optional
// configurationAlias: jsii.String("configurationAlias"),
// typeArn: jsii.String("typeArn"),
// typeName: jsii.String("typeName"),
// }
//
type CfnHookTypeConfigProps struct {
// Specifies the activated hook type configuration, in this AWS account and AWS Region .
//
// You must specify either `TypeName` and `Configuration` or `TypeARN` and `Configuration` .
Configuration *string `field:"required" json:"configuration" yaml:"configuration"`
// Specifies the activated hook type configuration, in this AWS account and AWS Region .
//
// Defaults to `default` alias. Hook types currently support default configuration alias.
ConfigurationAlias *string `field:"optional" json:"configurationAlias" yaml:"configurationAlias"`
// The Amazon Resource Number (ARN) for the hook to set `Configuration` for.
//
// You must specify either `TypeName` and `Configuration` or `TypeARN` and `Configuration` .
TypeArn *string `field:"optional" json:"typeArn" yaml:"typeArn"`
// The unique name for your hook.
//
// Specifies a three-part namespace for your hook, with a recommended pattern of `Organization::Service::Hook` .
//
// You must specify either `TypeName` and `Configuration` or `TypeARN` and `Configuration` .
TypeName *string `field:"optional" json:"typeName" yaml:"typeName"`
}