GetCoreNetworkPolicyDocumentSegmentAction

data class GetCoreNetworkPolicyDocumentSegmentAction(val action: String, val description: String? = null, val destinationCidrBlocks: List<String>? = null, val destinations: List<String>? = null, val mode: String? = null, val segment: String, val shareWithExcepts: List<String>? = null, val shareWiths: List<String>? = null, val via: GetCoreNetworkPolicyDocumentSegmentActionVia? = null, val whenSentTo: GetCoreNetworkPolicyDocumentSegmentActionWhenSentTo? = null) : ConvertibleToJava<GetCoreNetworkPolicyDocumentSegmentAction>

Constructors

constructor(action: String, description: String? = null, destinationCidrBlocks: List<String>? = null, destinations: List<String>? = null, mode: String? = null, segment: String, shareWithExcepts: List<String>? = null, shareWiths: List<String>? = null, via: GetCoreNetworkPolicyDocumentSegmentActionVia? = null, whenSentTo: GetCoreNetworkPolicyDocumentSegmentActionWhenSentTo? = null)

Properties

Link copied to clipboard

Action to take for the chosen segment. Valid values: create-route, share, send-via and send-to.

Link copied to clipboard
val description: String? = null

A user-defined string describing the segment action.

Link copied to clipboard

List of strings containing CIDRs. You can define the IPv4 and IPv6 CIDR notation for each AWS Region. For example, 10.1.0.0/16 or 2001:db8::/56. This is an array of CIDR notation strings.

Link copied to clipboard
val destinations: List<String>? = null

A list of strings. Valid values include ["blackhole"] or a list of attachment ids.

Link copied to clipboard
val mode: String? = null

String. When action is share, a mode value of attachment-route places the attachment and return routes in each of the share_with segments. When action is send-via, indicates the mode used for packets. Valid values: attachment-route, single-hop, dual-hop.

Link copied to clipboard

Name of the segment.

Link copied to clipboard

A set subtraction of segments to not share with.

Link copied to clipboard
val shareWiths: List<String>? = null

A list of strings to share with. Must be a substring is all segments. Valid values include: ["*"] or ["<segment-names>"].

Link copied to clipboard

The network function groups and any edge overrides associated with the action.

Link copied to clipboard

The destination segments for the send-via or send-to action.

Functions

Link copied to clipboard
open override fun toJava(): GetCoreNetworkPolicyDocumentSegmentAction