-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnHookTypeConfigProps.go
52 lines (49 loc) · 2.5 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
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 cdk "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"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html
//
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` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-configurationalias
//
// Default: - "default".
//
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` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-typearn
//
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` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-typename
//
TypeName *string `field:"optional" json:"typeName" yaml:"typeName"`
}