@Stability(value=Stable) public static final class CfnStage.AccessLogSettingProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnStage.AccessLogSettingProperty>
CfnStage.AccessLogSettingProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnStage.AccessLogSettingProperty |
build()
Builds the configured instance.
|
CfnStage.AccessLogSettingProperty.Builder |
destinationArn(String destinationArn)
Sets the value of
CfnStage.AccessLogSettingProperty.getDestinationArn() |
CfnStage.AccessLogSettingProperty.Builder |
format(String format)
Sets the value of
CfnStage.AccessLogSettingProperty.getFormat() |
@Stability(value=Stable) public CfnStage.AccessLogSettingProperty.Builder destinationArn(String destinationArn)
CfnStage.AccessLogSettingProperty.getDestinationArn()destinationArn - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs.
If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with amazon-apigateway- . This parameter is required to enable access logging.this@Stability(value=Stable) public CfnStage.AccessLogSettingProperty.Builder format(String format)
CfnStage.AccessLogSettingProperty.getFormat()format - A single line format of the access logs of data, as specified by selected [$context variables](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference) . The format must include at least `$context.requestId` . This parameter is required to enable access logging.this@Stability(value=Stable) public CfnStage.AccessLogSettingProperty build()
build in interface software.amazon.jsii.Builder<CfnStage.AccessLogSettingProperty>CfnStage.AccessLogSettingPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.