-
Notifications
You must be signed in to change notification settings - Fork 17
/
awscloudformation_CfnHookTypeConfigProps.go
40 lines (37 loc) · 1.69 KB
/
awscloudformation_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
package awscloudformation
// 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 "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"`
}