GrantRole constructor
GrantRole(
- String name, {
- GrantRoleArgs? args,
- CustomResourceOptions? options,
Creates a new GrantRole.
name The Pulumi resource name.
args Arguments used to configure this GrantRole. The set of arguments for GrantRole.
options Resource options controlling this resource's behavior.
Implementation
GrantRole(
String name, {
GrantRoleArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'postgresql:index/grantRole:GrantRole',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
grantRole = registerOutput<String>('grantRole');
role = registerOutput<String>('role');
withAdminOption = registerOutput<bool?>('withAdminOption');
}