class
Amazonite::EventBridge::AwsVpcConfiguration
- Amazonite::EventBridge::AwsVpcConfiguration
- Reference
- Object
Overview
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.
Included Modules
- JSON::Serializable
Defined in:
eventbridge/aws_vpc_configuration.crConstructors
- .new(pull : JSON::PullParser)
- .new(subnets : Array(String), security_groups : Array(String) | Nil = nil, assign_public_ip : AssignPublicIp | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#assign_public_ip : AssignPublicIp | Nil
Specifies whether the task's elastic network interface receives a public IP address.
-
#assign_public_ip=(assign_public_ip : AssignPublicIp | Nil)
Specifies whether the task's elastic network interface receives a public IP address.
-
#hash(hasher)
See
Object#hash(hasher) -
#security_groups : Array(String) | Nil
Specifies the security groups associated with the task.
-
#security_groups=(security_groups : Array(String) | Nil)
Specifies the security groups associated with the task.
-
#subnets : Array(String)
Specifies the subnets associated with the task.
-
#subnets=(subnets : Array(String))
Specifies the subnets associated with the task.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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.
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.
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.
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.
Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.