@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:53.611Z") @Stability(value=Stable) public class CfnSamplingRule extends CfnResource implements IInspectable
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnSamplingRule.Builder
A fluent builder for
CfnSamplingRule. |
static interface |
CfnSamplingRule.SamplingRuleProperty |
static interface |
CfnSamplingRule.SamplingRuleRecordProperty |
static interface |
CfnSamplingRule.SamplingRuleUpdateProperty |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnSamplingRule(software.constructs.Construct scope,
String id)
Create a new `AWS::XRay::SamplingRule`.
|
|
CfnSamplingRule(software.constructs.Construct scope,
String id,
CfnSamplingRuleProps props)
Create a new `AWS::XRay::SamplingRule`.
|
protected |
CfnSamplingRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnSamplingRule(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrRuleArn() |
protected Map<String,Object> |
getCfnProperties() |
String |
getRuleName()
`AWS::XRay::SamplingRule.RuleName`.
|
Object |
getSamplingRule()
`AWS::XRay::SamplingRule.SamplingRule`.
|
Object |
getSamplingRuleRecord()
`AWS::XRay::SamplingRule.SamplingRuleRecord`.
|
Object |
getSamplingRuleUpdate()
`AWS::XRay::SamplingRule.SamplingRuleUpdate`.
|
List<Object> |
getTags()
`AWS::XRay::SamplingRule.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setRuleName(String value)
`AWS::XRay::SamplingRule.RuleName`.
|
void |
setSamplingRule(CfnSamplingRule.SamplingRuleProperty value)
`AWS::XRay::SamplingRule.SamplingRule`.
|
void |
setSamplingRule(IResolvable value)
`AWS::XRay::SamplingRule.SamplingRule`.
|
void |
setSamplingRuleRecord(CfnSamplingRule.SamplingRuleRecordProperty value)
`AWS::XRay::SamplingRule.SamplingRuleRecord`.
|
void |
setSamplingRuleRecord(IResolvable value)
`AWS::XRay::SamplingRule.SamplingRuleRecord`.
|
void |
setSamplingRuleUpdate(CfnSamplingRule.SamplingRuleUpdateProperty value)
`AWS::XRay::SamplingRule.SamplingRuleUpdate`.
|
void |
setSamplingRuleUpdate(IResolvable value)
`AWS::XRay::SamplingRule.SamplingRuleUpdate`.
|
void |
setTags(List<Object> value)
`AWS::XRay::SamplingRule.Tags`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnSamplingRule(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnSamplingRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnSamplingRule(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnSamplingRuleProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnSamplingRule(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrRuleArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getRuleName()
@Stability(value=Stable)
public void setRuleName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getSamplingRule()
@Stability(value=Stable)
public void setSamplingRule(@Nullable
CfnSamplingRule.SamplingRuleProperty value)
@Stability(value=Stable)
public void setSamplingRule(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getSamplingRuleRecord()
@Stability(value=Stable)
public void setSamplingRuleRecord(@Nullable
CfnSamplingRule.SamplingRuleRecordProperty value)
@Stability(value=Stable)
public void setSamplingRuleRecord(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getSamplingRuleUpdate()
@Stability(value=Stable)
public void setSamplingRuleUpdate(@Nullable
CfnSamplingRule.SamplingRuleUpdateProperty value)
@Stability(value=Stable)
public void setSamplingRuleUpdate(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public List<Object> getTags()
Copyright © 2021. All rights reserved.