SharedDirectory constructor

SharedDirectory(
  1. String name, {
  2. SharedDirectoryArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

SharedDirectory(
  String name, {
  SharedDirectoryArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:directoryservice/sharedDirectory:SharedDirectory',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
        additionalSecretOutputs: const ['notes'],
      ) {
  directoryId = registerOutput<String>('directoryId');
  method = registerOutput<String?>('method');
  notes = registerOutput<String?>('notes', isSecret: true);
  region = registerOutput<String>('region');
  sharedDirectoryId = registerOutput<String>('sharedDirectoryId');
  target = registerOutput<SharedDirectoryTarget>('target', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return SharedDirectoryTarget.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}