Skip to content
v2.278.0

DependencyConfigProperty Struct ​

Identifies the dependency using the DependencyKeyAttributes and DependencyOperationName .

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
  • Type designates the type of object this is.
  • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource .
  • Name specifies the name of the object. This is used only if the value of the Type field is Service , RemoteService , or AWS::Service .
  • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource .
  • Environment specifies 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.