TraceSegmentDestination constructor

TraceSegmentDestination(
  1. String name, {
  2. TraceSegmentDestinationArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new TraceSegmentDestination. name The Pulumi resource name. args Arguments used to configure this TraceSegmentDestination. The set of arguments for TraceSegmentDestination. options Resource options controlling this resource's behavior.

Implementation

TraceSegmentDestination(
  String name, {
  TraceSegmentDestinationArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:xray/traceSegmentDestination:TraceSegmentDestination',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  destination = registerOutput<String>('destination');
  region = registerOutput<String>('region');
  timeouts = registerOutput<TraceSegmentDestinationTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return TraceSegmentDestinationTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}