HmacKey constructor
HmacKey(
- String name, {
- HmacKeyArgs? args,
- CustomResourceOptions? options,
Creates a new HmacKey.
name The Pulumi resource name.
args Arguments used to configure this HmacKey. The set of arguments for HmacKey.
options Resource options controlling this resource's behavior.
Implementation
HmacKey(
String name, {
HmacKeyArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'gcp:storage/hmacKey:HmacKey',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
additionalSecretOutputs: const ['secret'],
) {
accessId = registerOutput<String>('accessId');
deletionPolicy = registerOutput<String>('deletionPolicy');
project = registerOutput<String>('project');
secret = registerOutput<String>('secret', isSecret: true);
serviceAccountEmail = registerOutput<String>('serviceAccountEmail');
state = registerOutput<String?>('state');
timeCreated = registerOutput<String>('timeCreated');
updated = registerOutput<String>('updated');
}