Interface CfnTaskDefinitionPropsMixin.HostEntryProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTaskDefinitionPropsMixin.HostEntryProperty.Jsii$Proxy
Enclosing class:
CfnTaskDefinitionPropsMixin

@Stability(Stable) public static interface CfnTaskDefinitionPropsMixin.HostEntryProperty extends software.amazon.jsii.JsiiSerializable
The HostEntry property specifies a hostname and an IP address that are added to the /etc/hosts file of a container through the extraHosts parameter of its ContainerDefinition resource.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.ecs.*;
 HostEntryProperty hostEntryProperty = HostEntryProperty.builder()
         .hostname("hostname")
         .ipAddress("ipAddress")
         .build();
 

See Also: