-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsiot_CfnTopicRuleDestinationProps.go
41 lines (38 loc) · 2.13 KB
/
awsiot_CfnTopicRuleDestinationProps.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
package awsiot
// Properties for defining a `CfnTopicRuleDestination`.
//
// 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"
//
// cfnTopicRuleDestinationProps := &cfnTopicRuleDestinationProps{
// httpUrlProperties: &httpUrlDestinationSummaryProperty{
// confirmationUrl: jsii.String("confirmationUrl"),
// },
// status: jsii.String("status"),
// vpcProperties: &vpcDestinationPropertiesProperty{
// roleArn: jsii.String("roleArn"),
// securityGroups: []*string{
// jsii.String("securityGroups"),
// },
// subnetIds: []*string{
// jsii.String("subnetIds"),
// },
// vpcId: jsii.String("vpcId"),
// },
// }
//
type CfnTopicRuleDestinationProps struct {
// Properties of the HTTP URL.
HttpUrlProperties interface{} `field:"optional" json:"httpUrlProperties" yaml:"httpUrlProperties"`
// - **IN_PROGRESS** - A topic rule destination was created but has not been confirmed.
//
// You can set status to `IN_PROGRESS` by calling `UpdateTopicRuleDestination` . Calling `UpdateTopicRuleDestination` causes a new confirmation challenge to be sent to your confirmation endpoint.
// - **ENABLED** - Confirmation was completed, and traffic to this destination is allowed. You can set status to `DISABLED` by calling `UpdateTopicRuleDestination` .
// - **DISABLED** - Confirmation was completed, and traffic to this destination is not allowed. You can set status to `ENABLED` by calling `UpdateTopicRuleDestination` .
// - **ERROR** - Confirmation could not be completed; for example, if the confirmation timed out. You can call `GetTopicRuleDestination` for details about the error. You can set status to `IN_PROGRESS` by calling `UpdateTopicRuleDestination` . Calling `UpdateTopicRuleDestination` causes a new confirmation challenge to be sent to your confirmation endpoint.
Status *string `field:"optional" json:"status" yaml:"status"`
// Properties of the virtual private cloud (VPC) connection.
VpcProperties interface{} `field:"optional" json:"vpcProperties" yaml:"vpcProperties"`
}