class CfnServerLogsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Transfer.Mixins.CfnServerLogsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awstransfer/mixins#CfnServerLogsMixin |
Java | software.amazon.awscdk.mixins.preview.services.transfer.mixins.CfnServerLogsMixin |
Python | aws_cdk.mixins_preview.aws_transfer.mixins.CfnServerLogsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_transfer » mixins » CfnServerLogsMixin |
Implements
IMixin
Extends
Mixin
Instantiates an auto-scaling virtual server based on the selected file transfer protocol in AWS .
When you make updates to your file transfer protocol-enabled server or when you work with users, use the service-generated ServerId property that is assigned to the newly created server.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from '@aws-cdk/mixins-preview';
import { mixins as transfer_mixins } from '@aws-cdk/mixins-preview/aws-transfer';
declare const logsDelivery: logs.ILogsDelivery;
const cfnServerLogsMixin = new transfer_mixins.CfnServerLogsMixin('logType', logsDelivery);
Initializer
new CfnServerLogsMixin(logType: string, logDelivery: ILogsDelivery)
Parameters
- logType
string— Type of logs that are getting vended. - logDelivery
ILogs— Object in charge of setting up the delivery source, delivery destination, and delivery connection.Delivery
Create a mixin to enable vended logs for AWS::Transfer::Server.
Properties
| Name | Type | Description |
|---|---|---|
| log | ILogs | |
| log | string | |
| static TRANSFER_LOGS | Cfn |
logDelivery
Type:
ILogs
logType
Type:
string
static TRANSFER_LOGS
Type:
Cfn
Methods
| Name | Description |
|---|---|
| apply | Apply vended logs configuration to the construct. |
| supports(construct) | Check if this mixin supports the given construct (has vendedLogs property). |
applyTo(resource)
public applyTo(resource: IConstruct): IConstruct
Parameters
- resource
IConstruct
Returns
Apply vended logs configuration to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct (has vendedLogs property).

.NET
Go
Java
Python
TypeScript