KeyRegistration constructor

KeyRegistration(
  1. String name, {
  2. KeyRegistrationArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new KeyRegistration. name The Pulumi resource name. args Arguments used to configure this KeyRegistration. The set of arguments for KeyRegistration. options Resource options controlling this resource's behavior.

Implementation

KeyRegistration(
  String name, {
  KeyRegistrationArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:quicksight/keyRegistration:KeyRegistration',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  awsAccountId = registerOutput<String>('awsAccountId');
  keyRegistrations = registerOutput<List<KeyRegistrationKeyRegistration>>('keyRegistrations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<KeyRegistrationKeyRegistration>(guardedValue, (value) => KeyRegistrationKeyRegistration.fromMap((value as Map).cast<String, dynamic>())); });
  region = registerOutput<String>('region');
}