Skip to content
v2.278.0

DestinationProperty Struct ​

Contains information about the destination receiving events.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudtrail as cloudtrail } from 'aws-cdk-lib';
const destinationProperty: cloudtrail.CfnChannel.DestinationProperty = {
  location: 'location',
  type: 'type',
};
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_cloudtrail as cloudtrail

destination_property = cloudtrail.CfnChannel.DestinationProperty(
    location="location",
    type="type"
)
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.cloudtrail.*;

DestinationProperty destinationProperty = DestinationProperty.builder()
        .location("location")
        .type("type")
        .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.CloudTrail;

var destinationProperty = new DestinationProperty {
    Location = "location",
    Type = "type"
};
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"

destinationProperty := &DestinationProperty{
	Location: jsii.String("location"),
	Type: jsii.String("type"),
}

Properties ​

locationstringlocationstrlocationStringLocationstringLocation*string required #
For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives events from a channel.

For service-linked channels, the location is the name of the AWS service.

typestringtypestrtypeStringTypestringType*string required #
The type of destination for events arriving from a channel.

For channels used for a CloudTrail Lake integration, the value is EVENT_DATA_STORE . For service-linked channels, the value is AWS_SERVICE .