Package com.pulumi.aws.ec2.outputs
Class SecurityGroupEgress
- java.lang.Object
-
- com.pulumi.aws.ec2.outputs.SecurityGroupEgress
-
public final class SecurityGroupEgress extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecurityGroupEgress.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecurityGroupEgress.Builderbuilder()static SecurityGroupEgress.Builderbuilder(SecurityGroupEgress defaults)java.util.List<java.lang.String>cidrBlocks()java.util.Optional<java.lang.String>description()java.lang.IntegerfromPort()java.util.List<java.lang.String>ipv6CidrBlocks()java.util.List<java.lang.String>prefixListIds()java.lang.Stringprotocol()java.util.List<java.lang.String>securityGroups()java.util.Optional<java.lang.Boolean>self()java.lang.IntegertoPort()
-
-
-
Method Detail
-
cidrBlocks
public java.util.List<java.lang.String> cidrBlocks()
- Returns:
- List of CIDR blocks.
-
description
public java.util.Optional<java.lang.String> description()
- Returns:
- Description of this egress rule.
-
fromPort
public java.lang.Integer fromPort()
- Returns:
- Start port (or ICMP type number if protocol is `icmp`)
-
ipv6CidrBlocks
public java.util.List<java.lang.String> ipv6CidrBlocks()
- Returns:
- List of IPv6 CIDR blocks.
-
prefixListIds
public java.util.List<java.lang.String> prefixListIds()
- Returns:
- List of Prefix List IDs.
-
protocol
public java.lang.String protocol()
- Returns:
- Protocol. If you select a protocol of `-1` (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to 0. The supported values are defined in the `IpProtocol` argument in the [IpPermission](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IpPermission.html) API reference.
-
securityGroups
public java.util.List<java.lang.String> securityGroups()
- Returns:
- List of security groups. A group name can be used relative to the default VPC. Otherwise, group ID.
-
self
public java.util.Optional<java.lang.Boolean> self()
- Returns:
- Whether the security group itself will be added as a source to this egress rule.
-
toPort
public java.lang.Integer toPort()
- Returns:
- End range port (or ICMP code if protocol is `icmp`). The following arguments are optional: > **Note** Although `cidrBlocks`, `ipv6CidrBlocks`, `prefixListIds`, and `securityGroups` are all marked as optional, you _must_ provide one of them in order to configure the destination of the traffic.
-
builder
public static SecurityGroupEgress.Builder builder()
-
builder
public static SecurityGroupEgress.Builder builder(SecurityGroupEgress defaults)
-
-