AWS SDK for C++  1.8.93
AWS SDK for C++
Public Member Functions | List of all members
Aws::EventBridge::Model::AwsVpcConfiguration Class Reference

#include <AwsVpcConfiguration.h>

Public Member Functions

 AwsVpcConfiguration ()
 
 AwsVpcConfiguration (Aws::Utils::Json::JsonView jsonValue)
 
AwsVpcConfigurationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< Aws::String > & GetSubnets () const
 
bool SubnetsHasBeenSet () const
 
void SetSubnets (const Aws::Vector< Aws::String > &value)
 
void SetSubnets (Aws::Vector< Aws::String > &&value)
 
AwsVpcConfigurationWithSubnets (const Aws::Vector< Aws::String > &value)
 
AwsVpcConfigurationWithSubnets (Aws::Vector< Aws::String > &&value)
 
AwsVpcConfigurationAddSubnets (const Aws::String &value)
 
AwsVpcConfigurationAddSubnets (Aws::String &&value)
 
AwsVpcConfigurationAddSubnets (const char *value)
 
const Aws::Vector< Aws::String > & GetSecurityGroups () const
 
bool SecurityGroupsHasBeenSet () const
 
void SetSecurityGroups (const Aws::Vector< Aws::String > &value)
 
void SetSecurityGroups (Aws::Vector< Aws::String > &&value)
 
AwsVpcConfigurationWithSecurityGroups (const Aws::Vector< Aws::String > &value)
 
AwsVpcConfigurationWithSecurityGroups (Aws::Vector< Aws::String > &&value)
 
AwsVpcConfigurationAddSecurityGroups (const Aws::String &value)
 
AwsVpcConfigurationAddSecurityGroups (Aws::String &&value)
 
AwsVpcConfigurationAddSecurityGroups (const char *value)
 
const AssignPublicIpGetAssignPublicIp () const
 
bool AssignPublicIpHasBeenSet () const
 
void SetAssignPublicIp (const AssignPublicIp &value)
 
void SetAssignPublicIp (AssignPublicIp &&value)
 
AwsVpcConfigurationWithAssignPublicIp (const AssignPublicIp &value)
 
AwsVpcConfigurationWithAssignPublicIp (AssignPublicIp &&value)
 

Detailed Description

This structure specifies the VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode.

See Also:

AWS API Reference

Definition at line 36 of file AwsVpcConfiguration.h.

Constructor & Destructor Documentation

◆ AwsVpcConfiguration() [1/2]

Aws::EventBridge::Model::AwsVpcConfiguration::AwsVpcConfiguration ( )

◆ AwsVpcConfiguration() [2/2]

Aws::EventBridge::Model::AwsVpcConfiguration::AwsVpcConfiguration ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddSecurityGroups() [1/3]

AwsVpcConfiguration& Aws::EventBridge::Model::AwsVpcConfiguration::AddSecurityGroups ( const Aws::String value)
inline

Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.

Definition at line 154 of file AwsVpcConfiguration.h.

◆ AddSecurityGroups() [2/3]

AwsVpcConfiguration& Aws::EventBridge::Model::AwsVpcConfiguration::AddSecurityGroups ( Aws::String &&  value)
inline

Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.

Definition at line 162 of file AwsVpcConfiguration.h.

◆ AddSecurityGroups() [3/3]

AwsVpcConfiguration& Aws::EventBridge::Model::AwsVpcConfiguration::AddSecurityGroups ( const char *  value)
inline

Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.

Definition at line 170 of file AwsVpcConfiguration.h.

◆ AddSubnets() [1/3]

AwsVpcConfiguration& Aws::EventBridge::Model::AwsVpcConfiguration::AddSubnets ( const Aws::String value)
inline

Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.

Definition at line 85 of file AwsVpcConfiguration.h.

◆ AddSubnets() [2/3]

AwsVpcConfiguration& Aws::EventBridge::Model::AwsVpcConfiguration::AddSubnets ( Aws::String &&  value)
inline

Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.

Definition at line 91 of file AwsVpcConfiguration.h.

◆ AddSubnets() [3/3]

AwsVpcConfiguration& Aws::EventBridge::Model::AwsVpcConfiguration::AddSubnets ( const char *  value)
inline

Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.

Definition at line 97 of file AwsVpcConfiguration.h.

◆ AssignPublicIpHasBeenSet()

bool Aws::EventBridge::Model::AwsVpcConfiguration::AssignPublicIpHasBeenSet ( ) const
inline

Specifies whether the task's elastic network interface receives a public IP address. You can specify ENABLED only when LaunchType in EcsParameters is set to FARGATE.

Definition at line 185 of file AwsVpcConfiguration.h.

◆ GetAssignPublicIp()

const AssignPublicIp& Aws::EventBridge::Model::AwsVpcConfiguration::GetAssignPublicIp ( ) const
inline

Specifies whether the task's elastic network interface receives a public IP address. You can specify ENABLED only when LaunchType in EcsParameters is set to FARGATE.

Definition at line 178 of file AwsVpcConfiguration.h.

◆ GetSecurityGroups()

const Aws::Vector<Aws::String>& Aws::EventBridge::Model::AwsVpcConfiguration::GetSecurityGroups ( ) const
inline

Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.

Definition at line 106 of file AwsVpcConfiguration.h.

◆ GetSubnets()

const Aws::Vector<Aws::String>& Aws::EventBridge::Model::AwsVpcConfiguration::GetSubnets ( ) const
inline

Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.

Definition at line 49 of file AwsVpcConfiguration.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::EventBridge::Model::AwsVpcConfiguration::Jsonize ( ) const

◆ operator=()

AwsVpcConfiguration& Aws::EventBridge::Model::AwsVpcConfiguration::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SecurityGroupsHasBeenSet()

bool Aws::EventBridge::Model::AwsVpcConfiguration::SecurityGroupsHasBeenSet ( ) const
inline

Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.

Definition at line 114 of file AwsVpcConfiguration.h.

◆ SetAssignPublicIp() [1/2]

void Aws::EventBridge::Model::AwsVpcConfiguration::SetAssignPublicIp ( const AssignPublicIp value)
inline

Specifies whether the task's elastic network interface receives a public IP address. You can specify ENABLED only when LaunchType in EcsParameters is set to FARGATE.

Definition at line 192 of file AwsVpcConfiguration.h.

◆ SetAssignPublicIp() [2/2]

void Aws::EventBridge::Model::AwsVpcConfiguration::SetAssignPublicIp ( AssignPublicIp &&  value)
inline

Specifies whether the task's elastic network interface receives a public IP address. You can specify ENABLED only when LaunchType in EcsParameters is set to FARGATE.

Definition at line 199 of file AwsVpcConfiguration.h.

◆ SetSecurityGroups() [1/2]

void Aws::EventBridge::Model::AwsVpcConfiguration::SetSecurityGroups ( const Aws::Vector< Aws::String > &  value)
inline

Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.

Definition at line 122 of file AwsVpcConfiguration.h.

◆ SetSecurityGroups() [2/2]

void Aws::EventBridge::Model::AwsVpcConfiguration::SetSecurityGroups ( Aws::Vector< Aws::String > &&  value)
inline

Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.

Definition at line 130 of file AwsVpcConfiguration.h.

◆ SetSubnets() [1/2]

void Aws::EventBridge::Model::AwsVpcConfiguration::SetSubnets ( const Aws::Vector< Aws::String > &  value)
inline

Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.

Definition at line 61 of file AwsVpcConfiguration.h.

◆ SetSubnets() [2/2]

void Aws::EventBridge::Model::AwsVpcConfiguration::SetSubnets ( Aws::Vector< Aws::String > &&  value)
inline

Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.

Definition at line 67 of file AwsVpcConfiguration.h.

◆ SubnetsHasBeenSet()

bool Aws::EventBridge::Model::AwsVpcConfiguration::SubnetsHasBeenSet ( ) const
inline

Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.

Definition at line 55 of file AwsVpcConfiguration.h.

◆ WithAssignPublicIp() [1/2]

AwsVpcConfiguration& Aws::EventBridge::Model::AwsVpcConfiguration::WithAssignPublicIp ( const AssignPublicIp value)
inline

Specifies whether the task's elastic network interface receives a public IP address. You can specify ENABLED only when LaunchType in EcsParameters is set to FARGATE.

Definition at line 206 of file AwsVpcConfiguration.h.

◆ WithAssignPublicIp() [2/2]

AwsVpcConfiguration& Aws::EventBridge::Model::AwsVpcConfiguration::WithAssignPublicIp ( AssignPublicIp &&  value)
inline

Specifies whether the task's elastic network interface receives a public IP address. You can specify ENABLED only when LaunchType in EcsParameters is set to FARGATE.

Definition at line 213 of file AwsVpcConfiguration.h.

◆ WithSecurityGroups() [1/2]

AwsVpcConfiguration& Aws::EventBridge::Model::AwsVpcConfiguration::WithSecurityGroups ( const Aws::Vector< Aws::String > &  value)
inline

Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.

Definition at line 138 of file AwsVpcConfiguration.h.

◆ WithSecurityGroups() [2/2]

AwsVpcConfiguration& Aws::EventBridge::Model::AwsVpcConfiguration::WithSecurityGroups ( Aws::Vector< Aws::String > &&  value)
inline

Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.

Definition at line 146 of file AwsVpcConfiguration.h.

◆ WithSubnets() [1/2]

AwsVpcConfiguration& Aws::EventBridge::Model::AwsVpcConfiguration::WithSubnets ( const Aws::Vector< Aws::String > &  value)
inline

Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.

Definition at line 73 of file AwsVpcConfiguration.h.

◆ WithSubnets() [2/2]

AwsVpcConfiguration& Aws::EventBridge::Model::AwsVpcConfiguration::WithSubnets ( Aws::Vector< Aws::String > &&  value)
inline

Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.

Definition at line 79 of file AwsVpcConfiguration.h.


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