Class CfnPipe.SelfManagedKafkaAccessConfigurationVpcProperty
This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
Inheritance
System.Object
CfnPipe.SelfManagedKafkaAccessConfigurationVpcProperty
Namespace: Amazon.CDK.AWS.Pipes
Assembly: Amazon.CDK.AWS.Pipes.dll
Syntax (csharp)
public class SelfManagedKafkaAccessConfigurationVpcProperty : Object, CfnPipe.ISelfManagedKafkaAccessConfigurationVpcProperty
Syntax (vb)
Public Class SelfManagedKafkaAccessConfigurationVpcProperty
Inherits Object
Implements CfnPipe.ISelfManagedKafkaAccessConfigurationVpcProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pipes;
var selfManagedKafkaAccessConfigurationVpcProperty = new SelfManagedKafkaAccessConfigurationVpcProperty {
SecurityGroup = new [] { "securityGroup" },
Subnets = new [] { "subnets" }
};
Synopsis
Constructors
SelfManagedKafkaAccessConfigurationVpcProperty() |
Properties
SecurityGroup | Specifies the security groups associated with the stream. |
Subnets | Specifies the subnets associated with the stream. |
Constructors
SelfManagedKafkaAccessConfigurationVpcProperty()
public SelfManagedKafkaAccessConfigurationVpcProperty()
Properties
SecurityGroup
Specifies the security groups associated with the stream.
public string[] SecurityGroup { get; set; }
Property Value
System.String[]
Remarks
These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.
Subnets
Specifies the subnets associated with the stream.
public string[] Subnets { get; set; }
Property Value
System.String[]
Remarks
These subnets must all be in the same VPC. You can specify as many as 16 subnets.