DependencyConfigProperty Struct
Identifies the dependency using the DependencyKeyAttributes and DependencyOperationName .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationsignals as applicationsignals } from 'aws-cdk-lib';
const dependencyConfigProperty: applicationsignals.CfnServiceLevelObjective.DependencyConfigProperty = {
dependencyKeyAttributes: {
dependencyKeyAttributesKey: 'dependencyKeyAttributes',
},
dependencyOperationName: 'dependencyOperationName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_applicationsignals as applicationsignals
dependency_config_property = applicationsignals.CfnServiceLevelObjective.DependencyConfigProperty(
dependency_key_attributes={
"dependency_key_attributes_key": "dependencyKeyAttributes"
},
dependency_operation_name="dependencyOperationName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationsignals.*;
DependencyConfigProperty dependencyConfigProperty = DependencyConfigProperty.builder()
.dependencyKeyAttributes(Map.of(
"dependencyKeyAttributesKey", "dependencyKeyAttributes"))
.dependencyOperationName("dependencyOperationName")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationSignals;
var dependencyConfigProperty = new DependencyConfigProperty {
DependencyKeyAttributes = new Dictionary<string, string> {
{ "dependencyKeyAttributesKey", "dependencyKeyAttributes" }
},
DependencyOperationName = "dependencyOperationName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
dependencyConfigProperty := &DependencyConfigProperty{
DependencyKeyAttributes: map[string]*string{
"dependencyKeyAttributesKey": jsii.String("dependencyKeyAttributes"),
},
DependencyOperationName: jsii.String("dependencyOperationName"),
}
Properties
dependencyKeyAttributesIResolvable | { [key: string]: string }dependency_key_attributestyping.Union[IResolvable, typing.Mapping[str, str]]dependencyKeyAttributesIResolvableDependencyKeyAttributesIResolvableDependencyKeyAttributesinterface{} required #If this SLO is related to a metric collected by Application Signals, you must use this field to specify which dependency the SLO metric is related to.
notes
Typedesignates the type of object this is.ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource.Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service.Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource.Environmentspecifies the location where this object is hosted, or what it belongs to.
dependencyOperationNamestringdependency_operation_namestrdependencyOperationNameStringDependencyOperationNamestringDependencyOperationName*string required #When the SLO monitors a specific operation of the dependency, this field specifies the name of that operation in the dependency.