interface CfnSamplingRuleMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.XRay.Mixins.CfnSamplingRuleMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsxray/mixins#CfnSamplingRuleMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.xray.mixins.CfnSamplingRuleMixinProps |
Python | aws_cdk.mixins_preview.aws_xray.mixins.CfnSamplingRuleMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_xray » mixins » CfnSamplingRuleMixinProps |
Properties for CfnSamplingRulePropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as xray_mixins } from '@aws-cdk/mixins-preview/aws-xray';
const cfnSamplingRuleMixinProps: xray_mixins.CfnSamplingRuleMixinProps = {
ruleName: 'ruleName',
samplingRule: {
attributes: {
attributesKey: 'attributes',
},
fixedRate: 123,
host: 'host',
httpMethod: 'httpMethod',
priority: 123,
reservoirSize: 123,
resourceArn: 'resourceArn',
ruleArn: 'ruleArn',
ruleName: 'ruleName',
serviceName: 'serviceName',
serviceType: 'serviceType',
urlPath: 'urlPath',
version: 123,
},
samplingRuleRecord: {
createdAt: 'createdAt',
modifiedAt: 'modifiedAt',
samplingRule: {
attributes: {
attributesKey: 'attributes',
},
fixedRate: 123,
host: 'host',
httpMethod: 'httpMethod',
priority: 123,
reservoirSize: 123,
resourceArn: 'resourceArn',
ruleArn: 'ruleArn',
ruleName: 'ruleName',
serviceName: 'serviceName',
serviceType: 'serviceType',
urlPath: 'urlPath',
version: 123,
},
},
samplingRuleUpdate: {
attributes: {
attributesKey: 'attributes',
},
fixedRate: 123,
host: 'host',
httpMethod: 'httpMethod',
priority: 123,
reservoirSize: 123,
resourceArn: 'resourceArn',
ruleArn: 'ruleArn',
ruleName: 'ruleName',
serviceName: 'serviceName',
serviceType: 'serviceType',
urlPath: 'urlPath',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| rule | string | The ARN of the sampling rule. |
| sampling | IResolvable | Sampling | The sampling rule to be created or updated. |
| sampling | IResolvable | Sampling | |
| sampling | IResolvable | Sampling | |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
ruleName?
⚠️ Deprecated: this property has been deprecated
Type:
string
(optional)
The ARN of the sampling rule.
Specify a rule by either name or ARN, but not both.
samplingRule?
Type:
IResolvable | Sampling
(optional)
The sampling rule to be created or updated.
samplingRuleRecord?
⚠️ Deprecated: this property has been deprecated
Type:
IResolvable | Sampling
(optional)
samplingRuleUpdate?
⚠️ Deprecated: this property has been deprecated
Type:
IResolvable | Sampling
(optional)
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.

.NET
Go
Java
Python
TypeScript