Class CfnVerifiedAccessEndpoint.CidrOptionsProperty
Describes the CIDR options for a Verified Access endpoint.
Inheritance
System.Object
CfnVerifiedAccessEndpoint.CidrOptionsProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CidrOptionsProperty : Object, CfnVerifiedAccessEndpoint.ICidrOptionsProperty
Syntax (vb)
Public Class CidrOptionsProperty
Inherits Object
Implements CfnVerifiedAccessEndpoint.ICidrOptionsProperty
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.EC2;
var cidrOptionsProperty = new CidrOptionsProperty {
Cidr = "cidr",
PortRanges = new [] { new PortRangeProperty {
FromPort = 123,
ToPort = 123
} },
Protocol = "protocol",
SubnetIds = new [] { "subnetIds" }
};
Synopsis
Constructors
CidrOptionsProperty() |
Properties
Cidr | The CIDR. |
PortRanges | The port ranges. |
Protocol | The protocol. |
SubnetIds | The IDs of the subnets. |
Constructors
CidrOptionsProperty()
public CidrOptionsProperty()
Properties
Cidr
The CIDR.
public string Cidr { get; set; }
Property Value
System.String
Remarks
PortRanges
The port ranges.
public object PortRanges { get; set; }
Property Value
System.Object
Remarks
Protocol
The protocol.
public string Protocol { get; set; }
Property Value
System.String
Remarks
SubnetIds
The IDs of the subnets.
public string[] SubnetIds { get; set; }
Property Value
System.String[]