interface CidrOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnVerifiedAccessEndpoint.CidrOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVerifiedAccessEndpoint_CidrOptionsProperty |
Java | software.amazon.awscdk.services.ec2.CfnVerifiedAccessEndpoint.CidrOptionsProperty |
Python | aws_cdk.aws_ec2.CfnVerifiedAccessEndpoint.CidrOptionsProperty |
TypeScript | aws-cdk-lib » aws_ec2 » CfnVerifiedAccessEndpoint » CidrOptionsProperty |
Describes the CIDR options for a Verified Access endpoint.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cidrOptionsProperty: ec2.CfnVerifiedAccessEndpoint.CidrOptionsProperty = {
cidr: 'cidr',
portRanges: [{
fromPort: 123,
toPort: 123,
}],
protocol: 'protocol',
subnetIds: ['subnetIds'],
};
Properties
| Name | Type | Description |
|---|---|---|
| cidr? | string | The CIDR. |
| port | IResolvable | (IResolvable | Port)[] | The port ranges. |
| protocol? | string | The protocol. |
| subnet | string[] | The IDs of the subnets. |
cidr?
Type:
string
(optional)
The CIDR.
portRanges?
Type:
IResolvable | (IResolvable | Port)[]
(optional)
The port ranges.
protocol?
Type:
string
(optional)
The protocol.
subnetIds?
Type:
string[]
(optional)
The IDs of the subnets.

.NET
Go
Java
Python
TypeScript