AWS SDK for C++  1.9.71
AWS SDK for C++
Public Member Functions | List of all members
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission Class Reference

#include <AwsEc2SecurityGroupIpPermission.h>

Public Member Functions

 AwsEc2SecurityGroupIpPermission ()
 
 AwsEc2SecurityGroupIpPermission (Aws::Utils::Json::JsonView jsonValue)
 
AwsEc2SecurityGroupIpPermissionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetIpProtocol () const
 
bool IpProtocolHasBeenSet () const
 
void SetIpProtocol (const Aws::String &value)
 
void SetIpProtocol (Aws::String &&value)
 
void SetIpProtocol (const char *value)
 
AwsEc2SecurityGroupIpPermissionWithIpProtocol (const Aws::String &value)
 
AwsEc2SecurityGroupIpPermissionWithIpProtocol (Aws::String &&value)
 
AwsEc2SecurityGroupIpPermissionWithIpProtocol (const char *value)
 
int GetFromPort () const
 
bool FromPortHasBeenSet () const
 
void SetFromPort (int value)
 
AwsEc2SecurityGroupIpPermissionWithFromPort (int value)
 
int GetToPort () const
 
bool ToPortHasBeenSet () const
 
void SetToPort (int value)
 
AwsEc2SecurityGroupIpPermissionWithToPort (int value)
 
const Aws::Vector< AwsEc2SecurityGroupUserIdGroupPair > & GetUserIdGroupPairs () const
 
bool UserIdGroupPairsHasBeenSet () const
 
void SetUserIdGroupPairs (const Aws::Vector< AwsEc2SecurityGroupUserIdGroupPair > &value)
 
void SetUserIdGroupPairs (Aws::Vector< AwsEc2SecurityGroupUserIdGroupPair > &&value)
 
AwsEc2SecurityGroupIpPermissionWithUserIdGroupPairs (const Aws::Vector< AwsEc2SecurityGroupUserIdGroupPair > &value)
 
AwsEc2SecurityGroupIpPermissionWithUserIdGroupPairs (Aws::Vector< AwsEc2SecurityGroupUserIdGroupPair > &&value)
 
AwsEc2SecurityGroupIpPermissionAddUserIdGroupPairs (const AwsEc2SecurityGroupUserIdGroupPair &value)
 
AwsEc2SecurityGroupIpPermissionAddUserIdGroupPairs (AwsEc2SecurityGroupUserIdGroupPair &&value)
 
const Aws::Vector< AwsEc2SecurityGroupIpRange > & GetIpRanges () const
 
bool IpRangesHasBeenSet () const
 
void SetIpRanges (const Aws::Vector< AwsEc2SecurityGroupIpRange > &value)
 
void SetIpRanges (Aws::Vector< AwsEc2SecurityGroupIpRange > &&value)
 
AwsEc2SecurityGroupIpPermissionWithIpRanges (const Aws::Vector< AwsEc2SecurityGroupIpRange > &value)
 
AwsEc2SecurityGroupIpPermissionWithIpRanges (Aws::Vector< AwsEc2SecurityGroupIpRange > &&value)
 
AwsEc2SecurityGroupIpPermissionAddIpRanges (const AwsEc2SecurityGroupIpRange &value)
 
AwsEc2SecurityGroupIpPermissionAddIpRanges (AwsEc2SecurityGroupIpRange &&value)
 
const Aws::Vector< AwsEc2SecurityGroupIpv6Range > & GetIpv6Ranges () const
 
bool Ipv6RangesHasBeenSet () const
 
void SetIpv6Ranges (const Aws::Vector< AwsEc2SecurityGroupIpv6Range > &value)
 
void SetIpv6Ranges (Aws::Vector< AwsEc2SecurityGroupIpv6Range > &&value)
 
AwsEc2SecurityGroupIpPermissionWithIpv6Ranges (const Aws::Vector< AwsEc2SecurityGroupIpv6Range > &value)
 
AwsEc2SecurityGroupIpPermissionWithIpv6Ranges (Aws::Vector< AwsEc2SecurityGroupIpv6Range > &&value)
 
AwsEc2SecurityGroupIpPermissionAddIpv6Ranges (const AwsEc2SecurityGroupIpv6Range &value)
 
AwsEc2SecurityGroupIpPermissionAddIpv6Ranges (AwsEc2SecurityGroupIpv6Range &&value)
 
const Aws::Vector< AwsEc2SecurityGroupPrefixListId > & GetPrefixListIds () const
 
bool PrefixListIdsHasBeenSet () const
 
void SetPrefixListIds (const Aws::Vector< AwsEc2SecurityGroupPrefixListId > &value)
 
void SetPrefixListIds (Aws::Vector< AwsEc2SecurityGroupPrefixListId > &&value)
 
AwsEc2SecurityGroupIpPermissionWithPrefixListIds (const Aws::Vector< AwsEc2SecurityGroupPrefixListId > &value)
 
AwsEc2SecurityGroupIpPermissionWithPrefixListIds (Aws::Vector< AwsEc2SecurityGroupPrefixListId > &&value)
 
AwsEc2SecurityGroupIpPermissionAddPrefixListIds (const AwsEc2SecurityGroupPrefixListId &value)
 
AwsEc2SecurityGroupIpPermissionAddPrefixListIds (AwsEc2SecurityGroupPrefixListId &&value)
 

Detailed Description

An IP permission for an EC2 security group.

See Also:

AWS API Reference

Definition at line 36 of file AwsEc2SecurityGroupIpPermission.h.

Constructor & Destructor Documentation

◆ AwsEc2SecurityGroupIpPermission() [1/2]

Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::AwsEc2SecurityGroupIpPermission ( )

◆ AwsEc2SecurityGroupIpPermission() [2/2]

Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::AwsEc2SecurityGroupIpPermission ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddIpRanges() [1/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::AddIpRanges ( AwsEc2SecurityGroupIpRange &&  value)
inline

The IPv4 ranges.

Definition at line 287 of file AwsEc2SecurityGroupIpPermission.h.

◆ AddIpRanges() [2/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::AddIpRanges ( const AwsEc2SecurityGroupIpRange value)
inline

The IPv4 ranges.

Definition at line 282 of file AwsEc2SecurityGroupIpPermission.h.

◆ AddIpv6Ranges() [1/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::AddIpv6Ranges ( AwsEc2SecurityGroupIpv6Range &&  value)
inline

The IPv6 ranges.

Definition at line 328 of file AwsEc2SecurityGroupIpPermission.h.

◆ AddIpv6Ranges() [2/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::AddIpv6Ranges ( const AwsEc2SecurityGroupIpv6Range value)
inline

The IPv6 ranges.

Definition at line 323 of file AwsEc2SecurityGroupIpPermission.h.

◆ AddPrefixListIds() [1/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::AddPrefixListIds ( AwsEc2SecurityGroupPrefixListId &&  value)
inline

[VPC only] The prefix list IDs for an Amazon Web Services service. With outbound rules, this is the Amazon Web Services service to access through a VPC endpoint from instances associated with the security group.

Definition at line 385 of file AwsEc2SecurityGroupIpPermission.h.

◆ AddPrefixListIds() [2/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::AddPrefixListIds ( const AwsEc2SecurityGroupPrefixListId value)
inline

[VPC only] The prefix list IDs for an Amazon Web Services service. With outbound rules, this is the Amazon Web Services service to access through a VPC endpoint from instances associated with the security group.

Definition at line 378 of file AwsEc2SecurityGroupIpPermission.h.

◆ AddUserIdGroupPairs() [1/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::AddUserIdGroupPairs ( AwsEc2SecurityGroupUserIdGroupPair &&  value)
inline

The security group and Amazon Web Services account ID pairs.

Definition at line 246 of file AwsEc2SecurityGroupIpPermission.h.

◆ AddUserIdGroupPairs() [2/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::AddUserIdGroupPairs ( const AwsEc2SecurityGroupUserIdGroupPair value)
inline

The security group and Amazon Web Services account ID pairs.

Definition at line 241 of file AwsEc2SecurityGroupIpPermission.h.

◆ FromPortHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::FromPortHasBeenSet ( ) const
inline

The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number.

A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 162 of file AwsEc2SecurityGroupIpPermission.h.

◆ GetFromPort()

int Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::GetFromPort ( ) const
inline

The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number.

A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 155 of file AwsEc2SecurityGroupIpPermission.h.

◆ GetIpProtocol()

const Aws::String& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::GetIpProtocol ( ) const
inline

The IP protocol name (tcp, udp, icmp, icmpv6) or number.

[VPC only] Use -1 to specify all protocols.

When authorizing security group rules, specifying -1 or a protocol number other than tcp, udp, icmp, or icmpv6 allows traffic on all ports, regardless of any port range you specify.

For tcp, udp, and icmp, you must specify a port range.

For icmpv6, the port range is optional. If you omit the port range, traffic for all types and codes is allowed.

Definition at line 56 of file AwsEc2SecurityGroupIpPermission.h.

◆ GetIpRanges()

const Aws::Vector<AwsEc2SecurityGroupIpRange>& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::GetIpRanges ( ) const
inline

The IPv4 ranges.

Definition at line 252 of file AwsEc2SecurityGroupIpPermission.h.

◆ GetIpv6Ranges()

const Aws::Vector<AwsEc2SecurityGroupIpv6Range>& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::GetIpv6Ranges ( ) const
inline

The IPv6 ranges.

Definition at line 293 of file AwsEc2SecurityGroupIpPermission.h.

◆ GetPrefixListIds()

const Aws::Vector<AwsEc2SecurityGroupPrefixListId>& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::GetPrefixListIds ( ) const
inline

[VPC only] The prefix list IDs for an Amazon Web Services service. With outbound rules, this is the Amazon Web Services service to access through a VPC endpoint from instances associated with the security group.

Definition at line 336 of file AwsEc2SecurityGroupIpPermission.h.

◆ GetToPort()

int Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::GetToPort ( ) const
inline

The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.

A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 184 of file AwsEc2SecurityGroupIpPermission.h.

◆ GetUserIdGroupPairs()

const Aws::Vector<AwsEc2SecurityGroupUserIdGroupPair>& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::GetUserIdGroupPairs ( ) const
inline

The security group and Amazon Web Services account ID pairs.

Definition at line 211 of file AwsEc2SecurityGroupIpPermission.h.

◆ IpProtocolHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::IpProtocolHasBeenSet ( ) const
inline

The IP protocol name (tcp, udp, icmp, icmpv6) or number.

[VPC only] Use -1 to specify all protocols.

When authorizing security group rules, specifying -1 or a protocol number other than tcp, udp, icmp, or icmpv6 allows traffic on all ports, regardless of any port range you specify.

For tcp, udp, and icmp, you must specify a port range.

For icmpv6, the port range is optional. If you omit the port range, traffic for all types and codes is allowed.

Definition at line 69 of file AwsEc2SecurityGroupIpPermission.h.

◆ IpRangesHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::IpRangesHasBeenSet ( ) const
inline

The IPv4 ranges.

Definition at line 257 of file AwsEc2SecurityGroupIpPermission.h.

◆ Ipv6RangesHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::Ipv6RangesHasBeenSet ( ) const
inline

The IPv6 ranges.

Definition at line 298 of file AwsEc2SecurityGroupIpPermission.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::Jsonize ( ) const

◆ operator=()

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PrefixListIdsHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::PrefixListIdsHasBeenSet ( ) const
inline

[VPC only] The prefix list IDs for an Amazon Web Services service. With outbound rules, this is the Amazon Web Services service to access through a VPC endpoint from instances associated with the security group.

Definition at line 343 of file AwsEc2SecurityGroupIpPermission.h.

◆ SetFromPort()

void Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::SetFromPort ( int  value)
inline

The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number.

A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 169 of file AwsEc2SecurityGroupIpPermission.h.

◆ SetIpProtocol() [1/3]

void Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::SetIpProtocol ( Aws::String &&  value)
inline

The IP protocol name (tcp, udp, icmp, icmpv6) or number.

[VPC only] Use -1 to specify all protocols.

When authorizing security group rules, specifying -1 or a protocol number other than tcp, udp, icmp, or icmpv6 allows traffic on all ports, regardless of any port range you specify.

For tcp, udp, and icmp, you must specify a port range.

For icmpv6, the port range is optional. If you omit the port range, traffic for all types and codes is allowed.

Definition at line 95 of file AwsEc2SecurityGroupIpPermission.h.

◆ SetIpProtocol() [2/3]

void Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::SetIpProtocol ( const Aws::String value)
inline

The IP protocol name (tcp, udp, icmp, icmpv6) or number.

[VPC only] Use -1 to specify all protocols.

When authorizing security group rules, specifying -1 or a protocol number other than tcp, udp, icmp, or icmpv6 allows traffic on all ports, regardless of any port range you specify.

For tcp, udp, and icmp, you must specify a port range.

For icmpv6, the port range is optional. If you omit the port range, traffic for all types and codes is allowed.

Definition at line 82 of file AwsEc2SecurityGroupIpPermission.h.

◆ SetIpProtocol() [3/3]

void Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::SetIpProtocol ( const char *  value)
inline

The IP protocol name (tcp, udp, icmp, icmpv6) or number.

[VPC only] Use -1 to specify all protocols.

When authorizing security group rules, specifying -1 or a protocol number other than tcp, udp, icmp, or icmpv6 allows traffic on all ports, regardless of any port range you specify.

For tcp, udp, and icmp, you must specify a port range.

For icmpv6, the port range is optional. If you omit the port range, traffic for all types and codes is allowed.

Definition at line 108 of file AwsEc2SecurityGroupIpPermission.h.

◆ SetIpRanges() [1/2]

void Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::SetIpRanges ( Aws::Vector< AwsEc2SecurityGroupIpRange > &&  value)
inline

The IPv4 ranges.

Definition at line 267 of file AwsEc2SecurityGroupIpPermission.h.

◆ SetIpRanges() [2/2]

void Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::SetIpRanges ( const Aws::Vector< AwsEc2SecurityGroupIpRange > &  value)
inline

The IPv4 ranges.

Definition at line 262 of file AwsEc2SecurityGroupIpPermission.h.

◆ SetIpv6Ranges() [1/2]

void Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::SetIpv6Ranges ( Aws::Vector< AwsEc2SecurityGroupIpv6Range > &&  value)
inline

The IPv6 ranges.

Definition at line 308 of file AwsEc2SecurityGroupIpPermission.h.

◆ SetIpv6Ranges() [2/2]

void Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::SetIpv6Ranges ( const Aws::Vector< AwsEc2SecurityGroupIpv6Range > &  value)
inline

The IPv6 ranges.

Definition at line 303 of file AwsEc2SecurityGroupIpPermission.h.

◆ SetPrefixListIds() [1/2]

void Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::SetPrefixListIds ( Aws::Vector< AwsEc2SecurityGroupPrefixListId > &&  value)
inline

[VPC only] The prefix list IDs for an Amazon Web Services service. With outbound rules, this is the Amazon Web Services service to access through a VPC endpoint from instances associated with the security group.

Definition at line 357 of file AwsEc2SecurityGroupIpPermission.h.

◆ SetPrefixListIds() [2/2]

void Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::SetPrefixListIds ( const Aws::Vector< AwsEc2SecurityGroupPrefixListId > &  value)
inline

[VPC only] The prefix list IDs for an Amazon Web Services service. With outbound rules, this is the Amazon Web Services service to access through a VPC endpoint from instances associated with the security group.

Definition at line 350 of file AwsEc2SecurityGroupIpPermission.h.

◆ SetToPort()

void Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::SetToPort ( int  value)
inline

The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.

A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 198 of file AwsEc2SecurityGroupIpPermission.h.

◆ SetUserIdGroupPairs() [1/2]

void Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::SetUserIdGroupPairs ( Aws::Vector< AwsEc2SecurityGroupUserIdGroupPair > &&  value)
inline

The security group and Amazon Web Services account ID pairs.

Definition at line 226 of file AwsEc2SecurityGroupIpPermission.h.

◆ SetUserIdGroupPairs() [2/2]

void Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::SetUserIdGroupPairs ( const Aws::Vector< AwsEc2SecurityGroupUserIdGroupPair > &  value)
inline

The security group and Amazon Web Services account ID pairs.

Definition at line 221 of file AwsEc2SecurityGroupIpPermission.h.

◆ ToPortHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::ToPortHasBeenSet ( ) const
inline

The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.

A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 191 of file AwsEc2SecurityGroupIpPermission.h.

◆ UserIdGroupPairsHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::UserIdGroupPairsHasBeenSet ( ) const
inline

The security group and Amazon Web Services account ID pairs.

Definition at line 216 of file AwsEc2SecurityGroupIpPermission.h.

◆ WithFromPort()

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::WithFromPort ( int  value)
inline

The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number.

A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 176 of file AwsEc2SecurityGroupIpPermission.h.

◆ WithIpProtocol() [1/3]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::WithIpProtocol ( Aws::String &&  value)
inline

The IP protocol name (tcp, udp, icmp, icmpv6) or number.

[VPC only] Use -1 to specify all protocols.

When authorizing security group rules, specifying -1 or a protocol number other than tcp, udp, icmp, or icmpv6 allows traffic on all ports, regardless of any port range you specify.

For tcp, udp, and icmp, you must specify a port range.

For icmpv6, the port range is optional. If you omit the port range, traffic for all types and codes is allowed.

Definition at line 134 of file AwsEc2SecurityGroupIpPermission.h.

◆ WithIpProtocol() [2/3]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::WithIpProtocol ( const Aws::String value)
inline

The IP protocol name (tcp, udp, icmp, icmpv6) or number.

[VPC only] Use -1 to specify all protocols.

When authorizing security group rules, specifying -1 or a protocol number other than tcp, udp, icmp, or icmpv6 allows traffic on all ports, regardless of any port range you specify.

For tcp, udp, and icmp, you must specify a port range.

For icmpv6, the port range is optional. If you omit the port range, traffic for all types and codes is allowed.

Definition at line 121 of file AwsEc2SecurityGroupIpPermission.h.

◆ WithIpProtocol() [3/3]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::WithIpProtocol ( const char *  value)
inline

The IP protocol name (tcp, udp, icmp, icmpv6) or number.

[VPC only] Use -1 to specify all protocols.

When authorizing security group rules, specifying -1 or a protocol number other than tcp, udp, icmp, or icmpv6 allows traffic on all ports, regardless of any port range you specify.

For tcp, udp, and icmp, you must specify a port range.

For icmpv6, the port range is optional. If you omit the port range, traffic for all types and codes is allowed.

Definition at line 147 of file AwsEc2SecurityGroupIpPermission.h.

◆ WithIpRanges() [1/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::WithIpRanges ( Aws::Vector< AwsEc2SecurityGroupIpRange > &&  value)
inline

The IPv4 ranges.

Definition at line 277 of file AwsEc2SecurityGroupIpPermission.h.

◆ WithIpRanges() [2/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::WithIpRanges ( const Aws::Vector< AwsEc2SecurityGroupIpRange > &  value)
inline

The IPv4 ranges.

Definition at line 272 of file AwsEc2SecurityGroupIpPermission.h.

◆ WithIpv6Ranges() [1/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::WithIpv6Ranges ( Aws::Vector< AwsEc2SecurityGroupIpv6Range > &&  value)
inline

The IPv6 ranges.

Definition at line 318 of file AwsEc2SecurityGroupIpPermission.h.

◆ WithIpv6Ranges() [2/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::WithIpv6Ranges ( const Aws::Vector< AwsEc2SecurityGroupIpv6Range > &  value)
inline

The IPv6 ranges.

Definition at line 313 of file AwsEc2SecurityGroupIpPermission.h.

◆ WithPrefixListIds() [1/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::WithPrefixListIds ( Aws::Vector< AwsEc2SecurityGroupPrefixListId > &&  value)
inline

[VPC only] The prefix list IDs for an Amazon Web Services service. With outbound rules, this is the Amazon Web Services service to access through a VPC endpoint from instances associated with the security group.

Definition at line 371 of file AwsEc2SecurityGroupIpPermission.h.

◆ WithPrefixListIds() [2/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::WithPrefixListIds ( const Aws::Vector< AwsEc2SecurityGroupPrefixListId > &  value)
inline

[VPC only] The prefix list IDs for an Amazon Web Services service. With outbound rules, this is the Amazon Web Services service to access through a VPC endpoint from instances associated with the security group.

Definition at line 364 of file AwsEc2SecurityGroupIpPermission.h.

◆ WithToPort()

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::WithToPort ( int  value)
inline

The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.

A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 205 of file AwsEc2SecurityGroupIpPermission.h.

◆ WithUserIdGroupPairs() [1/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::WithUserIdGroupPairs ( Aws::Vector< AwsEc2SecurityGroupUserIdGroupPair > &&  value)
inline

The security group and Amazon Web Services account ID pairs.

Definition at line 236 of file AwsEc2SecurityGroupIpPermission.h.

◆ WithUserIdGroupPairs() [2/2]

AwsEc2SecurityGroupIpPermission& Aws::SecurityHub::Model::AwsEc2SecurityGroupIpPermission::WithUserIdGroupPairs ( const Aws::Vector< AwsEc2SecurityGroupUserIdGroupPair > &  value)
inline

The security group and Amazon Web Services account ID pairs.

Definition at line 231 of file AwsEc2SecurityGroupIpPermission.h.


The documentation for this class was generated from the following file: