CustomRoutingEndpointGroup constructor

CustomRoutingEndpointGroup(
  1. String name, {
  2. CustomRoutingEndpointGroupArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

CustomRoutingEndpointGroup(
  String name, {
  CustomRoutingEndpointGroupArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:globalaccelerator/customRoutingEndpointGroup:CustomRoutingEndpointGroup',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  destinationConfigurations = registerOutput<List<CustomRoutingEndpointGroupDestinationConfiguration>>('destinationConfigurations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<CustomRoutingEndpointGroupDestinationConfiguration>(guardedValue, (value) => CustomRoutingEndpointGroupDestinationConfiguration.fromMap((value as Map).cast<String, dynamic>())); });
  endpointConfigurations = registerOutput<List<CustomRoutingEndpointGroupEndpointConfiguration>?>('endpointConfigurations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<CustomRoutingEndpointGroupEndpointConfiguration>(guardedValue, (value) => CustomRoutingEndpointGroupEndpointConfiguration.fromMap((value as Map).cast<String, dynamic>())); });
  endpointGroupRegion = registerOutput<String>('endpointGroupRegion');
  listenerArn = registerOutput<String>('listenerArn');
}