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) : 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)

Properties

Link copied to clipboard

Action to take for the chosen segment. Valid values create-route or share.

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. This mode places the attachment and return routes in each of the share_with segments. Valid values include: attachment-route.

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>"].

Functions

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