DestinationConfig Struct
A destination configuration.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const destinationConfig: lambda.DestinationConfig = {
destination: 'destination',
};
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_lambda as lambda_
destination_config = lambda.DestinationConfig(
destination="destination"
)
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.lambda.*;
DestinationConfig destinationConfig = DestinationConfig.builder()
.destination("destination")
.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.Lambda;
var destinationConfig = new DestinationConfig {
Destination = "destination"
};
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"
destinationConfig := &DestinationConfig{
Destination: jsii.String("destination"),
}
Properties
The Amazon Resource Name (ARN) of the destination resource.