Interface ICfnSubnetCidrReservationMixinProps
Properties for CfnSubnetCidrReservationPropsMixin.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EC2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface ICfnSubnetCidrReservationMixinProps
Syntax (vb)
Public Interface ICfnSubnetCidrReservationMixinProps
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.CfnPropertyMixins.AWS.EC2;
var cfnSubnetCidrReservationMixinProps = new CfnSubnetCidrReservationMixinProps {
Cidr = "cidr",
Description = "description",
ReservationType = "reservationType",
SubnetId = "subnetId",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
| Cidr | The IPv4 or IPv6 CIDR range to reserve. |
| Description | The description of the subnet CIDR reservation. |
| ReservationType | The type of reservation. |
| SubnetId | The identifier of the subnet the CIDR range is reserved in. |
| Tags | The tags assigned to the subnet CIDR reservation. |
Properties
Cidr
The IPv4 or IPv6 CIDR range to reserve.
string? Cidr { get; }
Property Value
Remarks
Must lie inside the subnet's CIDR block and must not overlap an existing reservation. Supply an IPv6 range exactly as the service returns it: Amazon EC2 stores an IPv6 CIDR in RFC 5952 compressed form, and a noncanonical spelling of the same range is reported as drift because this property is create-only and read back.
Description
The description of the subnet CIDR reservation.
string? Description { get; }
Property Value
Remarks
ReservationType
The type of reservation.
string? ReservationType { get; }
Property Value
Remarks
A prefix reservation is used for an IPv6 prefix delegated to a network interface; an explicit reservation is used for a range that Amazon EC2 must not assign automatically.
SubnetId
The identifier of the subnet the CIDR range is reserved in.
string? SubnetId { get; }
Property Value
Remarks
Tags
The tags assigned to the subnet CIDR reservation.
ICfnTag[]? Tags { get; }
Property Value
ICfnTag[]