Class CfnRestApiLogsMixin
The AWS::ApiGateway::RestApi resource creates a REST API.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.ApiGateway.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnRestApiLogsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnRestApiLogsMixin Inherits Mixin Implements IMixin
Remarks
For more information, see restapi:create in the Amazon API Gateway REST API Reference .
On January 1, 2016, the Swagger Specification was donated to the <a href="https://docs.aws.amazon.com/https://www.openapis.org/">OpenAPI initiative</a> , becoming the foundation of the OpenAPI Specification.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html
CloudformationResource: AWS::ApiGateway::RestApi
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Logs;
using Amazon.CDK.Mixins.Preview.AWS.ApiGateway.Mixins;
ILogsDelivery logsDelivery;
var cfnRestApiLogsMixin = new CfnRestApiLogsMixin("logType", logsDelivery);
Synopsis
Constructors
| CfnRestApiLogsMixin(string, ILogsDelivery) | Create a mixin to enable vended logs for |
Properties
| ACCESS_LOGS | The |
| EXECUTION_LOGS | The |
| LogDelivery | The |
| LogType | The |
Methods
| ApplyTo(IConstruct) | Apply vended logs configuration to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct (has vendedLogs property). |
Constructors
CfnRestApiLogsMixin(string, ILogsDelivery)
Create a mixin to enable vended logs for AWS::ApiGateway::RestApi.
public CfnRestApiLogsMixin(string logType, ILogsDelivery logDelivery)
Parameters
- logType string
Type of logs that are getting vended.
- logDelivery ILogsDelivery
Object in charge of setting up the delivery source, delivery destination, and delivery connection.
Remarks
For more information, see restapi:create in the Amazon API Gateway REST API Reference .
On January 1, 2016, the Swagger Specification was donated to the <a href="https://docs.aws.amazon.com/https://www.openapis.org/">OpenAPI initiative</a> , becoming the foundation of the OpenAPI Specification.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html
CloudformationResource: AWS::ApiGateway::RestApi
Mixin: true
ExampleMetadata: fixture=_generated
Properties
ACCESS_LOGS
The AWS::ApiGateway::RestApi resource creates a REST API.
public static CfnRestApiAccessLogs ACCESS_LOGS { get; }
Property Value
Remarks
For more information, see restapi:create in the Amazon API Gateway REST API Reference .
On January 1, 2016, the Swagger Specification was donated to the <a href="https://docs.aws.amazon.com/https://www.openapis.org/">OpenAPI initiative</a> , becoming the foundation of the OpenAPI Specification.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html
CloudformationResource: AWS::ApiGateway::RestApi
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Logs;
using Amazon.CDK.Mixins.Preview.AWS.ApiGateway.Mixins;
ILogsDelivery logsDelivery;
var cfnRestApiLogsMixin = new CfnRestApiLogsMixin("logType", logsDelivery);
EXECUTION_LOGS
The AWS::ApiGateway::RestApi resource creates a REST API.
public static CfnRestApiExecutionLogs EXECUTION_LOGS { get; }
Property Value
Remarks
For more information, see restapi:create in the Amazon API Gateway REST API Reference .
On January 1, 2016, the Swagger Specification was donated to the <a href="https://docs.aws.amazon.com/https://www.openapis.org/">OpenAPI initiative</a> , becoming the foundation of the OpenAPI Specification.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html
CloudformationResource: AWS::ApiGateway::RestApi
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Logs;
using Amazon.CDK.Mixins.Preview.AWS.ApiGateway.Mixins;
ILogsDelivery logsDelivery;
var cfnRestApiLogsMixin = new CfnRestApiLogsMixin("logType", logsDelivery);
LogDelivery
The AWS::ApiGateway::RestApi resource creates a REST API.
protected virtual ILogsDelivery LogDelivery { get; }
Property Value
Remarks
For more information, see restapi:create in the Amazon API Gateway REST API Reference .
On January 1, 2016, the Swagger Specification was donated to the <a href="https://docs.aws.amazon.com/https://www.openapis.org/">OpenAPI initiative</a> , becoming the foundation of the OpenAPI Specification.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html
CloudformationResource: AWS::ApiGateway::RestApi
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Logs;
using Amazon.CDK.Mixins.Preview.AWS.ApiGateway.Mixins;
ILogsDelivery logsDelivery;
var cfnRestApiLogsMixin = new CfnRestApiLogsMixin("logType", logsDelivery);
LogType
The AWS::ApiGateway::RestApi resource creates a REST API.
protected virtual string LogType { get; }
Property Value
Remarks
For more information, see restapi:create in the Amazon API Gateway REST API Reference .
On January 1, 2016, the Swagger Specification was donated to the <a href="https://docs.aws.amazon.com/https://www.openapis.org/">OpenAPI initiative</a> , becoming the foundation of the OpenAPI Specification.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html
CloudformationResource: AWS::ApiGateway::RestApi
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Logs;
using Amazon.CDK.Mixins.Preview.AWS.ApiGateway.Mixins;
ILogsDelivery logsDelivery;
var cfnRestApiLogsMixin = new CfnRestApiLogsMixin("logType", logsDelivery);
Methods
ApplyTo(IConstruct)
Apply vended logs configuration to the construct.
public override void ApplyTo(IConstruct resource)
Parameters
- resource IConstruct
Overrides
Remarks
For more information, see restapi:create in the Amazon API Gateway REST API Reference .
On January 1, 2016, the Swagger Specification was donated to the <a href="https://docs.aws.amazon.com/https://www.openapis.org/">OpenAPI initiative</a> , becoming the foundation of the OpenAPI Specification.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html
CloudformationResource: AWS::ApiGateway::RestApi
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct (has vendedLogs property).
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
For more information, see restapi:create in the Amazon API Gateway REST API Reference .
On January 1, 2016, the Swagger Specification was donated to the <a href="https://docs.aws.amazon.com/https://www.openapis.org/">OpenAPI initiative</a> , becoming the foundation of the OpenAPI Specification.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html
CloudformationResource: AWS::ApiGateway::RestApi
Mixin: true
ExampleMetadata: fixture=_generated