NAME
Paws::CloudWatchEvents::AwsVpcConfiguration
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::CloudWatchEvents::AwsVpcConfiguration object:
$service_obj->Method(Att1 => { AssignPublicIp => $value, ..., Subnets => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchEvents::AwsVpcConfiguration object:
$result = $service_obj->Method(...);
$result->Att1->AssignPublicIp
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.
ATTRIBUTES
AssignPublicIp => Str
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
.
SecurityGroups => ArrayRef[Str|Undef]
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.
REQUIRED Subnets => ArrayRef[Str|Undef]
Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::CloudWatchEvents
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues