You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EventBridge::Types::NetworkConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb

Overview

Note:

When making an API call, you may pass NetworkConfiguration data as a hash:

{
  awsvpc_configuration: {
    subnets: ["String"], # required
    security_groups: ["String"],
    assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
  },
}

This structure specifies the network configuration for an ECS task.

Instance Attribute Summary collapse

Instance Attribute Details

#awsvpc_configurationTypes::AwsVpcConfiguration

Use this structure to specify 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.



1351
1352
1353
1354
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1351

class NetworkConfiguration < Struct.new(
  :awsvpc_configuration)
  include Aws::Structure
end