package awsapigateway // The `AccessLogSetting` property type specifies settings for logging access in this stage. // // `AccessLogSetting` is a property of the [StageDescription](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html) property type. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // accessLogSettingProperty := &AccessLogSettingProperty{ // DestinationArn: jsii.String("destinationArn"), // Format: jsii.String("format"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-accesslogsetting.html // type CfnDeployment_AccessLogSettingProperty struct { // 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-` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-accesslogsetting.html#cfn-apigateway-deployment-accesslogsetting-destinationarn // DestinationArn *string `field:"optional" json:"destinationArn" yaml:"destinationArn"` // A single line format of the access logs of data, as specified by selected $context variables. // // The format must include at least `$context.requestId` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-accesslogsetting.html#cfn-apigateway-deployment-accesslogsetting-format // Format *string `field:"optional" json:"format" yaml:"format"` }