UserDefinedFunction constructor

UserDefinedFunction(
  1. String name, {
  2. UserDefinedFunctionArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

UserDefinedFunction(
  String name, {
  UserDefinedFunctionArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:glue/userDefinedFunction:UserDefinedFunction',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  catalogId = registerOutput<String?>('catalogId');
  className = registerOutput<String>('className');
  createTime = registerOutput<String>('createTime');
  databaseName = registerOutput<String>('databaseName');
  this.name = registerOutput<String>('name');
  ownerName = registerOutput<String>('ownerName');
  ownerType = registerOutput<String>('ownerType');
  region = registerOutput<String>('region');
  resourceUris = registerOutput<List<UserDefinedFunctionResourceUri>?>('resourceUris', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<UserDefinedFunctionResourceUri>(guardedValue, (value) => UserDefinedFunctionResourceUri.fromMap((value as Map).cast<String, dynamic>())); });
}