-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnInstanceConnectEndpointProps.go
62 lines (59 loc) · 2.88 KB
/
CfnInstanceConnectEndpointProps.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
52
53
54
55
56
57
58
59
60
61
package awsec2
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnInstanceConnectEndpoint`.
//
// 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"
//
// cfnInstanceConnectEndpointProps := &CfnInstanceConnectEndpointProps{
// SubnetId: jsii.String("subnetId"),
//
// // the properties below are optional
// ClientToken: jsii.String("clientToken"),
// PreserveClientIp: jsii.Boolean(false),
// SecurityGroupIds: []*string{
// jsii.String("securityGroupIds"),
// },
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html
//
type CfnInstanceConnectEndpointProps struct {
// The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html#cfn-ec2-instanceconnectendpoint-subnetid
//
SubnetId *string `field:"required" json:"subnetId" yaml:"subnetId"`
// Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html#cfn-ec2-instanceconnectendpoint-clienttoken
//
ClientToken *string `field:"optional" json:"clientToken" yaml:"clientToken"`
// Indicates whether your client's IP address is preserved as the source. The value is `true` or `false` .
//
// - If `true` , your client's IP address is used when you connect to a resource.
// - If `false` , the elastic network interface IP address is used when you connect to a resource.
//
// Default: `true`.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html#cfn-ec2-instanceconnectendpoint-preserveclientip
//
PreserveClientIp interface{} `field:"optional" json:"preserveClientIp" yaml:"preserveClientIp"`
// One or more security groups to associate with the endpoint.
//
// If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html#cfn-ec2-instanceconnectendpoint-securitygroupids
//
SecurityGroupIds *[]*string `field:"optional" json:"securityGroupIds" yaml:"securityGroupIds"`
// The tags to apply to the EC2 Instance Connect Endpoint during creation.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html#cfn-ec2-instanceconnectendpoint-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}