Class CfnSamplingRule.SamplingRuleRecordProperty
Inheritance
System.Object
CfnSamplingRule.SamplingRuleRecordProperty
Implements
Namespace: Amazon.CDK.AWS.XRay
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SamplingRuleRecordProperty : Object, CfnSamplingRule.ISamplingRuleRecordProperty
Syntax (vb)
Public Class SamplingRuleRecordProperty
Inherits Object
Implements CfnSamplingRule.ISamplingRuleRecordProperty
Remarks
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.AWS.XRay;
var samplingRuleRecordProperty = new SamplingRuleRecordProperty {
CreatedAt = "createdAt",
ModifiedAt = "modifiedAt",
SamplingRule = new SamplingRuleProperty {
FixedRate = 123,
Host = "host",
HttpMethod = "httpMethod",
Priority = 123,
ReservoirSize = 123,
ResourceArn = "resourceArn",
ServiceName = "serviceName",
ServiceType = "serviceType",
UrlPath = "urlPath",
// the properties below are optional
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
},
RuleArn = "ruleArn",
RuleName = "ruleName",
Version = 123
}
};
Synopsis
Constructors
SamplingRuleRecordProperty() |
Properties
CreatedAt | When the rule was created, in Unix time seconds. |
ModifiedAt | When the rule was modified, in Unix time seconds. |
SamplingRule |
Constructors
SamplingRuleRecordProperty()
public SamplingRuleRecordProperty()
Properties
CreatedAt
When the rule was created, in Unix time seconds.
public string CreatedAt { get; set; }
Property Value
System.String
Remarks
ModifiedAt
When the rule was modified, in Unix time seconds.
public string ModifiedAt { get; set; }
Property Value
System.String
Remarks
SamplingRule
public object SamplingRule { get; set; }
Property Value
System.Object