interface SelfManagedKafkaAccessConfigurationVpcProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Pipes.CfnPipe.SelfManagedKafkaAccessConfigurationVpcProperty |
Java | software.amazon.awscdk.services.pipes.CfnPipe.SelfManagedKafkaAccessConfigurationVpcProperty |
Python | aws_cdk.aws_pipes.CfnPipe.SelfManagedKafkaAccessConfigurationVpcProperty |
TypeScript | @aws-cdk/aws-pipes » CfnPipe » SelfManagedKafkaAccessConfigurationVpcProperty |
This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as pipes from '@aws-cdk/aws-pipes';
const selfManagedKafkaAccessConfigurationVpcProperty: pipes.CfnPipe.SelfManagedKafkaAccessConfigurationVpcProperty = {
securityGroup: ['securityGroup'],
subnets: ['subnets'],
};
Properties
Name | Type | Description |
---|---|---|
security | string[] | Specifies the security groups associated with the stream. |
subnets? | string[] | Specifies the subnets associated with the stream. |
securityGroup?
Type:
string[]
(optional)
Specifies the security groups associated with the stream.
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?
Type:
string[]
(optional)
Specifies the subnets associated with the stream.
These subnets must all be in the same VPC. You can specify as many as 16 subnets.