public static interface CfnTaskDefinition.HostEntryProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ecs.*; HostEntryProperty hostEntryProperty = HostEntryProperty.builder() .hostname("hostname") .ipAddress("ipAddress") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnTaskDefinition.HostEntryProperty.Builder
A builder for
CfnTaskDefinition.HostEntryProperty |
static class |
CfnTaskDefinition.HostEntryProperty.Jsii$Proxy
An implementation for
CfnTaskDefinition.HostEntryProperty |
Modifier and Type | Method and Description |
---|---|
static CfnTaskDefinition.HostEntryProperty.Builder |
builder() |
default java.lang.String |
getHostname()
The hostname to use in the `/etc/hosts` entry.
|
default java.lang.String |
getIpAddress()
The IP address to use in the `/etc/hosts` entry.
|
default java.lang.String getHostname()
default java.lang.String getIpAddress()
static CfnTaskDefinition.HostEntryProperty.Builder builder()