Interface CfnSamplingRuleMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSamplingRuleMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:06.390Z")
@Stability(Stable)
public interface CfnSamplingRuleMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnSamplingRulePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.xray.*;
CfnSamplingRuleMixinProps cfnSamplingRuleMixinProps = CfnSamplingRuleMixinProps.builder()
.ruleName("ruleName")
.samplingRule(SamplingRuleProperty.builder()
.attributes(Map.of(
"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)
.build())
.samplingRuleRecord(SamplingRuleRecordProperty.builder()
.createdAt("createdAt")
.modifiedAt("modifiedAt")
.samplingRule(SamplingRuleProperty.builder()
.attributes(Map.of(
"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)
.build())
.build())
.samplingRuleUpdate(SamplingRuleUpdateProperty.builder()
.attributes(Map.of(
"attributesKey", "attributes"))
.fixedRate(123)
.host("host")
.httpMethod("httpMethod")
.priority(123)
.reservoirSize(123)
.resourceArn("resourceArn")
.ruleArn("ruleArn")
.ruleName("ruleName")
.serviceName("serviceName")
.serviceType("serviceType")
.urlPath("urlPath")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSamplingRuleMixinPropsstatic final classAn implementation forCfnSamplingRuleMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringDeprecated.this property has been deprecateddefault ObjectThe sampling rule to be created or updated.default ObjectDeprecated.this property has been deprecateddefault ObjectDeprecated.this property has been deprecatedgetTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRuleName
Deprecated.this property has been deprecated(deprecated) The ARN of the sampling rule.Specify a rule by either name or ARN, but not both.
- See Also:
-
getSamplingRule
The sampling rule to be created or updated.Returns union: either
IResolvableorCfnSamplingRulePropsMixin.SamplingRuleProperty- See Also:
-
getSamplingRuleRecord
Deprecated.this property has been deprecatedReturns union: eitherIResolvableorCfnSamplingRulePropsMixin.SamplingRuleRecordProperty- See Also:
-
getSamplingRuleUpdate
Deprecated.this property has been deprecatedReturns union: eitherIResolvableorCfnSamplingRulePropsMixin.SamplingRuleUpdateProperty- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnSamplingRuleMixinProps.BuilderofCfnSamplingRuleMixinProps
-