# SamplingRuleRecordProperty

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_xray as xray } from 'aws-cdk-lib';
const samplingRuleRecordProperty: xray.CfnSamplingRule.SamplingRuleRecordProperty = {
  createdAt: 'createdAt',
  modifiedAt: 'modifiedAt',
  samplingRule: {
    fixedRate: 123,
    host: 'host',
    httpMethod: 'httpMethod',
    priority: 123,
    reservoirSize: 123,
    resourceArn: 'resourceArn',
    serviceName: 'serviceName',
    serviceType: 'serviceType',
    urlPath: 'urlPath',

    // the properties below are optional
    attributes: {
      attributesKey: 'attributes',
    },
    ruleArn: 'ruleArn',
    ruleName: 'ruleName',
    samplingRateBoost: {
      cooldownWindowMinutes: 123,
      maxRate: 123,
    },
    version: 123,
  },
};
```

## Properties

- `createdAt`: string — When the rule was created, in Unix time seconds.

- `modifiedAt`: string — When the rule was modified, in Unix time seconds.

- `samplingRule`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSamplingRule.SamplingRuleProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_xray.CfnSamplingRule.SamplingRuleProperty.html)
