class CfnRouteServerPeerLogsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnRouteServerPeerLogsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnRouteServerPeerLogsMixin |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnRouteServerPeerLogsMixin |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnRouteServerPeerLogsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnRouteServerPeerLogsMixin |
Implements
IMixin
Extends
Mixin
Specifies a BGP peer configuration for a route server endpoint.
A route server peer is a session between a route server endpoint and the device deployed in AWS (such as a firewall appliance or other network security function running on an EC2 instance).
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-routeserverpeer.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 ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
declare const logsDelivery: logs.ILogsDelivery;
const cfnRouteServerPeerLogsMixin = new ec2_mixins.CfnRouteServerPeerLogsMixin('logType', logsDelivery);
Initializer
new CfnRouteServerPeerLogsMixin(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::EC2::RouteServerPeer.
Properties
| Name | Type | Description |
|---|---|---|
| log | ILogs | |
| log | string | |
| static EVENT_LOGS | Cfn |
logDelivery
Type:
ILogs
logType
Type:
string
static EVENT_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