AwsVpcConfiguration class
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.
Constructors
-
AwsVpcConfiguration({required List<
String> subnets, AssignPublicIp? assignPublicIp, List<String> ? securityGroups}) -
AwsVpcConfiguration.fromJson(Map<
String, dynamic> json) -
factory
Properties
- assignPublicIp → AssignPublicIp?
-
Specifies whether the task's elastic network interface receives a public IP
address. You can specify
ENABLED
only whenLaunchType
inEcsParameters
is set toFARGATE
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
securityGroups
→ List<
String> ? -
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.
final
-
subnets
→ List<
String> -
Specifies the subnets associated with the task. These subnets must all be in
the same VPC. You can specify as many as 16 subnets.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited