CryptoKeyIAMBinding constructor
CryptoKeyIAMBinding(
- String name, {
- CryptoKeyIAMBindingArgs? args,
- CustomResourceOptions? options,
Creates a new CryptoKeyIAMBinding.
name The Pulumi resource name.
args Arguments used to configure this CryptoKeyIAMBinding. The set of arguments for CryptoKeyIAMBinding.
options Resource options controlling this resource's behavior.
Implementation
CryptoKeyIAMBinding(
String name, {
CryptoKeyIAMBindingArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'gcp:kms/cryptoKeyIAMBinding:CryptoKeyIAMBinding',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
) {
condition = registerOutput<CryptoKeyIAMBindingCondition?>('condition', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return CryptoKeyIAMBindingCondition.fromMap((guardedValue as Map).cast<String, dynamic>()); });
cryptoKeyId = registerOutput<String>('cryptoKeyId');
etag = registerOutput<String>('etag');
members = registerOutput<List<String>>('members', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
role = registerOutput<String>('role');
}