class CfnResourceConfigurationLogsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.VpcLattice.Mixins.CfnResourceConfigurationLogsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsvpclattice/mixins#CfnResourceConfigurationLogsMixin |
Java | software.amazon.awscdk.mixins.preview.services.vpclattice.mixins.CfnResourceConfigurationLogsMixin |
Python | aws_cdk.mixins_preview.aws_vpclattice.mixins.CfnResourceConfigurationLogsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_vpclattice » mixins » CfnResourceConfigurationLogsMixin |
Implements
IMixin
Extends
Mixin
Creates a resource configuration.
A resource configuration defines a specific resource. You can associate a resource configuration with a service network or a VPC endpoint.
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 vpclattice_mixins } from '@aws-cdk/mixins-preview/aws-vpclattice';
declare const logsDelivery: logs.ILogsDelivery;
const cfnResourceConfigurationLogsMixin = new vpclattice_mixins.CfnResourceConfigurationLogsMixin('logType', logsDelivery);
Initializer
new CfnResourceConfigurationLogsMixin(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::VpcLattice::ResourceConfiguration.
Properties
| Name | Type | Description |
|---|---|---|
| log | ILogs | |
| log | string | |
| static RESOURCE_ACCESS_LOGS | Cfn |
logDelivery
Type:
ILogs
logType
Type:
string
static RESOURCE_ACCESS_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