@Stability(value=Stable)
public static interface CfnTaskDefinition.HostEntryProperty
extends software.amazon.jsii.JsiiSerializable
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 String |
getHostname()
The hostname to use in the `/etc/hosts` entry.
|
default String |
getIpAddress()
The IP address to use in the `/etc/hosts` entry.
|
@Stability(value=Stable) @Nullable default String getHostname()
@Stability(value=Stable) @Nullable default String getIpAddress()
@Stability(value=Stable) static CfnTaskDefinition.HostEntryProperty.Builder builder()
Copyright © 2022. All rights reserved.