# ApplicationLogsProperty

- Source: Generated at build time
- Type last changed: v2.231.0 · 1 Dec 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rtbfabric as rtbfabric } from 'aws-cdk-lib';
const applicationLogsProperty: rtbfabric.CfnOutboundExternalLink.ApplicationLogsProperty = {
  linkApplicationLogSampling: {
    errorLog: 123,
    filterLog: 123,
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_rtbfabric as rtbfabric

application_logs_property = rtbfabric.CfnOutboundExternalLink.ApplicationLogsProperty(
    link_application_log_sampling=rtbfabric.CfnOutboundExternalLink.LinkApplicationLogSamplingProperty(
        error_log=123,
        filter_log=123
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.rtbfabric.*;

ApplicationLogsProperty applicationLogsProperty = ApplicationLogsProperty.builder()
        .linkApplicationLogSampling(LinkApplicationLogSamplingProperty.builder()
                .errorLog(123)
                .filterLog(123)
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RTBFabric;

var applicationLogsProperty = new ApplicationLogsProperty {
    LinkApplicationLogSampling = new LinkApplicationLogSamplingProperty {
        ErrorLog = 123,
        FilterLog = 123
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"

applicationLogsProperty := &ApplicationLogsProperty{
	LinkApplicationLogSampling: &LinkApplicationLogSamplingProperty{
		ErrorLog: jsii.Number(123),
		FilterLog: jsii.Number(123),
	},
}
```

## Properties

- `linkApplicationLogSampling`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnOutboundExternalLink.LinkApplicationLogSamplingProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_rtbfabric.CfnOutboundExternalLink.LinkApplicationLogSamplingProperty.html) (required)
