@Stability(value=Stable) public static final class CfnTaskDefinition.FirelensConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTaskDefinition.FirelensConfigurationProperty>
CfnTaskDefinition.FirelensConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTaskDefinition.FirelensConfigurationProperty |
build()
Builds the configured instance.
|
CfnTaskDefinition.FirelensConfigurationProperty.Builder |
options(IResolvable options)
Sets the value of
CfnTaskDefinition.FirelensConfigurationProperty.getOptions() |
CfnTaskDefinition.FirelensConfigurationProperty.Builder |
options(Map<String,String> options)
Sets the value of
CfnTaskDefinition.FirelensConfigurationProperty.getOptions() |
CfnTaskDefinition.FirelensConfigurationProperty.Builder |
type(String type)
Sets the value of
CfnTaskDefinition.FirelensConfigurationProperty.getType() |
@Stability(value=Stable) public CfnTaskDefinition.FirelensConfigurationProperty.Builder options(IResolvable options)
CfnTaskDefinition.FirelensConfigurationProperty.getOptions()options - The options to use when configuring the log router.
This field is optional and can be used to add additional metadata, such as the task, task definition, cluster, and container instance details to the log event.
If specified, valid option keys are:
enable-ecs-log-metadata , which can be true or falseconfig-file-type , which can be s3 or fileconfig-file-value , which is either an S3 ARN or a file paththis@Stability(value=Stable) public CfnTaskDefinition.FirelensConfigurationProperty.Builder options(Map<String,String> options)
CfnTaskDefinition.FirelensConfigurationProperty.getOptions()options - The options to use when configuring the log router.
This field is optional and can be used to add additional metadata, such as the task, task definition, cluster, and container instance details to the log event.
If specified, valid option keys are:
enable-ecs-log-metadata , which can be true or falseconfig-file-type , which can be s3 or fileconfig-file-value , which is either an S3 ARN or a file paththis@Stability(value=Stable) public CfnTaskDefinition.FirelensConfigurationProperty.Builder type(String type)
CfnTaskDefinition.FirelensConfigurationProperty.getType()type - The log router to use.
The valid values are fluentd or fluentbit .this@Stability(value=Stable) public CfnTaskDefinition.FirelensConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnTaskDefinition.FirelensConfigurationProperty>CfnTaskDefinition.FirelensConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.