LocationObjectStorage constructor

LocationObjectStorage(
  1. String name, {
  2. LocationObjectStorageArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

LocationObjectStorage(
  String name, {
  LocationObjectStorageArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:datasync/locationObjectStorage:LocationObjectStorage',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
        additionalSecretOutputs: const ['secretKey'],
      ) {
  accessKey = registerOutput<String?>('accessKey');
  agentArns = registerOutput<List<String>?>('agentArns', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  arn = registerOutput<String>('arn');
  bucketName = registerOutput<String>('bucketName');
  region = registerOutput<String>('region');
  secretKey = registerOutput<String?>('secretKey', isSecret: true);
  serverCertificate = registerOutput<String?>('serverCertificate');
  serverHostname = registerOutput<String>('serverHostname');
  serverPort = registerOutput<int?>('serverPort');
  serverProtocol = registerOutput<String?>('serverProtocol');
  subdirectory = registerOutput<String>('subdirectory');
  tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  uri = registerOutput<String>('uri');
}