Grant constructor
Creates a new Grant.
name The Pulumi resource name.
args Arguments used to configure this Grant. The set of arguments for Grant.
options Resource options controlling this resource's behavior.
Implementation
Grant(
String name, {
GrantArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'postgresql:index/grant:Grant',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
columns = registerOutput<List<String>?>('columns');
database = registerOutput<String>('database');
objectType = registerOutput<String>('objectType');
objects = registerOutput<List<String>?>('objects');
privileges = registerOutput<List<String>>('privileges');
role = registerOutput<String>('role');
schema = registerOutput<String?>('schema');
withGrantOption = registerOutput<bool?>('withGrantOption');
}