Connection constructor
Connection(
- String name, {
- ConnectionArgs? args,
- CustomResourceOptions? options,
Creates a new Connection.
name The Pulumi resource name.
args Arguments used to configure this Connection. The set of arguments for Connection.
options Resource options controlling this resource's behavior.
Implementation
Connection(
String name, {
ConnectionArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:glue/connection:Connection',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
additionalSecretOutputs: const ['athenaProperties', 'connectionProperties'],
) {
arn = registerOutput<String>('arn');
athenaProperties = registerOutput<Map<String, String>?>('athenaProperties', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
authenticationConfiguration = registerOutput<ConnectionAuthenticationConfiguration?>('authenticationConfiguration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ConnectionAuthenticationConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>()); });
catalogId = registerOutput<String>('catalogId');
connectionProperties = registerOutput<Map<String, String>?>('connectionProperties', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
connectionType = registerOutput<String?>('connectionType');
description = registerOutput<String?>('description');
matchCriterias = registerOutput<List<String>?>('matchCriterias', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
this.name = registerOutput<String>('name');
physicalConnectionRequirements = registerOutput<ConnectionPhysicalConnectionRequirements?>('physicalConnectionRequirements', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ConnectionPhysicalConnectionRequirements.fromMap((guardedValue as Map).cast<String, dynamic>()); });
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>(); });
}