ProfilingGroup constructor

ProfilingGroup(
  1. String name, {
  2. ProfilingGroupArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

ProfilingGroup(
  String name, {
  ProfilingGroupArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:codeguruprofiler/profilingGroup:ProfilingGroup',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  agentOrchestrationConfig = registerOutput<ProfilingGroupAgentOrchestrationConfig>('agentOrchestrationConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ProfilingGroupAgentOrchestrationConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  arn = registerOutput<String>('arn');
  computePlatform = registerOutput<String>('computePlatform');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
}