Interface CfnStage.AccessLogSettingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStage.AccessLogSettingProperty.Jsii$Proxy
- Enclosing class:
CfnStage
@Stability(Stable)
public static interface CfnStage.AccessLogSettingProperty
extends software.amazon.jsii.JsiiSerializable
The
AccessLogSetting property type specifies settings for logging access in this stage.
AccessLogSetting is a property of the AWS::ApiGateway::Stage 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.services.apigateway.*;
AccessLogSettingProperty accessLogSettingProperty = AccessLogSettingProperty.builder()
.destinationArn("destinationArn")
.format("format")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStage.AccessLogSettingPropertystatic final classAn implementation forCfnStage.AccessLogSettingProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs.default StringA single line format of the access logs of data, as specified by selected $context variables .Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinationArn
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.- See Also:
-
getFormat
A single line format of the access logs of data, as specified by selected $context variables . The format must include at least$context.requestId. This parameter is required to enable access logging.- See Also:
-
builder
-